Enhance dataset card: Add metadata, code link, usage info, and citation
Browse filesThis PR enhances the dataset card for the pre-generated SAM2 masks associated with the CorrCLIP paper.
Key improvements include:
- Adding `task_categories: image-segmentation`, `license: cc-by-nc-4.0`, and `library_name: mmsegmentation` to the metadata.
- Providing a clearer description of the dataset's purpose.
- Including a link to the official GitHub repository for code and further details.
- Adding a 'Sample Usage' section with details on the Gradio demo and Google Colab notebook.
- Incorporating the BibTeX citation for proper attribution.
README.md
CHANGED
@@ -1,3 +1,39 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
|
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- image-segmentation
|
4 |
+
license: cc-by-nc-4.0
|
5 |
+
library_name: mmsegmentation
|
6 |
+
---
|
7 |
|
8 |
+
# CorrCLIP: Pre-generated SAM2 Masks for Open-Vocabulary Semantic Segmentation
|
9 |
+
|
10 |
+
This repository contains the pre-generated SAM2 masks used to replicate the results presented in the paper [CorrCLIP: Reconstructing Patch Correlations in CLIP for Open-Vocabulary Semantic Segmentation](https://arxiv.org/abs/2411.10086).
|
11 |
+
|
12 |
+
The paper addresses the challenge of open-vocabulary semantic segmentation by proposing CorrCLIP, which reconstructs patch correlations in CLIP. It leverages the Segment Anything Model (SAM) to define the scope of patch interactions, aiming to improve alignment and reduce inter-class correlations. These masks are a crucial component for reproducing the paper's findings and are specifically mentioned for use when setting `mask_generator` to `None` in the project's configuration.
|
13 |
+
|
14 |
+
For the official code, detailed installation instructions, evaluation scripts, and further information on CorrCLIP, please refer to the project's GitHub repository:
|
15 |
+
[https://github.com/zdk258/CorrCLIP](https://github.com/zdk258/CorrCLIP)
|
16 |
+
|
17 |
+
## Sample Usage
|
18 |
+
|
19 |
+
A Gradio demo is available to perform open-vocabulary semantic segmentation on custom images with custom category names. You can run it locally by following the instructions in the GitHub repository:
|
20 |
+
|
21 |
+
```bash
|
22 |
+
python demo_gradio.py
|
23 |
+
```
|
24 |
+
|
25 |
+
Additionally, a Google Colab demo is provided for easy online experimentation:
|
26 |
+
[https://colab.research.google.com/github/zdk258/CorrCLIP/blob/master/corrclip_demo.ipynb](https://colab.research.google.com/github/zdk258/CorrCLIP/blob/master/corrclip_demo.ipynb)
|
27 |
+
|
28 |
+
## Citation
|
29 |
+
|
30 |
+
If you find CorrCLIP or these pre-generated SAM2 masks useful for your research, please consider citing the original paper:
|
31 |
+
|
32 |
+
```bibtex
|
33 |
+
@article{zhang2024corrclip,
|
34 |
+
title={Corrclip: Reconstructing patch correlations in clip for open-vocabulary semantic segmentation},
|
35 |
+
author={Zhang, Dengke and Liu, Fagui and Tang, Quan},
|
36 |
+
journal={arXiv preprint arXiv:2411.10086},
|
37 |
+
year={2024}
|
38 |
+
}
|
39 |
+
```
|