Add evaluation scripts with DiscreteSpeechMetrics.#5661
Merged
mergify[bot] merged 3 commits intoespnet:masterfrom Feb 22, 2024
Merged
Add evaluation scripts with DiscreteSpeechMetrics.#5661mergify[bot] merged 3 commits intoespnet:masterfrom
mergify[bot] merged 3 commits intoespnet:masterfrom
Conversation
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #5661 +/- ##
==========================================
+ Coverage 75.07% 76.12% +1.05%
==========================================
Files 709 744 +35
Lines 65290 69246 +3956
==========================================
+ Hits 49017 52715 +3698
- Misses 16273 16531 +258
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
ftshijt
reviewed
Feb 16, 2024
Collaborator
ftshijt
left a comment
There was a problem hiding this comment.
The scripts looks great to me!
It would be great to
- add corresponding examples in
egs2/TEMPLATE/tts1/README.md - corresponding entries in the
tools/Makefile - try-exception to check if discrete_speech_metrics are installed or not
Contributor
|
LGTM! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
This PR adds evaluation scripts using discrete-speech-metrics, which can be used to evaluate text-to-speech, noisy speech, and speech enhancement.
The evaluation metrics are computed between the candidate speech and the corresponding reference speech.
Why?
The metrics in discrete-speech-metrics are effective for speech synthesis evaluation because they better correlate with human subjective evaluation scores than MCD.
They also show higher correlations than UTMOS if reference speech is available.
They can also be effective for noisy speech evaluation.
See also
Toolkit: https://github.com/Takaaki-Saeki/DiscreteSpeechMetrics