forked from hyperconnect/TC-ResNet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
execute_script.sh
74 lines (62 loc) · 1.16 KB
/
execute_script.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
#!/bin/sh
set -eux
# setup your train and data paths
export ROOT_TRAIN_DIR=
export DATA_SPEECH_COMMANDS_V1_DIR=/data/google_audio/data_speech_commands_v0.01_newsplit
export DATA_SPEECH_COMMANDS_V2_DIR=/data/google_audio/data_speech_commands_v0.02_newsplit
## DATASET_SPLIT_NAME
# train
# valid
# test
dataset_split_name=
## AVAILABLE MODELS
# KWSModel
# Res8Model
# Res8NarrowModel
# Res15Model
# Res15NarrowModel
# DSCNNSModel
# DSCNNMModel
# DSCNNLModel
# TCResNet_8Model
# TCResNet_14Model
# TCResNet_2D8Model
model=
## AVAILABLE AUDIO PREPROCESS METHODS
# log_mel_spectrogram
# mfcc*
audio_preprocess_setting=
## AVAILABLE WINDOW SETTINGS
# 3010
# 4020
window_setting=
## WEIGHT DECAY
# 0.0
# 0.001
weight_decay=
## AVAILABLE OPTIMIZER SETTINGS
# adam
# mom
opt_setting=
## AVAILABLE LEARNING RATE SETTINGS
# s1
# l1
# l2
# l3
lr_setting=
## DEPTH MULTIPLIER
width_multiplier=
## AVAILABLE DATASETS
# v1
# v2
dataset_settings=
./scripts/script_google_audio.sh \
${dataset_split_name} \
${model} \
${audio_preprocess_setting} \
${window_setting} \
${weight_decay} \
${opt_setting} \
${lr_setting} \
${width_multiplier} \
${dataset_settings}