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

Skip to content

A quick fix for type error when dealing with multi-decoder (ST)#6064

Merged
sw005320 merged 8 commits intoespnet:masterfrom
ftshijt:master
Mar 17, 2025
Merged

A quick fix for type error when dealing with multi-decoder (ST)#6064
sw005320 merged 8 commits intoespnet:masterfrom
ftshijt:master

Conversation

@ftshijt
Copy link
Collaborator

@ftshijt ftshijt commented Mar 17, 2025

With the latest typeguard, it will spot the type issue in multi-decoder decoding (when both ASR and ST search are returned together).

Adding a simple fix to allow a tuple type for the multi-decoder return cases.

(Noted that this fix is necessary to make sure the demonstration notebook is working smoothly)

@ftshijt ftshijt added Bugfix ST Speech translation ESPnet2 labels Mar 17, 2025
@codecov
Copy link

codecov bot commented Mar 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 38.20%. Comparing base (709c25d) to head (a1ccbb5).
Report is 11 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #6064       +/-   ##
===========================================
+ Coverage   12.80%   38.20%   +25.39%     
===========================================
  Files         868      566      -302     
  Lines       81221    51090    -30131     
===========================================
+ Hits        10404    19518     +9114     
+ Misses      70817    31572    -39245     
Flag Coverage Δ
test_integration_espnetez 38.20% <100.00%> (?)
test_python_espnetez ?

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.202503 milestone Mar 17, 2025
@sw005320 sw005320 merged commit 09987d1 into espnet:master Mar 17, 2025
40 checks passed
@sw005320
Copy link
Contributor

Thanks, @ftshijt!

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

Labels

Bugfix ESPnet2 ST Speech translation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants