Skip to content

Commit

Permalink
Update test_asr_inference.py
Browse files Browse the repository at this point in the history
Remove streaming=true parameter
  • Loading branch information
espnetUser authored May 10, 2022
1 parent c96e0d7 commit 272d5d0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/espnet2/bin/test_asr_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ def test_Speech2Text_streaming(asr_config_file_streaming, lm_config_file):
asr_train_config=asr_config_file_streaming,
lm_train_config=lm_config_file,
beam_size=1,
streaming=True,
)
speech = np.random.randn(10000)
for sim_chunk_length in [1, 32, 128, 512, 1024, 2048]:
Expand Down Expand Up @@ -164,7 +163,6 @@ def test_Speech2Text_streaming(asr_config_file_streaming, lm_config_file):
asr_train_config=asr_config_file_streaming,
lm_train_config=lm_config_file,
beam_size=1,
streaming=True,
)
# edge case: speech is exactly multiple of sim_chunk_length, e.g., 10240 = 5 x 2048
speech = np.random.randn(10240)
Expand Down

0 comments on commit 272d5d0

Please sign in to comment.