def get_model_dir(args):
    from kungfu.python import uid
    x = uid()
    port = ((x >> 16) & 65535)
    version = (x & 65535)
    suffix = ('%d.%d' % (port, version))
    return os.path.join(args.model_dir, suffix)
def get_model_dir(args):
    from kungfu.python import uid
    x = uid()
    port = ((x >> 16) & 65535)
    version = (x & 65535)
    suffix = ('%d.%d' % (port, version))
    return os.path.join(args.model_dir, suffix)