MCPcopy Index your code
hub / github.com/OpenMotionLab/MotionGPT / parsename

Function parsename

mGPT/render/visualize.py:17–23  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

15
16
17def parsename(path):
18 basebane = os.path.basename(path)
19 base = os.path.splitext(basebane)[0]
20 strs = base.split('_')
21 key = strs[-2]
22 action = strs[-1]
23 return key, action
24
25
26def load_anim(path, timesize=None):

Callers 1

plot_3d_motionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected