Giter Club home page Giter Club logo

clip_as_rnn's Introduction

CLIP as RNN: Segment Countless Visual Concepts without Training Endeavor

Shuyang Sun*, Runjia Li*, Philip Torr, Xiuye Gu, Siyang Li

[arXiv] [Project] [Code]

The code is fully released at Google Research.


The README doc is currently under development.

Installation

Requirements

  • Anaconda 3
  • PyTorch ≥ 1.7 and torchvision that matches the PyTorch installation. Install them together at pytorch.org to make sure of this.
  • conda env create --name ENV_NAME --file=car_env.yml

Getting Started

Demo

We have set up an online demo. You can check it out at: TODO

Run Demo Locally

If you want to test an image locally, you can simply run

python3 demo.py --cfg-path=YOUR_CFG_PATH --output_path=SAVE_PATH

Evaluation with Benchmarks

  • Data preparation: See Preparing Datasets for CaR
  • Evaluate: python3 evaluate.py --cfg-path=CFG_PATH You can find configs for each dataset under configs.

Citing CaR

@inproceedings{clip_as_rnn,
  title = {CLIP as RNN: Segment Countless Visual Concepts without Training Endeavor},
  author = {Sun, Shuyang and Li, Runjia and Torr, Philip and Gu, Xiuye and Li, Siyang},
  year = {2024},
  booktitle = {CVPR},
}

clip_as_rnn's People

Contributors

kevin-ssy avatar

Stargazers

Akshay k Anil avatar  avatar Dong ZHANG avatar  avatar  avatar Jin Er avatar Jiayang Ao avatar  avatar Mustafa Arda Aydın avatar Dongjun Hwang avatar Hao Feng avatar  avatar Mihai Gheorghe avatar Zekun Wang avatar Zhihua Liu avatar  avatar Jeff Carpenter avatar Xuan avatar Dengzhi avatar 爱可可-爱生活 avatar  avatar Yaoyuan Liang avatar 杨奇(yann qi) avatar Haowen Sun avatar  avatar Chen Xiaoyu avatar yao teng avatar  avatar 2stongerme avatar  avatar senlinuc avatar xyz avatar Yi Zhang avatar  avatar Yijian Fan avatar Li Jie avatar Ameya Prabhu avatar  avatar Runjia Li avatar Devon 'fire' Adkisson avatar Vladyslav Khramtsov avatar Qiule Sun avatar

Watchers

 avatar Lilong Wen avatar  avatar pycoco avatar  avatar  avatar Yaoyuan Liang avatar Naoya Takenaka avatar SongHe avatar  avatar Runjia Li avatar

clip_as_rnn's Issues

How did you get the visual prompts?

Thank you for your excellent work!

How did you get the visual prompts? Are prompts learnable or just annotated by human?

I am appreciate it if you could solve my questions.

Set of referring image segmentation queries

Thanks for your interesting work!!

I cannot get the construction details of the initial text queries for referring image segmentation.
From my understanding, open-vocab segmentation uses a set of input text queries and makes your recurrent filtering of non-existing concept texts necessary. However, since referring image segmentation uses a pair of an image and a text as input, I cannot understand how CaR eliminates the irrelevant texts recurrently. Therefore, my short knowledge can be filled by knowing the initial text queries for this task.

If the detail has existed on the paper, I would be sorry to ask about it, and excuse me, please.

Best regards,

Namyup Kim.

Dataset preparation

Hi there,

Thanks for your amazing work on CaR and congratulation on CVPR acceptance!
Will you provide the dataset preparation guidance from zero-shot segmentation to referring image segmentation and referring video segmentation?

Best,
Zhihua

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.