Skip to content

eval wer with gpu#541

Merged
mpariente merged 5 commits intoasteroid-team:masterfrom
nobel861017:fix_librimix_conv_eval_asr_use_gpu
Aug 11, 2021
Merged

eval wer with gpu#541
mpariente merged 5 commits intoasteroid-team:masterfrom
nobel861017:fix_librimix_conv_eval_asr_use_gpu

Conversation

@nobel861017
Copy link
Contributor

In eval.py line 74, pass conf["use_gpu"] to WERTracker.
In metrics.py line 231 add self.device = 'cuda' if use_gpu else 'cpu' and pass device=self.device to Speech2Text.

Copy link
Collaborator

@mpariente mpariente left a comment

Choose a reason for hiding this comment

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

Thanks for the PR !
Minor things to be changed and we're good to go.

@mpariente
Copy link
Collaborator

Looks good to me. Can you lint the PR please?

@nobel861017
Copy link
Contributor Author

Hi, I am a first-time contributor. First-time contributors require approval.

@mpariente mpariente merged commit 64e10e9 into asteroid-team:master Aug 11, 2021
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