Skip to content

czjghost/OCM

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

OCM

Here is the official implementation of the paper "Online Continual Learning thorough Mutual Information Maximization". This paper is accepted by ICML2022 as a spotlight paper.

Requirements

pytorch<=1.6.0
numpy==1.19.5
scipy==1.4.1
apex==0.1

Usage

To reproduce the results in the CIFAR10 setting (2 classes per task)

            python test_cifar10.py --buffer_size 1000

To reproduce the results in other setting (e.g. CIFAR100):

            python test_<dataset name>.py --buffer_size xxx

Note that the name of dataset is in lowercase. You can check them in the OCM file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%