MCPcopy Create free account
hub / github.com/MotrixLab/ViMoGen / load_single_motion

Function load_single_motion

scripts/prepare_training_data.py:30–36  ·  view source on GitHub ↗
(entry)

Source from the content-addressed store, hash-verified

28 failed_count = 0
29
30 def load_single_motion(entry):
31 motion_path = entry['motion_path']
32 try:
33 motion = load_motion_tensor(motion_path)
34 return motion
35 except Exception as e:
36 return None
37
38 # Use thread pool for parallel loading
39 with ThreadPoolExecutor(max_workers=num_workers) as executor:

Callers

nothing calls this directly

Calls 1

load_motion_tensorFunction · 0.70

Tested by

no test coverage detected