Open ekosman opened 5 years ago
Ok, ended up implementing my own RandomResizedCropVideo transform and now it works, I'll try looking for the problem tommorrow
Note that RandomResizedCropVideo
is not yet officially supported, and there will be BC-breaking changes with it before the next release.
Ok, thanks for the reply. BTW, I think more transformation should be added (e.g. RandomRotation, Affine etc...). Another cool idea for video transformation would be slow-motion (or speed up). However, I think it would be too complicated with the current input
@ekosman more spatial transformations (like rotation, affine etc) will be added. Temporal transforms (slow-motion e.g.,) have not yet been considered, but it might deserve a separate issue for discussion.
I started using the new video transformations by downloading the video transformations source code (seems like it doesn't appear when trying to upgrade via pip).
The transformation I'm trying to use is:
This composition raises an error while trying to transform a video clip (It doesn't happen if I remove transforms_video.RandomResizedCropVideo(224)):