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

New CAM Method: FinerCAM #561

Merged
merged 5 commits into from
Mar 14, 2025
Merged

New CAM Method: FinerCAM #561

merged 5 commits into from
Mar 14, 2025

Conversation

Link7808
Copy link
Contributor

Thank you, Jacob, for your excellent work on pytorch-gradcam.

This pull request introduces Finer-CAM, a new method that improves class activation mapping for fine-grained classification tasks. Our approach uses a weighted difference between the main category and comparison categories to suppress shared features and highlight discriminative details. This method is based on our recent paper, which has been accepted by CVPR 2025:
Finer-CAM.

Finer-CAM is implemented through the new classes FinerWeightedTarget and FinerCAM. The design makes it easy to integrate with existing CAM methods while providing a clearer view of subtle differences between similar classes.

I have also prepared a tutorial: Finer-CAM Tutorial to help you test this method more easily. Please let me know if you have any questions or suggestions.

Again, thank you for your wonderful work!

@jacobgil
Copy link
Owner

Thanks so much for the contribution, very nice idea and paper.

@jacobgil jacobgil merged commit 51967a7 into jacobgil:master Mar 14, 2025
1 check passed
@Link7808
Copy link
Contributor Author

I accidentally uploaded the wrong image here. Could you please help delete it? Sorry about that

@Link7808
Copy link
Contributor Author

I accidentally uploaded the wrong image here. Could you please help delete it? Sorry about that

@jacobgil

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

Successfully merging this pull request may close these issues.

2 participants