-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrun.sh
59 lines (50 loc) · 1.28 KB
/
run.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
#!/bin/bash
num_task=20 #10 5
device=0
for cil in bic foster icarl wa
do
export CUDA_VISIBLE_DEVICES=${device}
bash scripts/cil_only/${cil}/cifar100_train_cil.sh ${num_task} &
let device=device+1
done
wait
device=0
for ood in logitnorm t2fnorm augmix regmix vos npos ber
do
export CUDA_VISIBLE_DEVICES=${device}
for cil in bic foster icarl wa
do
bash scripts/cil_only_finetune/${ood}/cifar100_train_cil.sh ${cil} ${num_task} &
done
let device=device+1
done
for ood in klm
do
export CUDA_VISIBLE_DEVICES=${device}
for cil in bic foster icarl wa
do
bash scripts/ood_after_cil/${cil}/${cil}_${ood}/cifar100_test_ood.sh ${num_task} &
done
done
wait
device=0
for ood in baseood ebo gen maxlogit nnguide odin react relation
do
export CUDA_VISIBLE_DEVICES=${device}
for cil in bic foster icarl wa
do
bash scripts/ood_after_cil/${cil}/${cil}_${ood}/cifar100_test_ood.sh ${num_task} &
done
let device=device+1
done
wait
device=0
for ood in logitnorm t2fnorm augmix regmix vos npos ber
do
export CUDA_VISIBLE_DEVICES=${device}
for cil in bic foster icarl wa
do
bash scripts/ood_after_cil_finetune/${ood}/finetune_ebo/cifar100_test_ood.sh ${cil} ${num_task} &
done
let device=device+1
done