Spaces:
Runtime error
Runtime error
Jingkang Yang
commited on
Commit
·
1833fac
1
Parent(s):
cc5b4a1
update: predictor
Browse files
open_vocab_seg/utils/predictor.py
CHANGED
@@ -416,7 +416,7 @@ class VisualizationDemo(object):
|
|
416 |
frames.append(frame)
|
417 |
|
418 |
video_out_file = '{}.gif'.format(name)
|
419 |
-
imageio.mimwrite(os.path.join('outputs', video_out_file), frames,
|
420 |
|
421 |
# video_out_file = '{}.mp4'.format(name)
|
422 |
# imageio.mimwrite(os.path.join('outputs', video_out_file), frames, fps=25, quality=8)
|
|
|
416 |
frames.append(frame)
|
417 |
|
418 |
video_out_file = '{}.gif'.format(name)
|
419 |
+
imageio.mimwrite(os.path.join('outputs', video_out_file), frames, duration=20)
|
420 |
|
421 |
# video_out_file = '{}.mp4'.format(name)
|
422 |
# imageio.mimwrite(os.path.join('outputs', video_out_file), frames, fps=25, quality=8)
|