fix scripts and config

This commit is contained in:
chenfeiyu 2021-07-14 18:02:59 +08:00
parent 0dec9221bb
commit 51397f8500
3 changed files with 13 additions and 14 deletions

View File

@ -7,14 +7,14 @@
# FEATURE EXTRACTION SETTING #
###########################################################
sr: 24000 # Sampling rate.
n_fft: 2048 # FFT size.
hop_length: 300 # Hop size.
win_length: 1200 # Window length.
n_fft: 2048 # FFT size (in samples).
hop_length: 300 # Hop size (in samples).
win_length: 1200 # Window length (in samples).
# If set to null, it will be the same as fft_size.
window: "hann" # Window function.
n_mels: 80 # Number of mel basis.
fmin: 80 # Minimum freq in mel basis calculation.
fmax: 7600 # Maximum frequency in mel basis calculation.
fmin: 80 # Minimum freq in mel basis calculation. (Hz)
fmax: 7600 # Maximum frequency in mel basis calculation. (Hz)
# global_gain_scale: 1.0 # Will be multiplied to all of waveform.
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.

View File

@ -1,9 +1,9 @@
FLAGS_cudnn_exhaustive_search=true \
FLAGS_conv_workspace_size_limit=4000 \
CUDA_VISIBLE_DEVICES="3" \
python train.py \
--train-metadata=dump/train/norm/metadata.jsonl \
--dev-metadata=dump/dev/norm/metadata.jsonl \
--config=conf/debug.yaml \
--output-dir=exp/debug \
--config=conf/default.yaml \
--output-dir=exp/default \
--nprocs=1

View File

@ -1,4 +1,3 @@
CUDA_VISIBLE_DEVICES="2" \
python train.py \
--train-metadata=dump/train/norm/metadata.jsonl \
--dev-metadata=dump/dev/norm/metadata.jsonl \