-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_timeSeries.sh
More file actions
37 lines (35 loc) · 1.22 KB
/
Copy pathrun_timeSeries.sh
File metadata and controls
37 lines (35 loc) · 1.22 KB
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
#!/bin/bash
datasets=("SmoothSubspace" "Strawberry" "Crop" "FiftyWords")
models=("SamplerGAN" "RCGAN")
architectures=("Linear" "RNN" "TCN")
for dataset in "${datasets[@]}"
do
if [ "$dataset" == "FiftyWords" ]
then
for model in "${models[@]}"
do
for architecture in "${architecture[@]}"
do
if [ "$model" == "RCGAN" ] && [ "$architecture" == "Linear" ]
then
continue
else
python main.py --domain "time-series" --dataset "$dataset" --dataroot "./datasets" --gan_model "$model" --architecture "$architecture" --batch_size 10 --num_epochs 2000
fi
done
done
else
for model in "${models[@]}"
do
for architecture in "${architecture[@]}"
do
if [ "$model" == "RCGAN" ] && [ "$architecture" == "Linear" ]
then
continue
else
python main.py --domain "time-series" --dataset "$dataset" --dataroot "./datasets" --gan_model "$model" --architecture "$architecture" --batch_size 10 --num_epochs 500
fi
done
done
fi
done