-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
109 changed files
with
4,332 additions
and
755 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# RNN results | ||
## Mic: Beam_Circular_Array | ||
### (pytorch) 2-layer vggblstmp, add attention, batchsize 15; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Circular_Array_pytorch_train_no_preprocess/decode_dirha_real_Beam_Circular_Array_decode_lm_word65000/result.txt:| 409 | 39842 | 82.5 | 9.3 | 8.2 | 3.8 | 21.3 | 83.4 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Circular_Array_pytorch_train_no_preprocess/decode_dirha_real_Beam_Circular_Array_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 69.3 | 25.6 | 5.0 | 4.3 | 35.0 | 83.4 | | ||
|
||
### add SpecAug; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Circular_Array_pytorch_train_specaug/decode_dirha_real_Beam_Circular_Array_decode_lm_word65000/result.txt:| 409 | 39842 | 83.9 | 7.2 | 8.9 | 2.8 | 19.0 | 80.9 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Circular_Array_pytorch_train_specaug/decode_dirha_real_Beam_Circular_Array_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 72.6 | 20.6 | 6.8 | 2.3 | 29.7 | 80.9 | | ||
|
||
## Mic: Beam_Linear_Array | ||
### (pytorch) 2-layer vggblstmp, add attention, batchsize 15; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Linear_Array_pytorch_train_no_preprocess/decode_dirha_real_Beam_Linear_Array_decode_lm_word65000/result.txt:| 409 | 39842 | 83.7 | 9.9 | 6.4 | 5.2 | 21.6 | 85.6 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Linear_Array_pytorch_train_no_preprocess/decode_dirha_real_Beam_Linear_Array_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 69.1 | 27.6 | 3.3 | 5.9 | 36.8 | 85.6 | | ||
|
||
### add SpecAug; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Linear_Array_pytorch_train_specaug/decode_dirha_real_Beam_Linear_Array_decode_lm_word65000/result.txt:| 409 | 39842 | 87.2 | 6.9 | 5.9 | 3.3 | 16.2 | 76.5 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_Beam_Linear_Array_pytorch_train_specaug/decode_dirha_real_Beam_Linear_Array_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 76.2 | 19.7 | 4.1 | 3.2 | 27.0 | 76.5 | | ||
|
||
## Mic: L1C | ||
### (pytorch) 2-layer vggblstmp, add attention, batchsize 15; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_L1C_pytorch_train_no_preprocess/decode_dirha_real_L1C_decode_lm_word65000/result.txt:| 409 | 39842 | 84.1 | 11.3 | 4.6 | 8.6 | 24.6 | 83.6 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_L1C_pytorch_train_no_preprocess/decode_dirha_real_L1C_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 69.3 | 28.5 | 2.2 | 9.3 | 39.9 | 83.6 | | ||
|
||
### add SpecAug; | ||
#### CER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_L1C_pytorch_train_specaug/decode_dirha_real_L1C_decode_lm_word65000/result.txt:| 409 | 39842 | 86.2 | 9.3 | 4.5 | 6.4 | 20.2 | 81.2 | | ||
#### WER | ||
|dataset| Snt | Wrd| Corr | Sub | Del | Ins | Err | S.Err| | ||
|---|---|---|---|---|---|---|---|---| | ||
|exp/train_si284_L1C_pytorch_train_specaug/decode_dirha_real_L1C_decode_lm_word65000/result.wrd.txt:| 409 | 6762 | 73.7 | 23.2 | 3.1 | 5.3 | 31.6 | 81.2 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
# ====== About run.pl, queue.pl, slurm.pl, and ssh.pl ====== | ||
# Usage: <cmd>.pl [options] JOB=1:<nj> <log> <command...> | ||
# e.g. | ||
# run.pl --mem 4G JOB=1:10 echo.JOB.log echo JOB | ||
# | ||
# Options: | ||
# --time <time>: Limit the maximum time to execute. | ||
# --mem <mem>: Limit the maximum memory usage. | ||
# -–max-jobs-run <njob>: Limit the number parallel jobs. This is ignored for non-array jobs. | ||
# --num-threads <ngpu>: Specify the number of CPU core. | ||
# --gpu <ngpu>: Specify the number of GPU devices. | ||
# --config: Change the configuration file from default. | ||
# | ||
# "JOB=1:10" is used for "array jobs" and it can control the number of parallel jobs. | ||
# The left string of "=", i.e. "JOB", is replaced by <N>(Nth job) in the command and the log file name, | ||
# e.g. "echo JOB" is changed to "echo 3" for the 3rd job and "echo 8" for 8th job respectively. | ||
# Note that the number must start with a positive number, so you can't use "JOB=0:10" for example. | ||
# | ||
# run.pl, queue.pl, slurm.pl, and ssh.pl have unified interface, not depending on its backend. | ||
# These options are mapping to specific options for each backend and | ||
# it is configured by "conf/queue.conf" and "conf/slurm.conf" by default. | ||
# If jobs failed, your configuration might be wrong for your environment. | ||
# | ||
# | ||
# The official documentaion for run.pl, queue.pl, slurm.pl, and ssh.pl: | ||
# "Parallelization in Kaldi": http://kaldi-asr.org/doc/queue.html | ||
# =========================================================~ | ||
|
||
|
||
# Select the backend used by run.sh from "local", "sge", "slurm", or "ssh" | ||
cmd_backend='local' | ||
|
||
# Local machine, without any Job scheduling system | ||
if [ "${cmd_backend}" = local ]; then | ||
|
||
# The other usage | ||
export train_cmd="run.pl" | ||
# Used for "*_train.py": "--gpu" is appended optionally by run.sh | ||
export cuda_cmd="run.pl" | ||
# Used for "*_recog.py" | ||
export decode_cmd="run.pl" | ||
|
||
# "qsub" (SGE, Torque, PBS, etc.) | ||
elif [ "${cmd_backend}" = sge ]; then | ||
# The default setting is written in conf/queue.conf. | ||
# You must change "-q g.q" for the "queue" for your environment. | ||
# To know the "queue" names, type "qhost -q" | ||
# Note that to use "--gpu *", you have to setup "complex_value" for the system scheduler. | ||
|
||
export train_cmd="queue.pl" | ||
export cuda_cmd="queue.pl" | ||
export decode_cmd="queue.pl" | ||
|
||
# "sbatch" (Slurm) | ||
elif [ "${cmd_backend}" = slurm ]; then | ||
# The default setting is written in conf/slurm.conf. | ||
# You must change "-p cpu" and "-p gpu" for the "partion" for your environment. | ||
# To know the "partion" names, type "sinfo". | ||
# You can use "--gpu * " by defualt for slurm and it is interpreted as "--gres gpu:*" | ||
# The devices are allocated exclusively using "${CUDA_VISIBLE_DEVICES}". | ||
|
||
export train_cmd="slurm.pl" | ||
export cuda_cmd="slurm.pl" | ||
export decode_cmd="slurm.pl" | ||
|
||
elif [ "${cmd_backend}" = ssh ]; then | ||
# You have to create ".queue/machines" to specify the host to execute jobs. | ||
# e.g. .queue/machines | ||
# host1 | ||
# host2 | ||
# host3 | ||
# Assuming you can login them without any password, i.e. You have to set ssh keys. | ||
|
||
export train_cmd="ssh.pl" | ||
export cuda_cmd="ssh.pl" | ||
export decode_cmd="ssh.pl" | ||
|
||
# This is an example of specifying several unique options in the JHU CLSP cluster setup. | ||
# Users can modify/add their own command options according to their cluster environments. | ||
elif [ "${cmd_backend}" = jhu ]; then | ||
|
||
export train_cmd="queue.pl --mem 2G" | ||
export cuda_cmd="queue-freegpu.pl --mem 2G --gpu 1 --config conf/gpu.conf" | ||
export decode_cmd="queue.pl --mem 4G" | ||
|
||
else | ||
echo "$0: Error: Unknown cmd_backend=${cmd_backend}" 1>&2 | ||
return 1 | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./tuning/decode_rnn.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--sample-frequency=16000 | ||
--num-mel-bins=80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Default configuration | ||
command qsub -v PATH -cwd -S /bin/bash -j y -l arch=*64* | ||
option mem=* -l mem_free=$0,ram_free=$0 | ||
option mem=0 # Do not add anything to qsub_opts | ||
option num_threads=* -pe smp $0 | ||
option num_threads=1 # Do not add anything to qsub_opts | ||
option max_jobs_run=* -tc $0 | ||
default gpu=0 | ||
option gpu=0 | ||
option gpu=* -l 'hostname=b1[12345678]*|c*,gpu=$0' -q g.q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
layer: 1 # 2 for character LMs | ||
unit: 1000 # 650 for character LMs | ||
opt: sgd # adam for character LMs | ||
sortagrad: 0 # Feed samples from shortest to longest ; -1: enabled for all epochs, 0: disabled, other: enabled for 'other' epochs | ||
batchsize: 300 # 1024 for character LMs | ||
epoch: 20 # number of epochs | ||
patience: 3 | ||
maxlen: 40 # 150 for character LMs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
process: | ||
- type: "identity" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--sample-frequency=16000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Default configuration | ||
command qsub -v PATH -cwd -S /bin/bash -j y -l arch=*64* | ||
option mem=* -l mem_free=$0,ram_free=$0 | ||
option mem=0 # Do not add anything to qsub_opts | ||
option num_threads=* -pe smp $0 | ||
option num_threads=1 # Do not add anything to qsub_opts | ||
option max_jobs_run=* -tc $0 | ||
default gpu=0 | ||
option gpu=0 | ||
option gpu=* -l 'hostname=c*,gpu=$0' -q g.q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Default configuration | ||
command sbatch --export=PATH --ntasks-per-node=1 | ||
option time=* --time $0 | ||
option mem=* --mem-per-cpu $0 | ||
option mem=0 # Do not add anything to qsub_opts | ||
option num_threads=* --cpus-per-task $0 --ntasks-per-node=1 | ||
option num_threads=1 --cpus-per-task 1 --ntasks-per-node=1 # Do not add anything to qsub_opts | ||
default gpu=0 | ||
option gpu=0 -p cpu | ||
option gpu=* -p gpu --gres=gpu:$0 | ||
# note: the --max-jobs-run option is supported as a special case | ||
# by slurm.pl and you don't have to handle it in the config file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
process: | ||
# these three processes are a.k.a. SpecAugument | ||
- type: "time_warp" | ||
max_time_warp: 5 | ||
inplace: true | ||
mode: "PIL" | ||
- type: "freq_mask" | ||
F: 30 | ||
n_mask: 2 | ||
inplace: true | ||
replace_with_zero: false | ||
- type: "time_mask" | ||
T: 40 | ||
n_mask: 2 | ||
inplace: true | ||
replace_with_zero: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
./tuning/train_rnn.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
lm-weight: 1.0 | ||
beam-size: 30 | ||
penalty: 0.0 | ||
maxlenratio: 0.0 | ||
minlenratio: 0.0 | ||
ctc-weight: 0.3 |
Oops, something went wrong.