-
Notifications
You must be signed in to change notification settings - Fork 10
/
script_rand.sh
23 lines (16 loc) · 1.11 KB
/
script_rand.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/bash
echo "*********************** generate data ***********************"
python3 generate_data.py --distribution Rayleigh-Rice-Geometry10-Geometry50 --num_train 20000-20000-20000-20000 --noise 1 --o data/dataset_balance.pt
TrainScript="--hidden_layers 200-80-80 --batch_size 5000 --noise 1 --mini_batch_size 100 --lr 0.001 --n_memories 2000 --data_file data/dataset_balance.pt --file_ext _balance"
echo "*********************** TL ***********************"
python3 main.py $TrainScript --model single
echo "*********************** Joint ***********************"
python3 main.py $TrainScript --model single --mode joint
echo "*********************** Reservoir ***********************"
python3 main.py $TrainScript --model reservoir_sampling
echo "*********************** Minmax (Proposed) ***********************"
python3 main.py $TrainScript --model minmax --dual_stepsize 0.0001
echo "*********************** Compositionl (Proposed) ***********************"
python3 main.py $TrainScript --model composition
echo "*********************** Generate Figure ***********************"
python3 generate_figure.py --ext _balance