-
Notifications
You must be signed in to change notification settings - Fork 0
/
runs.sh
28 lines (27 loc) · 962 Bytes
/
runs.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
index_array=('seg_relu' 'ELU' 'LeakyReLU' 'relu')
# shellcheck disable=SC2068
for activation in ${index_array[@]}
do
python tools/dl-train.py \
-train "./dataset/full_data_norm.data" \
-test "./dataset/full_data_test_norm.data" \
--result_path "./runs/results/full-data-v2.0" \
--training_path "./runs/training/full-data-v2.0" \
-ep 1000 -bsize 64 -verbose 2 -activation_block "$activation" \
-status_ckpt True -status_early_stop True \
-name "model-$activation-full-data-norm" \
-v "$activation-full-data-v2.0" \
-test_size 0.2
done
model_list=('svm-rbf' 'svm-linear' 'tree')
# shellcheck disable=SC2068
for model in ${model_list[@]}
do
python tools/ml-train.py \
-train "./dataset/full_data_norm.data" \
-test "./dataset/full_data_test_norm.data" \
--result_path "./runs/results/full-data-v2.0" \
--training_path "./runs/training/full-data-v2.0" \
-name "$model" -v "$model-full-data-norm-v2.0"
done