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

[cli] fix bug in model.recognize() #238

Merged
merged 1 commit into from
Nov 22, 2023

Conversation

RadyGyd
Copy link
Contributor

@RadyGyd RadyGyd commented Nov 22, 2023

bug fix
model.recognize 方法中 best_score 需要小于 score
将 best_name 最终赋值给 result['name']
#236

将 best_name 最终赋值给 result['name']
Copy link
Contributor Author

@RadyGyd RadyGyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

model.recognize 方法中 best_score 需要小于 score
将 best_name 最终赋值给 result['name']

@cdliang11
Copy link
Collaborator

Good check!

@cdliang11 cdliang11 merged commit 1baf642 into wenet-e2e:master Nov 22, 2023
@cdliang11 cdliang11 changed the title model.recognize 方法中 best_score 需要小于 score [cli] fix bug in model.recognize() Nov 22, 2023
@RadyGyd RadyGyd deleted the yadong_fix_model_recognize branch November 22, 2023 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants