tensorboardX icon indicating copy to clipboard operation
tensorboardX copied to clipboard

TypeError: write_gif() got an unexpected keyword argument 'verbose'

Open LaughBuddha opened this issue 3 years ago • 1 comments

Getting the error message TypeError: write_gif() got an unexpected keyword argument 'verbose' on using add_video

from tensorboardX import SummaryWriter
...
self.summary_writer = SummaryWriter(self.options.summary_dir)

color_gt_crops_spatial = viz_utils.colorize_grid(batch['gt_grid_crops_spatial'], color_mapping=3)
self.summary_writer.add_video(prefix+"gifs/gt_crops_spatial", color_gt_crops_spatial, self.step_count, fps=0.25)

Environment What is the result of pip list|grep -E "torch|proto|tensor" Below are the versions image

image

Python environment Python 3.6 Virtual Environment

Additional context image (2)

LaughBuddha avatar Mar 21 '21 04:03 LaughBuddha

https://github.com/Zulko/moviepy/blob/5a63b642ae8fceab385eb0fdbe19ee7b9e7c0aa7/CHANGELOG.md

Seems that the version you installed has different signature. Can you try if moviepy v1.0.3 work for you?

lanpa avatar Mar 31 '21 12:03 lanpa