Spaces:
Sleeping
Sleeping
bill-jiang
commited on
Commit
•
9be6a34
1
Parent(s):
b4015ca
Update clear
Browse files
render.py
CHANGED
@@ -66,7 +66,6 @@ if __name__ == '__main__':
|
|
66 |
imageio.mimwrite(output_gif_path, out, duration=50)
|
67 |
out_video = mp.VideoFileClip(output_gif_path)
|
68 |
out_video.write_videofile(output_mp4_path)
|
69 |
-
del out, render
|
70 |
|
71 |
elif method == 'fast':
|
72 |
output_gif_path = output_mp4_path[:-4] + '.gif'
|
@@ -77,4 +76,3 @@ if __name__ == '__main__':
|
|
77 |
pose_vis = plot_3d.draw_to_batch(data, [''], [output_gif_path])
|
78 |
out_video = mp.VideoFileClip(output_gif_path)
|
79 |
out_video.write_videofile(output_mp4_path)
|
80 |
-
del pose_vis
|
|
|
66 |
imageio.mimwrite(output_gif_path, out, duration=50)
|
67 |
out_video = mp.VideoFileClip(output_gif_path)
|
68 |
out_video.write_videofile(output_mp4_path)
|
|
|
69 |
|
70 |
elif method == 'fast':
|
71 |
output_gif_path = output_mp4_path[:-4] + '.gif'
|
|
|
76 |
pose_vis = plot_3d.draw_to_batch(data, [''], [output_gif_path])
|
77 |
out_video = mp.VideoFileClip(output_gif_path)
|
78 |
out_video.write_videofile(output_mp4_path)
|
|