未验证 提交 99050b70 编写于 作者: H Hui Zhang 提交者: GitHub

Merge pull request #752 from PaddlePaddle/conf

fix conf and readme
unset GREP_OPTIONS
# https://zhuanlan.zhihu.com/p/33050965
alias nvs='nvidia-smi'
alias his='history'
alias jobs='jobs -l'
alias ports='netstat -tulanp'
alias wget='wget -c'
## Colorize the grep command output for ease of use (good for log files)##
alias grep='grep --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
.ipynb_checkpoints .ipynb_checkpoints
*.npz *.npz
*.done *.done
*.whl
tools/venv tools/venv
tools/kenlm tools/kenlm
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
## Setup ## Setup
* python>=3.7 * python>=3.7
* paddlepaddle>=2.1.0 * paddlepaddle>=2.1.2
Please see [install](doc/src/install.md). Please see [install](doc/src/install.md).
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
## 安装 ## 安装
* python>=3.7 * python>=3.7
* paddlepaddle>=2.1.0 * paddlepaddle>=2.1.2
参看 [安装](doc/src/install.md) 参看 [安装](doc/src/install.md)
......
...@@ -32,7 +32,7 @@ collator: ...@@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
model: model:
num_conv_layers: 2 num_conv_layers: 2
......
...@@ -32,7 +32,7 @@ collator: ...@@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
model: model:
num_conv_layers: 2 num_conv_layers: 2
......
...@@ -16,7 +16,7 @@ collator: ...@@ -16,7 +16,7 @@ collator:
spm_model_prefix: 'data/bpe_unigram_5000' spm_model_prefix: 'data/bpe_unigram_5000'
mean_std_filepath: "" mean_std_filepath: ""
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 16 batch_size: 32
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature
specgram_type: fbank #linear, mfcc, fbank specgram_type: fbank #linear, mfcc, fbank
feat_dim: 80 feat_dim: 80
...@@ -78,7 +78,7 @@ model: ...@@ -78,7 +78,7 @@ model:
training: training:
n_epoch: 120 n_epoch: 120
accum_grad: 8 accum_grad: 4
global_grad_clip: 3.0 global_grad_clip: 3.0
optim: adam optim: adam
optim_conf: optim_conf:
......
...@@ -16,7 +16,7 @@ collator: ...@@ -16,7 +16,7 @@ collator:
spm_model_prefix: 'data/bpe_unigram_5000' spm_model_prefix: 'data/bpe_unigram_5000'
mean_std_filepath: "" mean_std_filepath: ""
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 32 batch_size: 64
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature
specgram_type: fbank #linear, mfcc, fbank specgram_type: fbank #linear, mfcc, fbank
feat_dim: 80 feat_dim: 80
...@@ -73,7 +73,7 @@ model: ...@@ -73,7 +73,7 @@ model:
training: training:
n_epoch: 120 n_epoch: 120
accum_grad: 4 accum_grad: 2
global_grad_clip: 5.0 global_grad_clip: 5.0
optim: adam optim: adam
optim_conf: optim_conf:
......
...@@ -32,7 +32,7 @@ collator: ...@@ -32,7 +32,7 @@ collator:
keep_transcription_text: False keep_transcription_text: False
sortagrad: True sortagrad: True
shuffle_method: batch_shuffle shuffle_method: batch_shuffle
num_workers: 0 num_workers: 2
batch_size: 4 batch_size: 4
model: model:
......
...@@ -14,7 +14,7 @@ collator: ...@@ -14,7 +14,7 @@ collator:
mean_std_filepath: "" mean_std_filepath: ""
vocab_filepath: data/vocab.txt vocab_filepath: data/vocab.txt
unit_type: 'spm' unit_type: 'spm'
spm_model_prefix: 'data/bpe_unigram_202' spm_model_prefix: 'data/bpe_unigram_200'
augmentation_config: conf/augmentation.json augmentation_config: conf/augmentation.json
batch_size: 4 batch_size: 4
raw_wav: True # use raw_wav or kaldi feature raw_wav: True # use raw_wav or kaldi feature
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册