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

train problem about FloatingType #30

Open
zhaoguangcheng opened this issue Apr 15, 2024 · 0 comments
Open

train problem about FloatingType #30

zhaoguangcheng opened this issue Apr 15, 2024 · 0 comments

Comments

@zhaoguangcheng
Copy link

When I run the code ,I meet a questions.
RuntimeError: Expected isFloatingType(grads[i].scalar_type()) to be true, but got false. (Could this error message be improved? If so, please report an enhancement request to PyTorch.) (validate_outputs at ..\torch\csrc\autograd\engine.cpp:476)
(no backtrace available)
I don't know how to solve it.I would appreciate it if you could help me.

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