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

ProtoPNet: save learned prototype patches #55

Open
gpitteri opened this issue Oct 26, 2023 · 1 comment
Open

ProtoPNet: save learned prototype patches #55

gpitteri opened this issue Oct 26, 2023 · 1 comment
Labels
bad-design Bad design and/or hacks

Comments

@gpitteri
Copy link

So far the learned prototype patches are just visualised at the end of the training and not stored (otherwise we will end up with 2000 saved png images).
We need to decide how we want to handle this.

Furthermore the visualization is done only if we run the prototype explanation first during the evaluation of the model.

@gpitteri gpitteri added the bad-design Bad design and/or hacks label Oct 26, 2023
@gpitteri
Copy link
Author

gpitteri commented Oct 26, 2023

The same problem during the evaluation of the model. For each test image we visualise the top k activated prototypes. This only works if we evaluated the prototypes and there is no saving feature of the prototypes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bad-design Bad design and/or hacks
Projects
None yet
Development

No branches or pull requests

1 participant