torch_videovision icon indicating copy to clipboard operation
torch_videovision copied to clipboard

Bug in RandomResizedCrop

Open Ghelman-A opened this issue 2 years ago • 0 comments

Hi @hassony2

The last line in the RandomResizedCrop should be changed from

https://github.com/hassony2/torch_videovision/blob/785a810d1df2ccab6901fb98b38e358433e7b17a/torchvideotransforms/video_transforms.py#L312

to return F.resize_clip(imgs,self.size,self.interpolation) for the cropping to be applied as well.

Ghelman-A avatar Jun 20 '22 22:06 Ghelman-A