Skip to content

hf618/COSMIC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COSMIC (CVPR 2025)

*These authors contributed equally to this work; Co-corresponding authors.
1Shenzhen International Graduate School, Tsinghua University, China
2Shenzhen Technology University, China
3University of Science and Technology of China, China

This repository is the official PyTorch implementation of "COSMIC: Clique-Oriented Semantic Multi-space Integration for Robust CLIP Test-Time Adaptation".

Environment Setting

To run this project, you need to set up your environment as follows:

conda create -n COSMIC python=3.10 -y
conda activate COSMIC
pip install -r requirements.txt

Dataset

For both Out-of-Distribution and Cross-Domain benchmarks, please refer to this page.

Run COSMIC

To execute the COSMIC, navigate to the scripts directory.

OOD Benchmark

Run COSMIC on the OOD Benchmark:

bash ./scripts/cosmic_ood.sh

Cross-Domain Benchmark

Run COSMIC on the Cross-Domain Benchmark:

bash ./scripts/cosmic_cd.sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published