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
File "/home/doublezore/Code/Continual learning/PyCIL/models/gem.py", line 184, in update_representation
G[stpt:endpt, k].data.copy(params.grad.data.view(-1))
AttributeError: 'NoneType' object has no attribute 'data'
After investigation, I found that in the last fc layer of the model, there is no forward propagation. I would like to ask you how to solve this problem?
The text was updated successfully, but these errors were encountered:
File "/home/doublezore/Code/Continual learning/PyCIL/models/gem.py", line 184, in update_representation
G[stpt:endpt, k].data.copy(params.grad.data.view(-1))
AttributeError: 'NoneType' object has no attribute 'data'
After investigation, I found that in the last fc layer of the model, there is no forward propagation. I would like to ask you how to solve this problem?
The text was updated successfully, but these errors were encountered: