mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-03 11:40:46 +02:00
Enleve dependance RandAugment
This commit is contained in:
parent
cd6e159b77
commit
250ce2c3cf
1 changed files with 2 additions and 2 deletions
|
@ -30,13 +30,13 @@ transform = torchvision.transforms.Compose([
|
|||
# torchvision.transforms.Normalize((0.4914, 0.4822, 0.4465), (0.2023, 0.1994, 0.2010)), #CIFAR10
|
||||
])
|
||||
|
||||
from RandAugment import RandAugment
|
||||
# Add RandAugment with N, M(hyperparameter)
|
||||
transform_train = torchvision.transforms.Compose([
|
||||
#transforms.RandomHorizontalFlip(),
|
||||
#transforms.RandomVerticalFlip(),
|
||||
torchvision.transforms.ToTensor(),
|
||||
])
|
||||
#from RandAugment import RandAugment
|
||||
# Add RandAugment with N, M(hyperparameter)
|
||||
#transform_train.transforms.insert(0, RandAugment(n=2, m=30))
|
||||
|
||||
### Classic Dataset ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue