Debut implementation Dataugv5

This commit is contained in:
Harle, Antoine (Contracteur) 2019-11-14 21:42:00 -05:00
parent 103277fadd
commit 05f81787d6
3 changed files with 31 additions and 58 deletions

View file

@ -68,7 +68,7 @@ if __name__ == "__main__":
t0 = time.process_time()
tf_dict = {k: TF.TF_dict[k] for k in tf_names}
#tf_dict = TF.TF_dict
aug_model = Augmented_model(Data_augV4(TF_dict=tf_dict, N_TF=2, mix_dist=0.5), LeNet(3,10)).to(device)
aug_model = Augmented_model(Data_augV5(TF_dict=tf_dict, N_TF=2, mix_dist=0.5), LeNet(3,10)).to(device)
#aug_model = Augmented_model(Data_augV4(TF_dict=tf_dict, N_TF=2, mix_dist=0.0), WideResNet(num_classes=10, wrn_size=160)).to(device)
print(str(aug_model), 'on', device_name)
#run_simple_dataug(inner_it=n_inner_iter, epochs=epochs)
@ -88,7 +88,7 @@ if __name__ == "__main__":
print('-'*9)
#'''
#### TF number tests ####
#'''
'''
res_folder="res/TF_nb_tests/"
epochs= 100
inner_its = [0, 1, 10]
@ -128,4 +128,4 @@ if __name__ == "__main__":
print('Log :\"',f.name, '\" saved !')
print('-'*9)
#'''
'''