xmed-lab / CLIPN

ICCV 2023: CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No
MIT License
128 stars 12 forks source link
clip iccv2023 ood-detection unsupervised-prompt-learning zero-shot

CLIPN for Zero-Shot OOD Detection: Teaching CLIP to Say No

:rocket: Updates

:star: Highlights of CLIPN

:hammer: Installation

:computer: Prepare Dataset

When you have downloaded CC3M, please re-write your data root into ./src/run.sh.

When you have downloaded the above datasets, please re-write your data root into ./src/tuning_util.py.

:key: Pre-Train and Evaluate CLIPN

:blue_book: Reproduced Results

To ensure the reproducibility of the results, we conducted three repeated experiments under each configuration. The following will exhibit the most recent reproduced results achieved before open-sourcing.