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

removed global var fs in train.py and replaced with hparams.sample_rate #140

Merged
merged 1 commit into from
Feb 26, 2019

Conversation

RaymondNie
Copy link

Found it confusing how the variable fs in train.py is the sample rate from the hparams.py file since I expected it to be from my own preset file provided as an argument to train.py.

For instance, I was training the model on the Librispeech dataset preprocessed with my custom preset file that had sample rate 16000 and was suprised to find eval audio was generated using sample rate 22050.

Copy link
Owner

@r9y9 r9y9 left a comment

Choose a reason for hiding this comment

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

This was definitely my mistake. Thank you!

@r9y9 r9y9 merged commit 6fb72bf into r9y9:master Feb 26, 2019
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