-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_main_splitcifar100.sh
More file actions
executable file
·94 lines (56 loc) · 3.77 KB
/
run_main_splitcifar100.sh
File metadata and controls
executable file
·94 lines (56 loc) · 3.77 KB
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
#!bin/sh
## global variable for usps experiment
device=0
gv_v=1
gv_lrtheta=1e-1
gv_nthetaupdate=101
gv_lrtheta=1e-1
# nmem_list="50 100 250 500 1000"
# seed_list="111 112 113 114 115"
nmem_list="50" ## for test
seed_list="111"
gv_delta=1e-1
em_noise=1e-4
gv_nmemupdate=10
for nmem in $nmem_list
do
gv_meminit=random
for seed in $seed_list
do
ftype=cliprn50
CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_ourem_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
--nmem $nmem --nmemupdate $gv_nmemupdate --emnoise $em_noise --v $gv_v --seed $seed;
CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_basereplay_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
--nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_baselambda_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
--nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
done
done
# for nmem in $nmem_list
# do
# gv_meminit=random
# for seed in $seed_list
# do
# ftype=clipvitb32
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_ourem_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --emnoise $em_noise --v $gv_v --seed $seed;
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_basereplay_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_baselambda_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
# done
# done
# for nmem in $nmem_list
# do
# gv_meminit=random
# for seed in $seed_list
# do
# ftype=clipvitl114
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_ourem_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --emnoise $em_noise --v $gv_v --seed $seed;
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_basereplay_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
# CUDA_VISIBLE_DEVICES=$device python3 main_splitcifar100_baselambda_batch.py --ftype $ftype --lrtheta $gv_lrtheta --nthetaupdate $gv_nthetaupdate --delta $gv_delta --meminit $gv_meminit \
# --nmem $nmem --nmemupdate $gv_nmemupdate --v $gv_v --seed $seed;
# done
# done