Skip to content

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

Notifications You must be signed in to change notification settings

FelixHuiweiLin/PCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages