-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathiirc_2_cifar_scripts.sh
executable file
·97 lines (89 loc) · 2.49 KB
/
iirc_2_cifar_scripts.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
### FT
python ./prior_main.py \
--method finetune \
--n_memories_per_class -1 \
--group final_cifar_experi
--group final_cifar_experiments \
--save_each_task_model \
--epochs_per_task 140 \
--total_n_memories -1 \
--use_best_model
### ER-infinite
python ./prior_main.py \
--method finetune \
--n_memories_per_class -1 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--use_best_model \
--total_n_memories 100000
### Joint training
python ./prior_main.py \
--method finetune \
--n_memories_per_class -1 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--complete_info \
--use_best_model \
--incremental_joint \
--total_n_memories -
--method finetune \
--n_memories_per_class 20 \
--reduce_lr_on_plateau \
--group final_cifar_experiments \
--save_each_task_model \
--epochs_per_task 140 \
--total_n_memories -1 \
--use_best_model
### ER-infinite
python ./prior_main.py \
--method finetune \
--n_memories_per_class -1 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--use_best_model \
--total_n_memories 100000
### Joint training
python ./prior_main.py \
--method finetune \
--n_memories_per_class -1 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--complete_info \
--use_best_model \
--incremental_joint \
--total_n_memories -1
### iCaRL-CNN
python ./prior_main.py \
--method icarl_cnn \
--n_memories_per_class 20 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--total_n_memories -1 \
--epochs_per_task 140 \
### iCaRL-CNN + SPL
python ./prior_main_ptm_training_icarl.py \
--method icarl_norm_ptm \
--n_memories_per_class 20 \
--reduce_lr_on_plateau \
--group final_cifar_experiments \
--save_each_task_model \
--epochs_per_task 140 \
--total_n_memories -1 \
--patience 20 \
--dataset_path ./cifar100
### iCaRL-CNN + SPL + Infer-HCV
python ./prior_test_ptm_training.py \
--run_id 12345 \ ### replace 12345 with the real id from the previous running
--method icarl_cnn_ptm \
--n_memories_per_class 20 \
--group final_cifar_experiments \
--reduce_lr_on_plateau \
--save_each_task_model \
--epochs_per_task 140 \
--total_n_memories -1 \
--dataset_path ./cifar100