-
Notifications
You must be signed in to change notification settings - Fork 285
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removing Open CV dependencies #1679
Conversation
Partly fixes - #1477 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! I believe the videos are not correctly saved, left some comments :)
for frame in frames: | ||
out.write(frame) | ||
out.release() | ||
out = torchvision.io.write_video(path, self.frames_over_videos, frames) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out = torchvision.io.write_video(path, self.frames_over_videos, frames) | |
out = torchvision.io.write_video(filename=path, video_array=frames, fps=1) |
self.frames_over_videos
is a list of videos and we want to save every video individually.
for frame in self.frames: | ||
out.write(frame) | ||
out.release() | ||
out = torchvision.io.write_video(path, self.frames, n_frames_per_video) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
out = torchvision.io.write_video(path, self.frames, n_frames_per_video) | |
out = torchvision.io.write_video(filename=path, video_array=self.frames, fps=1) |
@guarin, is there a way I can help with completing this PR? |
Hi, yes that would be very helpful. You can merge the changes from this branch into your fork and make a new PR if that is ok? |
@guarin, sure. Are you online during weekends? |
I'm usually only available during weekdays |
This has been fixed in #1743 |
No description provided.