-
Notifications
You must be signed in to change notification settings - Fork 620
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
runtime error with pytorch 0.4.0 #277
Comments
PyTorch 0.4 is still unstable and therefore unsupported at this time. The error you're seeing is that 0.4 introduces 0-dimensional tensors (ie support for scalar values) when in previous versions the above indexing would return a native Python type. You can probably replace the No guarantees you don't run into other issues with 0.4. Lots of breaking changes. |
thanks very much |
Trying to address two issues: - return `action` as an item to fix runtime error ``` UserWarning: volatile was removed and now has no effect. Use `with torch.no_grad():` instead. ``` may related to: SeanNaren/deepspeech.pytorch#277 - change number of actions from global to a local one which I believe that was your intention
i came across this error with pytorch 0.4.0a0+0f198fa:
it seems that the sequence[i] is not a int but a tensor.
The text was updated successfully, but these errors were encountered: