-
Notifications
You must be signed in to change notification settings - Fork 1
/
run_pratk.sh
executable file
·62 lines (47 loc) · 1.54 KB
/
run_pratk.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
#!/usr/bin/bash
# ========================
# Q2 CE PRECISION AT 5, 10
for L in fullnet; do
for D in adult breast; do
for NEG in top_fisher practical_fisher full_fisher 'if';do
cmd="python -u main.py pr_at_k q3 $D $L --n-repeats 5 --p-known 100 --max-iters 100 \
--n-epochs 100 --p-noise 0.2 --noise-type random --inspector never --negotiator $NEG \
--if-damping 1 --lissa-depth 10 --bits 64 --ce-precision"
echo " #### $cmd #### "
$cmd
done
done
done
for L in fullnet; do
for D in 20ng; do
for NEG in top_fisher practical_fisher 'if';do
cmd="python -u main.py pr_at_k q3 $D $L --n-repeats 5 --p-known 500 --max-iters 100 \
--n-epochs 100 --p-noise 0.2 --noise-type random --inspector never --negotiator $NEG \
--if-damping 1 --lissa-depth 10 --bits 64 --ce-precision"
echo " #### $cmd #### "
$cmd
done
done
done
for L in fullnet convnet; do
for D in mnist fashion_mnist; do
for NEG in top_fisher practical_fisher 'if';do
cmd="python -u main.py pr_at_k q3 $D $L --n-repeats 5 --p-known 100 --max-iters 100 \
--n-epochs 100 --p-noise 0.2 --noise-type random --inspector never --negotiator $NEG \
--if-damping 1 --lissa-depth 10 --bits 64 --ce-precision"
echo " #### $cmd #### "
$cmd
done
done
done
for L in logreg; do
for D in mnist; do
for NEG in top_fisher practical_fisher 'if';do
cmd="python -u main.py pr_at_k q3 $D $L --n-repeats 5 --p-known 100 --max-iters 100 \
--n-epochs 100 --p-noise 0.2 --noise-type random --inspector never --negotiator $NEG \
--if-damping 1 --lissa-depth 10 --bits 64 --ce-precision"
echo " #### $cmd #### "
$cmd
done
done
done