mirror of
https://github.com/AntoineHX/smart_augmentation.git
synced 2025-05-04 12:10:45 +02:00
Amelioration visualisation des proba
This commit is contained in:
parent
f0c0559e73
commit
93d91815f5
7 changed files with 720 additions and 211 deletions
|
@ -21,17 +21,22 @@ if __name__ == "__main__":
|
|||
|
||||
## Acc, Time, Epochs = f(n_tf) ##
|
||||
fig_name="res/TF_seq_tests_compare"
|
||||
inner_its = [10]
|
||||
inner_its = [0]
|
||||
dataug_epoch_starts= [0]
|
||||
TF_nb = 14 #range(1,14+1)
|
||||
N_seq_TF= [1, 2, 3, 4]
|
||||
TF_nb = range(1,14+1)
|
||||
N_seq_TF= [1] #, 2, 3, 4]
|
||||
|
||||
fig, ax = plt.subplots(ncols=3, figsize=(30, 8))
|
||||
for in_it in inner_its:
|
||||
for dataug in dataug_epoch_starts:
|
||||
|
||||
n_tf = TF_nb
|
||||
#filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF)-LeNet)-200 epochs (dataug:{})- {} in_it.json".format(n_tf, dataug, in_it) for n_tf in TF_nb]
|
||||
filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF x {})-LeNet)-200 epochs (dataug:{})- {} in_it.json".format(TF_nb, n_tf, dataug, in_it) for n_tf in N_seq_TF]
|
||||
filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF x {})-LeNet)-100 epochs (dataug:{})- {} in_it.json".format(TF_nb, n_tf, dataug, in_it) for n_tf in N_seq_TF]
|
||||
filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF x {})-LeNet)-200 epochs (dataug:{})- {} in_it.json".format(n_tf, 1, dataug, in_it) for n_tf in TF_nb]
|
||||
|
||||
#n_tf = N_seq_TF
|
||||
#filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF x {})-LeNet)-200 epochs (dataug:{})- {} in_it.json".format(TF_nb, n_tf, dataug, in_it) for n_tf in N_seq_TF]
|
||||
#filenames =["res/TF_nb_tests/log/Aug_mod(Data_augV4(Uniform-{} TF x {})-LeNet)-100 epochs (dataug:{})- {} in_it.json".format(TF_nb, n_tf, dataug, in_it) for n_tf in N_seq_TF]
|
||||
|
||||
|
||||
all_data=[]
|
||||
|
@ -41,9 +46,7 @@ if __name__ == "__main__":
|
|||
with open(file) as json_file:
|
||||
data = json.load(json_file)
|
||||
all_data.append(data)
|
||||
|
||||
n_tf = N_seq_TF
|
||||
#n_tf = [len(x["Param_names"]) for x in all_data]
|
||||
|
||||
acc = [x["Accuracy"] for x in all_data]
|
||||
epochs = [len(x["Log"]) for x in all_data]
|
||||
time = [x["Time"][0] for x in all_data]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue