You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi ikostrikov, I got this error when running your code
Traceback (most recent call last):
File "main.py", line 89, in <module>
agent.update_parameters(batch)
File "/home/andrewliao11/Work/pytorch-naf/naf.py", line 121, in update_parameters
param.grad.data.clamp(-1, 1)
AttributeError: 'NoneType' object has no attribute 'data'
hi ikostrikov, I got this error when running your code
the original code is:
maybe we should modify in into:
I'm just a newbie to pytorch, not sure if it's right, thx!
The text was updated successfully, but these errors were encountered: