bill-jiang commited on
Commit
44c4801
1 Parent(s): 4d2b5fc

Fix render

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def render_motion(data, feats, method='fast'):
105
  np.save(output_joints_path, data)
106
 
107
  render_cmd = ["xvfb-run", "--server-args='-screen 0 1024x768x24'", "python", "-m", "render", "--joints_path", output_joints_path, "--method", method, "--output_mp4_path", output_mp4_path, "--smpl_model_path", cfg.RENDER.SMPL_MODEL_PATH]
108
- os.system(render_cmd)
109
  # subprocess.run(cmd3)
110
 
111
  return output_mp4_path, video_fname, output_npy_path, feats_fname
 
105
  np.save(output_joints_path, data)
106
 
107
  render_cmd = ["xvfb-run", "--server-args='-screen 0 1024x768x24'", "python", "-m", "render", "--joints_path", output_joints_path, "--method", method, "--output_mp4_path", output_mp4_path, "--smpl_model_path", cfg.RENDER.SMPL_MODEL_PATH]
108
+ os.system(" ".join(render_cmd))
109
  # subprocess.run(cmd3)
110
 
111
  return output_mp4_path, video_fname, output_npy_path, feats_fname