We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Runtime error : lengths should be 1-D CPU int64 tensor, got cuda:0 Long tensor
The text was updated successfully, but these errors were encountered:
Try lengths = lengths.cpu() even if you train the model in gpu.
Please refer to the following links
Sorry, something went wrong.
No branches or pull requests
Runtime error : lengths should be 1-D CPU int64 tensor, got cuda:0 Long tensor
The text was updated successfully, but these errors were encountered: