mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 04:00:46 +02:00
Ajout meta-learning differee
This commit is contained in:
parent
f2cf244801
commit
53f6600ff6
4 changed files with 70 additions and 64 deletions
|
@ -6,10 +6,10 @@ from LeNet import *
|
|||
from dataug import *
|
||||
#from utils import *
|
||||
from train_utils import *
|
||||
#from transformations import TF_loader
|
||||
from transformations import TF_loader
|
||||
|
||||
postfix=''
|
||||
TF_loader=TF.TF_loader()
|
||||
TF_loader=TF_loader()
|
||||
|
||||
device = torch.device('cuda') #Select device to use
|
||||
|
||||
|
@ -40,6 +40,7 @@ if __name__ == "__main__":
|
|||
'Meta':{
|
||||
'optim':'Adam',
|
||||
'lr':1e-2, #1e-2
|
||||
'epoch_start': 2, #0 / 2 (Resnet?)
|
||||
},
|
||||
'Inner':{
|
||||
'optim': 'SGD',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue