Upload motion_utils.py with huggingface_hub
Browse files- 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,
|
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()
|