Coder Social home page Coder Social logo

fcil's Introduction

Official Pytorch Implementation for GLFC

This is the implementation code of the CVPR 2022 paper "Federated Class-Incremental Learning".

You can also find the arXiv version with supplementary materials here. More related works are provided at Dynamic Federated Learning, please work with us to make FL more practical and realistic.

Framework:

overview

Prerequisites:

* python == 3.6
* torch == 1.2.0
* numpy
* PIL
* torchvision == 0.4.0
* cv2
* scipy == 1.5.2
* sklearn == 0.24.1

Datasets:

  • CIFAR100: You don't need to do anything before running the experiments on CIFAR100 dataset.

  • Imagenet-Subset (Mini-Imagenet): Please manually download the on Imagenet-Subset (Mini-Imagenet) dataset from the official websites, and place it in './train'.

  • Tiny-Imagenet: Please manually download the on Tiny-Imagenet dataset from the official websites, and place it in './tiny-imagenet-200'.

Training:

  • Please check the detailed arguments in './src/option.py'.
python fl_main.py

Performance:

  • Experiments on CIFAR100 dataset

cifar

  • Experiments on Imagenet-Subset (Mini-Imagenet) dataset

imagenet-subset

Citation:

If you find this code is useful to your research, please consider to cite our paper.

@InProceedings{dong2022federated,
    author = {Dong, Jiahua and Wang, Lixu and Fang, Zhen and Sun, Gan and Xu, Shichao and Wang, Xiao and Zhu, Qi},
    title = {Federated Class-Incremental Learning},
    booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
    month = {June},
    year = {2022},
}

Contact:

fcil's People

Contributors

jiahuadong avatar conditionwang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.