-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathto_run.sh
executable file
·120 lines (93 loc) · 13.3 KB
/
to_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
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
OUTPUT_DIR=gs://iowa_bucket/CQ500/bulk_16_02
NODE=1
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-1 --dataset=cq500 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500\n'
NODE=2
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-2 --dataset=cq500 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500 --use_window_loss=False\n'
NODE=3
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=10 --batch_size=16 --tpu=node-3 --dataset=cq500 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500 --use_window_loss=True --reconstruction_loss=True\n'
NODE=4
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=5 --batch_size=16 --tpu=node-4 --use_wgan=True --dataset=cq500 --model=RESNET --noise_dim=1200 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --wgan_lambda=5 --e_loss_lambda=2.0 --train_steps_per_eval=500 --wgan_n=1\n'
NODE=5
#screen -r echo "node-${NODE} on!" ||
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-5 --use_wgan=True --dataset=cq500 --model=RESNET --noise_dim=1200 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --wgan_lambda=5 --e_loss_lambda=2.0 --train_steps_per_eval=500 --wgan_n=1 --reconstruction_loss=True\n'
NODE=6
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-6 --use_wgan=True --dataset=cq500 --noise_dim=100 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --wgan_lambda=5 --e_loss_lambda=2.0 --train_steps_per_eval=500 --wgan_n=5 --noise_cov=POWER --model=RESNET\n'
NODE=7
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-7 --use_wgan=True --dataset=cq500 --noise_dim=100 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --wgan_lambda=5 --e_loss_lambda=2.0 --train_steps_per_eval=500 --wgan_n=5 --noise_cov=POWER --model=RESNET --reconstruction_loss=True\n'
NODE=8
#screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=10 --batch_size=16 --tpu=node-8 --dataset=cq500 --model=BASIC --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=1000\n'
NODE=9
# screen -r echo "node-${NODE} on!" || screen -dmS node-$NODE
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-9 --dataset=cq500 --model=BASIC --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500 --reconstruction_loss=True\n'
NODE=10
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-10 --dataset=cq500 --model=RESNET --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1\n'
NODE=11
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-11 --dataset=cq500 --model=RESNET --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=False\n'
NODE=12
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-12 --dataset=cq500 --model=RESNET --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=True --window_lambda=5.0 --reconstruction_loss=True --noise_cov=POWER\n'
NODE=13
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-13 --dataset=cq500 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=True --window_lambda=1.0 --reconstruction_loss=True --noise_cov=POWER\n'
NODE=14
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-14 --dataset=cq500 --model=BASIC --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=True --window_lambda=5.0 --reconstruction_loss=True --noise_cov=POWER\n'
NODE=15
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-15 --dataset=cq500 --model=BASIC --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=5 --wgan_lambda=10 --use_window_loss=False --reconstruction_loss=True --noise_cov=POWER\n'
NODE=16
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-16 --dataset=cq500 --model=RESNET --noise_dim=64 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=False --reconstruction_loss=True\n'
NODE=17
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-17 --dataset=cq500 --model=RESNET --noise_dim=64 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=False --reconstruction_loss=True --noise_cov=POWER\n'
NODE=18
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-18 --dataset=cq500 --model=RESNET --noise_dim=8 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=False --reconstruction_loss=False --noise_cov=POWER\n'
NODE=19
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-19 --dataset=cq500 --model=RESNET --noise_dim=8 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=True --window_lambda=10.0 --reconstruction_loss=False --noise_cov=POWER\n'
NODE=20
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-20 --dataset=cq500 --model=RESNET --noise_dim=8 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=True --window_lambda=10.0 --reconstruction_loss=True --noise_cov=POWER\n'
NODE=21
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-21 --dataset=cq500 --model=RESNET --noise_dim=8 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=True --window_lambda=10.0 --reconstruction_loss=True\n'
NODE=22
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-22 --dataset=cq500 --model=RESNET --noise_dim=100 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=True --window_lambda=10.0 --reconstruction_loss=True\n'
NODE=25
screen -dmS node-$NODE
screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_02 --data_dir=gs://iowa_bucket/CQ500/data --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-25 --dataset=cq500 --model=RESNET --noise_dim=8 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=0.0 --train_steps_per_eval=500 --use_wgan=False --use_window_loss=True --window_lambda=2.0 --reconstruction_loss=True\n'
####################3
#### 256 x 256
# NODE=15
# screen -dmS node-$NODE
# screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_01_256 --data_dir=gs://iowa_bucket/CQ500/data/train_256.tfrecords --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-15 --dataset=CQ500_256 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500\n'
# NODE=16
# screen -dmS node-$NODE
# screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_01_256 --data_dir=gs://iowa_bucket/CQ500/data/train_256.tfrecords --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-16 --dataset=CQ500_256 --model=RESNET --noise_dim=64 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_window_loss=True --window_lambda=5.0 --reconstruction_loss=True --noise_cov=POWER\n'
# NODE=17
# screen -dmS node-$NODE
# screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_01_256 --data_dir=gs://iowa_bucket/CQ500/data/train_256.tfrecords --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-17 --dataset=CQ500_256 --model=RESNET --noise_dim=256 --train_steps=500000 --d_optimizer=SGD --learning_rate=0.0002 --e_loss_lambda=1.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=True --window_lambda=1.0 --reconstruction_loss=True --noise_cov=POWER\n'
# NODE=18
# screen -dmS node-$NODE
# screen -r node-$NODE -p 0 -X stuff 'python src/main.py --model_dir=gs://iowa_bucket/CQ500/bulk_16_01_256 --data_dir=gs://iowa_bucket/CQ500/data/train_256.tfrecords --use_encoder=True --iterations_per_loop=35 --batch_size=32 --tpu=node-18 --dataset=CQ500_256 --model=BASIC --noise_dim=128 --train_steps=500000 --d_optimizer=ADAM --learning_rate=0.0001 --e_loss_lambda=2.0 --train_steps_per_eval=500 --use_wgan=True --wgan_n=1 --use_window_loss=True --window_lambda=5.0 --reconstruction_loss=True --noise_cov=POWER\n'