Open RodGal-2020 opened 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 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.
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.