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

Some questions when run gem #10

Closed
Doublezore opened this issue Jul 16, 2022 · 1 comment
Closed

Some questions when run gem #10

Doublezore opened this issue Jul 16, 2022 · 1 comment

Comments

@Doublezore
Copy link

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?

@LightingMc
Copy link

@Doublezore @zhoudw-zdw whats the solution? I am having the same error.

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

3 participants