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
How should anatome be used if we are comparing nets during training? #19
Comments
removing hooks:
Is removing the hook a good idea? |
When I used it for my project, I trained a model and saved checkpoints, then compared models loaded from checkpoints. |
hmmm... what I am doing is I have 1 net and then I compute pwcca, svcca, cka. All in one go in the code (that is why I am doing the deep copying and removing hooks). Do I need to do the deep copying and removing hooks for anatome to work properly? Or will there be unexpected bugs? |
I don't have enough time to consider this problem. Check https://github.com/google/svcca etc. |
Since the code is attaching hooks and it seems stateful (due to using objects instead of pure functions), how should one use anatome to compute CCAs sims etc correctly?
Is using deep copy of the solution? Or deleting the hook after every use of similarity function?:
The text was updated successfully, but these errors were encountered: