Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/grypesc/camp
Category Adaptation Meets Projected Distillation in Generalized Continual Category Discovery - ECCV 2024 paper
https://github.com/grypesc/camp
Last synced: 10 days ago
JSON representation
Category Adaptation Meets Projected Distillation in Generalized Continual Category Discovery - ECCV 2024 paper
- Host: GitHub
- URL: https://github.com/grypesc/camp
- Owner: grypesc
- Created: 2024-07-11T10:36:53.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-13T10:58:22.000Z (about 2 months ago)
- Last Synced: 2024-09-14T00:37:22.446Z (about 2 months ago)
- Language: Python
- Size: 57.6 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Category Adaptation Meets Projected Distillation in Generalized Continual Category Discovery
This repository contains code for ECCV 2024 paper: https://arxiv.org/abs/2308.12112
Introduction video: https://www.youtube.com/watch?v=NfgT1qpOb4U### Setup:
```bash
pip install requirements.txt
```### To run pretrained ViT download a model from https://github.com/facebookresearch/dino:
```bash
mkdir pretrained && cd pretrained
wget https://dl.fbaipublicfiles.com/dino/dino_deitsmall16_pretrain/dino_deitsmall16_pretrain.pth
```### Download datasets
### CUB200
```bash
cd data
wget https://data.caltech.edu/records/65de6-vp158/files/CUB_200_2011.tgz?download=1
tar zxvf 'CUB_200_2011.tgz?download=1'
```
### DomainNet
```bash
wget http://csr.bu.edu/ftp/visda/2019/multi-source/groundtruth/clipart.zip &&
wget http://csr.bu.edu/ftp/visda/2019/multi-source/infograph.zip &&
wget http://csr.bu.edu/ftp/visda/2019/multi-source/groundtruth/painting.zip &&
wget http://csr.bu.edu/ftp/visda/2019/multi-source/quickdraw.zip &&
wget http://csr.bu.edu/ftp/visda/2019/multi-source/real.zip &&
wget http://csr.bu.edu/ftp/visda/2019/multi-source/sketch.zip
```### Run CAMP method on 5 datasets:
```bash
bash scripts/camp.sh
```### Run GCD method on 5 datasets:
```bash
bash scripts/gcd.sh
```### Run GCD+FD method on 5 datasets:
```bash
bash scripts/gcd_fd.sh
```### Run GCD+EWC method on 5 datasets:
```bash
bash scripts/gcd_ewc.sh
```### Run Proxy Anchors method on 5 datasets:
```bash
bash scripts/proxy_anchors.sh
```If you find this code or paper useful we will appreciate if you cite us:
```commandline
@inproceedings{rypesc2024category,
title = {Category Adaptation Meets Projected Distillation in Generalized Continual Category Discovery},
author={Rype{\'s}{\'c}, Grzegorz and Marczak, Daniel and Cygert, Sebastian and Trzci{\'n}ski, Tomasz and Twardowski, Bart{\l}omiej},
booktitle = {European Conference on Computer Vision (ECCV)},
year = {2024}
}
```