Skip to content

Commit b55ea92

Browse files
committed
typo
1 parent 54e6f08 commit b55ea92

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Sports2D/Sports2D.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
'kinematics':{'do_ik': False,
244244
'use_augmentation': False,
245245
'feet_on_floor': False,
246-
'use_simple_model ': True,
246+
'use_simple_model': False,
247247
'participant_mass': [55.0, 67.0],
248248
'right_left_symmetry': True,
249249
'default_height': 1.70,
@@ -297,7 +297,7 @@
297297
'do_ik': ["", "do inverse kinematics. false if not specified"],
298298
'use_augmentation': ["", "Use LSTM marker augmentation. false if not specified"],
299299
'feet_on_floor': ["", "offset marker augmentation results so that feet are at floor level. true if not specified"],
300-
'use_simple_model ': ["", ">10 times faster IK if true. No muscles, no constraints (eg stiff spine and shoulders, no patella). false if not specified"],
300+
'use_simple_model': ["", ">10 times faster IK if true. No muscles, no constraints (eg stiff spine and shoulders, no patella). false if not specified"],
301301
'participant_mass': ["", "mass of the participant in kg or none. Defaults to 70 if not provided. No influence on kinematics (motion), only on kinetics (forces)"],
302302
'close_to_zero_speed_m': ["","Sum for all keypoints: about 50 px/frame or 0.2 m/frame"],
303303
'tracking_mode': ["", "'sports2d' or 'deepsort'. 'deepsort' is slower, harder to parametrize but can be more robust if correctly tuned"],

Sports2D/Utilities/tests.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ def test_workflow():
9797
config_dict.get("base").update({"video_dir": str(video_dir)})
9898
config_dict.get("base").update({"person_ordering_method": "highest_likelihood"})
9999
with open(config_path, 'w') as f: toml.dump(config_dict, f)
100-
demo_cmd4 = ["sports2d", "--config", str(config_path), "--show_realtime_results", "False", "--show_graphs", "False"]
101-
subprocess.run(demo_cmd4, check=True, capture_output=True, text=True, encoding='utf-8')
100+
demo_cmd5 = ["sports2d", "--config", str(config_path), "--show_realtime_results", "False", "--show_graphs", "False"]
101+
subprocess.run(demo_cmd5, check=True, capture_output=True, text=True, encoding='utf-8')
102102

103103

104104
if __name__ == "__main__":

0 commit comments

Comments
 (0)