-
-
Notifications
You must be signed in to change notification settings - Fork 298
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
fix-agem. resolved memory filling and grad proj #495
Conversation
Thanks @JonasFrey96! your changes look good but there are some syntax errors. I will merge the code as soon as you fix them. |
|
Thanks a lot. Best Jonas |
Hi @JonasFrey96 . Checks are still failing. Please, run from the |
If you use Pycharm, it has an auto PEP-8 corrector, it can help you to check your mistakes and reformat the file. |
Thanks, @EdenBelouadah for pointing this out, the pep8 checking of the project is configured to be exactly the same as pycharm. Maybe we could have mentioned that PyCharm is the preferred editor to use in a better way (maybe in the "How to contribute" section of the documentation). Apart from that seems that there is also an error in a test: To run the test locally (and not have to rely only on GitHub actions) you can use this command: |
Hi @JonasFrey96, this PR has been pending for a while, do you plan to make you amendment soon? Otherwise we can take care of it. Thanks again for your help! |
I'll take care of polishing this up. |
I've fixed the PEP8 but it seems that I cannot push directly on the I also fixed the |
@AndreaCossu if I'm not mistaken A-GEM is tested on multi-task scenarios. Is our implementation using task labels correctly and multi-head models? Did you try the new multi-head models? Otherwise, let me know how do you want to proceed. |
@AndreaCossu @AntonioCarta how do we want to proceed on this? I don't remember what we decided. |
We still have to convert A-GEM to use the multi-head models by using Avalanche custom model. |
A-Gem is now working (fixed gradient projection computation) and nearly matching the reported performance.
Updated the example providing the new numbers.
Best Jonas