mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 12:10:45 +02:00
Brutus bis
This commit is contained in:
parent
b67ec3c469
commit
2fe5070b09
5 changed files with 49 additions and 35 deletions
|
@ -6,6 +6,10 @@ BATCH_SIZE = 300
|
|||
TEST_SIZE = 300
|
||||
#TEST_SIZE = 10000 #legerement +Rapide / + Consomation memoire !
|
||||
|
||||
download_data=False
|
||||
num_workers=4 #4
|
||||
pin_memory=False #True :+ GPU memory / + Lent
|
||||
|
||||
#ATTENTION : Dataug (Kornia) Expect image in the range of [0, 1]
|
||||
#transform_train = torchvision.transforms.Compose([
|
||||
# torchvision.transforms.RandomHorizontalFlip(),
|
||||
|
@ -34,10 +38,6 @@ from PIL import Image
|
|||
import augmentation_transforms
|
||||
import numpy as np
|
||||
|
||||
download_data=False
|
||||
num_workers=4 #16
|
||||
pin_memory=False
|
||||
|
||||
class AugmentedDataset(VisionDataset):
|
||||
def __init__(self, root, train=True, transform=None, target_transform=None, download=False, subset=None):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue