mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 04:00:46 +02:00
Debut implementation Dataugv5
This commit is contained in:
parent
103277fadd
commit
05f81787d6
3 changed files with 31 additions and 58 deletions
|
@ -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)
|
||||
|
||||
#'''
|
||||
'''
|
Loading…
Add table
Add a link
Reference in a new issue