iQua/flsim
소개
A simulation framework for Federated Learning written in PyTorch
학습 및 교육측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFLSim
About
Welcome to FLSim, a PyTorch based federated learning simulation framework, created for experimental research in a paper accepted by IEEE INFOCOM 2020:
Hao Wang, Zakhary Kaplan, Di Niu, Baochun Li. "Optimizing Federated Learning on Non-IID Data with Reinforcement Learning," in the Proceedings of IEEE INFOCOM, Beijing, China, April 27-30, 2020.
Installation
To install FLSim, all that needs to be done is clone this repository to the desired directory.
Dependencies
FLSim uses Anaconda to manage Python and it's dependencies, listed in environment.yml. To install the fl-py37 Python environment, set up Anaconda (or Miniconda), then download the environment dependencies with:
conda env create -f environment.yml
Usage
Before using the repository, make sure to activate the fl-py37 environment with:
conda activate fl-py37
Simulation
To start a simulation, run run.py from the repository's root directory:
python run.py
--config=config.json
--log=INFO
run.py flags
--config(-c): path to the configuration file to be used.--log(-l): level of logging info to be written to console, defaults toINFO.
config.json files
FLSim uses a JSON file to manage the configuration parameters for a federated learning simulation. Provided in the repository is a generic template and three preconfigured simulation files for the CIFAR-10, FashionMNIST, and MNIST datasets.
For a detailed list of configuration options, see the wiki page.
If you have any questions, please feel free to contact Hao Wang ([email protected])
관련 프로젝트 살펴보기
불러오는 중…