Skip to content

Commit

Permalink
Merge pull request #131 from SMILELab-FL/v1.1-dev
Browse files Browse the repository at this point in the history
V1.1 dev
  • Loading branch information
dunzeng authored Sep 5, 2021
2 parents a4d8219 + a697f81 commit 4ec75a1
Show file tree
Hide file tree
Showing 150 changed files with 1,488 additions and 5,749 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ dmypy.json
cython_debug/

# dataset
fedlab_benchmarks/algorithm/fedavg/scale/shakespeare-rnn/pkl_dataset/*

fedlab_benchmarks/datasets/data/mnist/*
!fedlab_benchmarks/datasets/data/mnist/*.py


fedlab_benchmarks/datasets/data/cifar10/*
!fedlab_benchmarks/datasets/data/cifar10/*.py


fedlab_benchmarks/datasets/data/*/data
fedlab_benchmarks/datasets/data/*/meta
tests/data/mnist/*
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# FedLab: A Flexible Federated Learning Framework

[![Documentation Status](https://readthedocs.org/projects/fedlab/badge/?version=latest)](https://fedlab.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/github/license/SMILELab-FL/FedLab)](https://opensource.org/licenses/Apache-2.0) [![arXiv](https://img.shields.io/badge/arXiv-2107.11621-red.svg)](https://arxiv.org/abs/2107.11621) [![GH Actions Tests](https://github.com/SMILELab-FL/FedLab/actions/workflows/CI.yml/badge.svg)](https://github.com/SMILELab-FL/FedLab/actions) [![codecov](https://codecov.io/gh/SMILELab-FL/FedLab/branch/v1.0/graph/badge.svg?token=4HHB5JCSC6)](https://codecov.io/gh/SMILELab-FL/FedLab)
[![GH Actions Tests](https://github.com/SMILELab-FL/FedLab/actions/workflows/CI.yml/badge.svg)](https://github.com/SMILELab-FL/FedLab/actions) [![Documentation Status](https://readthedocs.org/projects/fedlab/badge/?version=latest)](https://fedlab.readthedocs.io/en/latest/?badge=latest) [![License](https://img.shields.io/github/license/SMILELab-FL/FedLab)](https://opensource.org/licenses/Apache-2.0) [![codecov](https://codecov.io/gh/SMILELab-FL/FedLab/branch/v1.0/graph/badge.svg?token=4HHB5JCSC6)](https://codecov.io/gh/SMILELab-FL/FedLab) [![arXiv](https://img.shields.io/badge/arXiv-2107.11621-red.svg)](https://arxiv.org/abs/2107.11621) [![Pyversions](https://img.shields.io/pypi/pyversions/fedlab.svg?style=flat-square)](https://pypi.python.org/pypi/fedlab)


_Read this in other languages: [English](README.md), [简体中文](README.zh-cn.md)._
Expand Down
6 changes: 4 additions & 2 deletions docs/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,12 @@ We encourage you to contribute to the improvement of FedLab or the FedLab reprod
fedlab
│ ├── core
│ │ ├── communicator # communication module of FedLab
│ │ ├── client # client related implementations
│ │ ├── communicator # communication module of FedLab
│ │ ├── hierarchical # hierarchical communication pattern modules
│ │ │ └── scale # scale manager and serial trainer
│ │ └── server # server related implementations
│ │ └── scale # scale manager
│ │ └── hierarchical # hierarchical communication pattern modules
│ └── utils # functional modules
│ └── dataset # functional modules associated with dataset
Expand Down
163 changes: 0 additions & 163 deletions docs/source/examples.rst

This file was deleted.

6 changes: 3 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ FedLab provides the necessary modules for FL simulation, including communication

overview
install
examples
tutorial
contributing
reference

Expand All @@ -35,7 +35,7 @@ Gallery
:shadow: md
:img-bottom: ../imgs/ex-results/fedavg-CNN-MLP-acc-dark.png
:class-card: sd-rounded-3
:link: examples
:link: tutorial
:link-type: ref

.. grid-item::
Expand All @@ -45,7 +45,7 @@ Gallery
:shadow: md
:img-bottom: ../imgs/ex-results/fedavg-CNN-MLP-loss-dark.png
:class-card: sd-rounded-3
:link: examples
:link: tutorial
:link-type: ref


Expand Down
12 changes: 8 additions & 4 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
.. _installation:

Installation & Set up
======================
=====================

FedLab can be installed by source code or pip.

Source Code
^^^^^^^^^^^^^^
^^^^^^^^^^^

Download source code from GitHub:

Expand All @@ -22,9 +22,13 @@ Install dependencies:
$ pip install -r requirements.txt
Pip
^^^^
^^^

Pip install is coming soon.
We support install FedLab with pip:

.. code-block:: shell-session
$ pip install fedlab
Dataset Download
^^^^^^^^^^^^^^^^
Expand Down
2 changes: 1 addition & 1 deletion docs/source/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,6 @@ How to use FedLab?
==================

- :ref:`installation`.
- :ref:`examples`.
- :ref:`tutorial`.


Loading

0 comments on commit 4ec75a1

Please sign in to comment.