Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update BSRNN implementations to support more flexible band-split schemes#6123

Merged
sw005320 merged 5 commits intoespnet:masterfrom
Emrys365:urgent_recipe
Jun 10, 2025
Merged

Update BSRNN implementations to support more flexible band-split schemes#6123
sw005320 merged 5 commits intoespnet:masterfrom
Emrys365:urgent_recipe

Conversation

@Emrys365
Copy link
Collaborator

@Emrys365 Emrys365 commented May 29, 2025

What?

This PR updates the BSRNN implementation to add support of more band-split schemes (e.g., overlapping mel subbands).
In addition, this PR also adds checks of the norm_type argument to prevent unintended use when causal=True.

For example, norm_type="GN" should not be used in the causal=True mode.

Why?

This should benefit future model designs and may bring some performance gains.

@Emrys365 Emrys365 added the SE Speech enhancement label May 29, 2025
@mergify mergify bot added the ESPnet2 label May 29, 2025
@codecov
Copy link

codecov bot commented May 29, 2025

Codecov Report

Attention: Patch coverage is 9.09091% with 100 lines in your changes missing coverage. Please review.

Project coverage is 37.84%. Comparing base (89c8f7c) to head (4eedb91).
Report is 14 commits behind head on master.

Files with missing lines Patch % Lines
espnet2/enh/layers/bsrnn.py 9.52% 95 Missing ⚠️
espnet2/enh/separator/bsrnn_separator.py 0.00% 5 Missing ⚠️

❗ There is a different number of reports uploaded between BASE (89c8f7c) and HEAD (4eedb91). Click for more details.

HEAD has 6 uploads less than BASE
Flag BASE (89c8f7c) HEAD (4eedb91)
test_utils 3 0
test_integration_espnet2 3 0
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6123      +/-   ##
==========================================
- Coverage   44.47%   37.84%   -6.63%     
==========================================
  Files         581      570      -11     
  Lines       54199    51924    -2275     
==========================================
- Hits        24106    19652    -4454     
- Misses      30093    32272    +2179     
Flag Coverage Δ
test_integration_espnet2 ?
test_integration_espnetez 37.84% <9.09%> (?)
test_utils ?

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sw005320 sw005320 added this to the v.202506 milestone Jun 9, 2025
@sw005320 sw005320 merged commit a59de76 into espnet:master Jun 10, 2025
39 of 40 checks passed
@sw005320
Copy link
Contributor

Thanks, @Emrys365!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ESPnet2 SE Speech enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants