Wendy-Fly commited on
Commit
18df527
·
verified ·
1 Parent(s): c68c089

Upload motion_utils.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. motion_utils.py +1 -3
motion_utils.py CHANGED
@@ -166,8 +166,6 @@ def plot_3d_motion(save_path, kinematic_tree, joints, title, figsize=(10, 10), f
166
  ax.set_zticklabels([])
167
 
168
  ani = FuncAnimation(fig, update, frames=frame_number, interval=1000/fps, repeat=False)
169
- # modify
170
- #FFwriter=animation.FFMpegWriter(fps=fps, extra_args=['-vcodec', 'libx264'])
171
 
172
- ani.save(save_path, writer=FFwriter,fps=fps)
173
  plt.close()
 
166
  ax.set_zticklabels([])
167
 
168
  ani = FuncAnimation(fig, update, frames=frame_number, interval=1000/fps, repeat=False)
 
 
169
 
170
+ ani.save(save_path, fps=fps)
171
  plt.close()