fix scripts and config
This commit is contained in:
parent
0dec9221bb
commit
51397f8500
|
@ -6,18 +6,18 @@
|
||||||
###########################################################
|
###########################################################
|
||||||
# FEATURE EXTRACTION SETTING #
|
# FEATURE EXTRACTION SETTING #
|
||||||
###########################################################
|
###########################################################
|
||||||
sr: 24000 # Sampling rate.
|
sr: 24000 # Sampling rate.
|
||||||
n_fft: 2048 # FFT size.
|
n_fft: 2048 # FFT size (in samples).
|
||||||
hop_length: 300 # Hop size.
|
hop_length: 300 # Hop size (in samples).
|
||||||
win_length: 1200 # Window length.
|
win_length: 1200 # Window length (in samples).
|
||||||
# If set to null, it will be the same as fft_size.
|
# If set to null, it will be the same as fft_size.
|
||||||
window: "hann" # Window function.
|
window: "hann" # Window function.
|
||||||
n_mels: 80 # Number of mel basis.
|
n_mels: 80 # Number of mel basis.
|
||||||
fmin: 80 # Minimum freq in mel basis calculation.
|
fmin: 80 # Minimum freq in mel basis calculation. (Hz)
|
||||||
fmax: 7600 # Maximum frequency in mel basis calculation.
|
fmax: 7600 # Maximum frequency in mel basis calculation. (Hz)
|
||||||
# global_gain_scale: 1.0 # Will be multiplied to all of waveform.
|
# global_gain_scale: 1.0 # Will be multiplied to all of waveform.
|
||||||
trim_silence: false # Whether to trim the start and end of silence.
|
trim_silence: false # Whether to trim the start and end of silence.
|
||||||
top_db: 60 # Need to tune carefully if the recording is not good.
|
top_db: 60 # Need to tune carefully if the recording is not good.
|
||||||
trim_frame_length: 2048 # Frame size in trimming.(in samples)
|
trim_frame_length: 2048 # Frame size in trimming.(in samples)
|
||||||
trim_hop_length: 512 # Hop size in trimming.(in samples)
|
trim_hop_length: 512 # Hop size in trimming.(in samples)
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
FLAGS_cudnn_exhaustive_search=true \
|
FLAGS_cudnn_exhaustive_search=true \
|
||||||
FLAGS_conv_workspace_size_limit=4000 \
|
FLAGS_conv_workspace_size_limit=4000 \
|
||||||
CUDA_VISIBLE_DEVICES="3" \
|
|
||||||
python train.py \
|
python train.py \
|
||||||
--train-metadata=dump/train/norm/metadata.jsonl \
|
--train-metadata=dump/train/norm/metadata.jsonl \
|
||||||
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
||||||
--config=conf/debug.yaml \
|
--config=conf/default.yaml \
|
||||||
--output-dir=exp/debug \
|
--output-dir=exp/default \
|
||||||
--nprocs=1
|
--nprocs=1
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
CUDA_VISIBLE_DEVICES="2" \
|
|
||||||
python train.py \
|
python train.py \
|
||||||
--train-metadata=dump/train/norm/metadata.jsonl \
|
--train-metadata=dump/train/norm/metadata.jsonl \
|
||||||
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
--dev-metadata=dump/dev/norm/metadata.jsonl \
|
||||||
--config=conf/default.yaml \
|
--config=conf/default.yaml \
|
||||||
--output-dir=exp/default \
|
--output-dir=exp/default \
|
||||||
--nprocs=1
|
--nprocs=1
|
||||||
|
|
Loading…
Reference in New Issue