-
Notifications
You must be signed in to change notification settings - Fork 14
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
modulenorm = p.grad.data.norm() AttributeError: 'NoneType' object has no attribute 'data' #6
Comments
even though I fixed the runTime error I still get these:
|
I am not sure if I solved the issue (because I do not get the same accuracy as mentioned in the README section) but here's what I did:
and added
The accuracies I get are as follows:
for
However the accuracy mentioned in github readme for RNN is:
What is the possible cause for such difference is accuracy? How would you fix the issue with no drop in accuracy? Not sure if my fix is causing the drop in accuracy. I used the fix from this link https://discuss.pytorch.org/t/model-parameters-is-none-while-training/6830/2?u=monajalal |
I am not sure how to fix this. Any idea?
The text was updated successfully, but these errors were encountered: