forked from tabacof/adversarial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mnist.sh
28 lines (21 loc) · 673 Bytes
/
mnist.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
#!/bin/bash
for i in `seq 1 125`;
do
th adversarial.lua -cuda -mnist -seed $i -mc
done
mv ./images/mnist/results_from_adversarial.csv ./images/mnist/results_adv.csv
for i in `seq 1 125`;
do
th adversarial.lua -cuda -mnist -seed $i -mc -orig
done
mv ./images/mnist/results_from_original.csv ./images/mnist/results_orig.csv
for i in `seq 1 125`;
do
th adversarial.lua -cuda -mnist -seed $i -hist -mc
done
mv ./images/mnist/results_from_adversarial.csv ./images/mnist/results_adv_hist.csv
for i in `seq 1 125`;
do
th adversarial.lua -cuda -mnist -seed $i -hist -mc -orig
done
mv ./images/mnist/results_from_original.csv ./images/mnist/results_orig_hist.csv