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

GEM issue #75

Open
LightingMc opened this issue Apr 30, 2024 · 0 comments
Open

GEM issue #75

LightingMc opened this issue Apr 30, 2024 · 0 comments

Comments

@LightingMc
Copy link

No significant modifications to the code. Test run failed with the exps/gem.json provided.

File "/scratch/zar00002/PyCIL/main.py", line 31, in
main()
File "/scratch/zar00002/PyCIL/main.py", line 12, in main
train(args)
File "/scratch/zar00002/PyCIL/trainer.py", line 21, in train
_train(args)
File "/scratch/zar00002/PyCIL/trainer.py", line 93, in _train
model.incremental_train(data_manager)
File "/scratch/zar00002/PyCIL/models/gem.py", line 92, in incremental_train
self._train(self.train_loader, self.test_loader)
File "/scratch/zar00002/PyCIL/models/gem.py", line 123, in _train
self._update_representation(train_loader, test_loader, optimizer, scheduler)
File "/scratch/zar00002/PyCIL/models/gem.py", line 207, in update_representation
G[stpt:endpt, k].data.copy
(params.grad.data.view(-1))
AttributeError: 'NoneType' object has no attribute 'data'

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