Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AliMedVisionTech opened this issue Mar 31, 2023 · 0 comments

Comments

@AliMedVisionTech
Copy link

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant