Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ChengShiest/Zip-Your-CLIP


https://github.com/ChengShiest/Zip-Your-CLIP

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        




Zip-Your-CLIP



The Devil is in the Object Boundary: Towards Annotation-free Instance Segmentation using Foundation Models
Zip: CLIP Itself is a Good Object-detector
ICLR, 2024


Cheng Shi
·
Sibei Yang†



arXiv PDF



![image-20230924124604776](__assets__/fig1.png)

## Installation
The code requires `python>=3.8`, as well as `pytorch>=1.7` and `torchvision>=0.8`. Please follow the instructions [here](https://pytorch.org/get-started/locally/) to install both PyTorch and TorchVision dependencies.

Install Segment Anything:
```
pip install git+https://github.com/facebookresearch/segment-anything.git
```

Install CLIP and CLIP_Surgery
```
pip install git+https://github.com/openai/CLIP.git

git clone https://github.com/xmed-lab/CLIP_Surgery.git
```

Make sure that you correctly install the dependencies of CLIP_Surgery
```
### Test
device = 'cuda' if torch.cuda.is_available() else 'cpu'
model, preprocess = clip.load("CS-ViT-B/16", device=device)
```

## Getting Started
![image-20230924124604777](__assets__/fig2.png)

## License

This Project is licensed under the [Apache 2.0 license](__assets__/LICENSE.txt).

## Citation

```
@inproceedings{
shi2024the,
title={The Devil is in the Object Boundary: Towards Annotation-free Instance Segmentation using Foundation Models},
author={Cheng Shi and Sibei Yang},
booktitle={The Twelfth International Conference on Learning Representations},
year={2024},
url={https://openreview.net/forum?id=4JbrdrHxYy}
}
```