Code for the paper "Explain Any Concept: Segment Anything Meets Concept-Based Explanation".
Please cite the paper as follows if you use the data or code from Samshap:
@inproceedings{
sun2023explain,
title={Explain Any Concept: Segment Anything Meets Concept-Based Explanation},
author={Ao Sun and Pingchuan Ma and Yuanyuan Yuan and Shuai Wang},
booktitle={Thirty-seventh Conference on Neural Information Processing Systems},
year={2023},
url={https://openreview.net/forum?id=X6TBBsz9qi}
}
Please reach out to us if you have any questions or suggestions. You can send an email to [email protected].
Here is an overview of our work, and you can find more in our Paper.
Our EAC approach generates high accurate and human-understandable post-hoc explanations.
We use ViT-H as our default SAM model. For downloading the pre-train model and installation dependencies, please refer SAM repo.
Simply run the following command:
python demo_samshap.py