FelixHuiweiLin / PCR

Proxy-based Contrastive Replay for Online Class-Incremental Continual Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PCR: Proxy-based Contrastive Replay for Online Class-Incremental Continual Learning

Code For CVPR'2023 paper "PCR: Proxy-based Contrastive Replay for Online Class-Incremental Continual Learning"

The framework is based on online-continual-learning.

PCR is in https://github.com/FelixHuiweiLin/PCR/blob/main/agents/pcr.py.

CIFAR-100

  python general_main.py --num_runs 1 --data  cifar100 --cl_type nc --agent PCR  --retrieve random --update random --mem_size 1000

CIFAR-10

  python general_main.py --num_runs 1 --data cifar10 --cl_type nc --agent PCR --retrieve random --update random --mem_size 200

Mini-Imagenet

python general_main.py --data --num_runs 1  mini_imagenet --cl_type nc --agent PCR --retrieve random --update random --mem_size 1000

About

Proxy-based Contrastive Replay for Online Class-Incremental Continual Learning


Languages

Language:Python 100.0%