add transforms to datamodule parameters
This commit is contained in:
1 parent
ea525da14a
commit
b6dc1f0af6
13 files changed
+62
-47
No files matched your search
@@ -2,9 +2,7 @@ from torchvision import transforms
|
||||
|
||||
|
||||
img_augmentation_transformations = [
|
||||
transforms.RandomAffine((-4, 4), translate=(0.2, 0.2)),
|
||||
transforms.RandomHorizontalFlip(p=0.65),
|
||||
transforms.RandomRotation((-20, 20)),
|
||||
transforms.RandomRotation((-10, 10)),
|
||||
]
|
||||
|
||||
train_preprocess = transforms.Compose([
|
||||
|
||||
Reference in new issue
Block a user