()
| 14 | |
| 15 | |
| 16 | def 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 | |
| 25 | def json2pose(json_dict): |
| 26 | pose_h36m = np.zeros([17,3]) |