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

UserWarning: __floordiv__ is deprecated, and its behavior will change in a future version of pytorch #5

Open
mbarnig opened this issue Jan 8, 2022 · 0 comments
Assignees

Comments

@mbarnig
Copy link
Owner

mbarnig commented Jan 8, 2022

__floordiv__ rounds toward 0 (like the 'trunc' function NOT 'floor'). This results in incorrect rounding for negative values. To keep the current behavior, use torch.div(a, b, rounding_mode='trunc'), or for actual floor division, use torch.div(a, b, rounding_mode='floor').

Some TTS models generate negative loss values during training with the Marylux-648 dataset. This can have an impact on the results.

@mbarnig mbarnig self-assigned this Jan 10, 2022
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

No branches or pull requests

1 participant