-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathrun_tab14_epochs.sh
37 lines (31 loc) · 2.34 KB
/
run_tab14_epochs.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
# LIFT with different training epochs
# without TTE
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 5
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 10
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 20
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 30
# with TTE (after running the above commands and getting the checkpoints)
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 5 test_only True tte True
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 10 test_only True tte True
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 20 test_only True tte True
python main.py -d imagenet_lt -m clip_vit_b16 adaptformer True num_epochs 30 test_only True tte True
# without TTE
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 5
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 10
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 20
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 30
# with TTE (after running the above commands and getting the checkpoints)
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 5 test_only True tte True
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 10 test_only True tte True
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 20 test_only True tte True
python main.py -d places_lt -m clip_vit_b16 adaptformer True num_epochs 30 test_only True tte True
# without TTE
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 5
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 10
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 20
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 30
# with TTE (after running the above commands and getting the checkpoints)
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 5 test_only True tte True
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 10 test_only True tte True
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 20 test_only True tte True
python main.py -d inat2018 -m clip_vit_b16 adaptformer True num_epochs 30 test_only True tte True