Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix filling of waveform_buffer with samples for streaming inference #5267

Merged
merged 2 commits into from Jul 4, 2023

Conversation

espnetUser
Copy link
Contributor

For certain win_length/hop_length and sim_chunk_length settings (e.g., win_length:256, hop_length: 90 and sim_chunk_length: 512) poor WER was observed that was caused by incorrect filling of waveform_buffer object.

See #4807

For certain win_length/hop_length and sim_chunk_length settings (e.g., win_length:256, hop_length: 90 and sim_chunk_length: 512) poor WER was observed that was caused by incorrect filling of waveform_buffer object. 

See espnet#4807
@mergify mergify bot added the ESPnet2 label Jun 30, 2023
@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #5267 (3414350) into master (2bb9dd4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #5267   +/-   ##
=======================================
  Coverage   76.15%   76.15%           
=======================================
  Files         658      658           
  Lines       59101    59107    +6     
=======================================
+ Hits        45007    45012    +5     
- Misses      14094    14095    +1     
Flag Coverage Δ
test_integration_espnet1 65.96% <ø> (-0.01%) ⬇️
test_integration_espnet2 47.56% <0.00%> (ø)
test_python 66.53% <100.00%> (+<0.01%) ⬆️
test_utils 23.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
espnet2/bin/asr_inference_streaming.py 95.06% <100.00%> (ø)

... and 5 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@sw005320 sw005320 added Bugfix ASR Automatic speech recogntion Streaming labels Jun 30, 2023
@sw005320 sw005320 added this to the v.202307 milestone Jun 30, 2023
@sw005320
Copy link
Contributor

Thanks, @espnetUser!
@eml914, can you review this PR?

@eml914
Copy link
Contributor

eml914 commented Jul 4, 2023

Looks good to me. Thank you for your contribution.

@sw005320 sw005320 merged commit ed6ee20 into espnet:master Jul 4, 2023
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ASR Automatic speech recogntion Bugfix ESPnet2 Streaming
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants