MCPcopy Create free account
hub / github.com/Walter0807/MotionBERT / parse_args

Function parse_args

tools/convert_insta.py:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14
15
16def parse_args():
17 parser = argparse.ArgumentParser()
18 parser.add_argument('--name_action', type=str)
19 args = parser.parse_args()
20 print("\nParameters:")
21 for attr, value in sorted(args.__dict__.items()):
22 print("\t{}={}".format(attr.upper(), value))
23 return args
24
25def json2pose(json_dict):
26 pose_h36m = np.zeros([17,3])

Callers 1

convert_insta.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected