hassony2 / torch_videovision

Transforms for video datasets in pytorch
GNU General Public License v3.0
269 stars 44 forks source link

Small error in "How to use" #17

Open RodGal-2020 opened 2 years ago

RodGal-2020 commented 2 years ago

Right now the following code

from torchvideotransforms import video_transforms, volume_transforms video_transform_list = [video_transforms.RandomRotation(30), video_transforms.RandomCrop((200, 200)) volume_transforms.ClipToTensor()] transforms = video_transforms.Compose(video_transform_list)

from the "How to use" section returns an error, due to the lack of a comma in the second line of "video_transform_list", the one about RandomCrop.

It is a small mistake, but I believe that it would be better to tell it.