You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thanks for your outstanding work and would you give me any suggestions how to resize the image size during the training phase such (224, 244). Besides, your iaa augmentation technique technique don't work for me to resize the image. Further, i tried different augmentation techniques to resize the image size but unfortunately received the errors from dataloaders.
#4
Below Replace with the IAA augmented method
transform = torchvision.transforms.Compose([
transforms.Resize((224, 224)),
transforms.ColorJitter(hue=.05, saturation=.05),
transforms.RandomHorizontalFlip(),
transforms.RandomRotation(20, resample=PIL.Image.BILINEAR),
transforms.ToTensor()
])
x, y = self.transforms(images=self.x[None, index], segmentation_maps=self.y[None, index])
TypeError: call() got an unexpected keyword argument 'images'
The text was updated successfully, but these errors were encountered: