-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnoise_max_loss.sh
83 lines (69 loc) · 2.42 KB
/
noise_max_loss.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
#!/bin/bash
for seed in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for noise_level in 0.0 0.01 0.05 0.1 0.3 0.5 0.7 1.0 1.2 1.4 2.0;
do
for kernel_epoch in 800;
do
for act in "softmax" "sparsemax"
do
for data in "cifar10" "mnist"
do
CUDA_VISIBLE_DEVICES=3 python3 memory_retrieval_noise_max_loss.py --noise_level $noise_level --kernel_epoch $kernel_epoch --activation $act --data $data --mode "UMHN" --seed $seed --rerun 12
done
done
done
done
done
for seed in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for noise_level in 0.0 0.01 0.05 0.1 0.3 0.5 0.7 1.0 1.2 1.4 2.0;
do
for act in "softmax"
do
for data in "mnist" "cifar10"
do
CUDA_VISIBLE_DEVICES=3 python3 memory_retrieval_noise_max_loss.py --noise_level $noise_level --activation $act --data $data --mode "Man" --seed $seed --rerun 12
done
done
done
done
for seed in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for noise_level in 0.0 0.01 0.05 0.1 0.3 0.5 0.7 1.0 1.2 1.4 2.0;
do
for act in "softmax"
do
for data in "mnist" "cifar10"
do
CUDA_VISIBLE_DEVICES=3 python3 memory_retrieval_noise_max_loss.py --noise_level $noise_level --activation $act --data $data --mode "L2" --seed $seed --rerun 12
done
done
done
done
for seed in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for noise_level in 0.0 0.01 0.05 0.1 0.3 0.5 0.7 1.0 1.2 1.4 2.0;
do
for act in "softmax" "sparsemax"
do
for data in "mnist" "cifar10"
do
CUDA_VISIBLE_DEVICES=3 python3 memory_retrieval_noise_max_loss.py --noise_level $noise_level --activation $act --data $data --mode "MHN" --seed $seed --rerun 12
done
done
done
done
for seed in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
do
for noise_level in 0.0 0.01 0.05 0.1 0.3 0.5 0.7 1.0 1.2 1.4 2.0;
do
for act in "poly-10"
do
for data in "mnist" "cifar10"
do
CUDA_VISIBLE_DEVICES=3 python3 memory_retrieval_noise_max_loss.py --noise_level $noise_level --activation $act --data $data --mode "MHN" --seed $seed --rerun 12
done
done
done
done