Spaces:
Build error
Build error
bill-jiang
commited on
Commit
•
a361a0e
1
Parent(s):
26344c4
Fix render
Browse files
app.py
CHANGED
@@ -101,7 +101,7 @@ def render_motion(data, feats, method='fast'):
|
|
101 |
np.save(output_npy_path, feats)
|
102 |
np.save(output_joints_path, data)
|
103 |
|
104 |
-
render_cmd = ["
|
105 |
os.system(" ".join(render_cmd))
|
106 |
# subprocess.run(cmd3)
|
107 |
|
|
|
101 |
np.save(output_npy_path, feats)
|
102 |
np.save(output_joints_path, data)
|
103 |
|
104 |
+
render_cmd = ["python", "-m", "render", "--joints_path", output_joints_path, "--method", method, "--output_mp4_path", output_mp4_path, "--smpl_model_path", cfg.RENDER.SMPL_MODEL_PATH]
|
105 |
os.system(" ".join(render_cmd))
|
106 |
# subprocess.run(cmd3)
|
107 |
|