Git Product home page Git Product logo

dynafed's Introduction

DYNAFED: Tackling Client Data Heterogeneity with Global Dynamics

Main Figure

This repository contains the source code for the paper DYNAFED: Tackling Client Data Heterogeneity with Global Dynamics. Our paper is accepted by CVPR2023 and is available on arXiv: link.

Table of Contents

Installation

To use this project, you will need to install the following packages:

  • PyTorch: pip install torch
  • wandb: pip install wandb
  • scikit-learn: pip install scikit-learn

Reproducing Results

To reproduce the results from our paper, follow these steps:

  1. Download the datasets (fmnist, cifar, cinic10).
  2. Train the model by running the following commands:
# cifar10 experiments
bash experiments/cifar10/cifar10_0.01_serverdistill.sh
# cifar100 experiments
bash experiments/cifar100/cifar100_0.01_serverdistill.sh
# cinic10 experiments
bash experiments/cinic10/cinic10_0.01_serverdistill.sh

Example Results

Results 1 Results 2

Credits

We would like to give credit to the following repositories for their code and resources that we used in our project:

Citation

If you use our code or data in your research, please cite our paper. You can use the following BibTeX entry:

@article{pi2022dynafed,
  title={DYNAFED: Tackling Client Data Heterogeneity with Global Dynamics},
  author={Pi, Renjie and Zhang, Weizhong and Xie, Yueqi and Gao, Jiahui and Wang, Xiaoyu and Kim, Sunghun and Chen, Qifeng},
  journal={arXiv preprint arXiv:2211.10878},
  year={2022}
}

dynafed's People

Contributors

pipilurj 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.