Closed adityagupta-9900 closed 3 years ago
If you installed the torchvision correctly, the returned value for "transform" is a set of callable transformation function. Therefore, we can directly call "transform(image)"
@adityagupta-9900 Hello! I have met the same problem, too. How do you solve it, please?
@bingshuai2019 Thanks. Got solved. @lihanlin99 make sure torchvision is 0.8.2 and torch is 1.7.1
In siam-mot/blob/main/siammot/data/adapters/augmentation/video_augmentation.py, line 99 the value getting assigned to "transform" seems to be a tuple but in line 105 "tranform(image)", transform is getting called like a function. Is there any error in our setting of data set or some error in code ?