Skip to content

Commit e8826b6

Browse files
Remove duplicate keys in asr cfg (#4159)
* remove duplicate keys in asr cfg * fix more cfg in ppspeech
1 parent 3afe871 commit e8826b6

8 files changed

Lines changed: 0 additions & 10 deletions

demos/streaming_asr_server/conf/application.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ asr_online:
2727
lang: 'zh'
2828
sample_rate: 16000
2929
cfg_path:
30-
decode_method:
3130
num_decoding_left_chunks: -1
3231
force_yes: True
3332
device: 'cpu' # cpu or gpu:id

demos/streaming_asr_server/conf/ws_conformer_application.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ asr_online:
2727
lang: 'zh'
2828
sample_rate: 16000
2929
cfg_path:
30-
decode_method:
3130
num_decoding_left_chunks: -1
3231
force_yes: True
3332
device: 'cpu' # cpu or gpu:id

demos/streaming_asr_server/conf/ws_conformer_talcs_application.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ asr_online:
2828
lang: 'zh_en'
2929
sample_rate: 16000
3030
cfg_path:
31-
decode_method:
3231
num_decoding_left_chunks: -1
3332
force_yes: True
3433
device: 'cpu' # cpu or gpu:id

demos/streaming_asr_server/conf/ws_conformer_wenetspeech_application.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ asr_online:
2727
lang: 'zh'
2828
sample_rate: 16000
2929
cfg_path:
30-
decode_method:
3130
force_yes: True
3231
device: 'cpu' # cpu or gpu:id
3332
decode_method: "attention_rescoring"

demos/streaming_asr_server/conf/ws_conformer_wenetspeech_application_faster.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ asr_online:
2727
lang: 'zh'
2828
sample_rate: 16000
2929
cfg_path:
30-
decode_method:
3130
force_yes: True
3231
device: 'cpu' # cpu or gpu:id
3332
decode_method: "attention_rescoring"

demos/streaming_asr_server/conf/ws_ds2_application.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ asr_online-onnx:
4444

4545
chunk_buffer_conf:
4646
frame_duration_ms: 85
47-
shift_ms: 40
4847
sample_rate: 16000
4948
sample_width: 2
5049
window_n: 7 # frame
@@ -75,7 +74,6 @@ asr_online-inference:
7574

7675
chunk_buffer_conf:
7776
frame_duration_ms: 85
78-
shift_ms: 40
7977
sample_rate: 16000
8078
sample_width: 2
8179
window_n: 7 # frame

paddlespeech/server/conf/ws_conformer_wenetspeech_application_faster.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ asr_online:
2727
lang: 'zh'
2828
sample_rate: 16000
2929
cfg_path:
30-
decode_method:
3130
force_yes: True
3231
device: 'cpu' # cpu or gpu:id
3332
decode_method: "attention_rescoring"

paddlespeech/server/conf/ws_ds2_application.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ asr_online-onnx:
4444

4545
chunk_buffer_conf:
4646
frame_duration_ms: 85
47-
shift_ms: 40
4847
sample_rate: 16000
4948
sample_width: 2
5049
window_n: 7 # frame
@@ -75,7 +74,6 @@ asr_online-inference:
7574

7675
chunk_buffer_conf:
7776
frame_duration_ms: 85
78-
shift_ms: 40
7977
sample_rate: 16000
8078
sample_width: 2
8179
window_n: 7 # frame

0 commit comments

Comments
 (0)