├── .gitignore ├── LICENSE ├── README.md ├── data ├── __init__.py └── utils │ ├── __init__.py │ ├── constants.py │ ├── dataset.py │ ├── partition │ ├── __init__.py │ ├── assign_classes.py │ └── dirichlet.py │ ├── run.py │ └── util.py ├── requirements.txt └── src ├── client ├── __init__.py ├── base.py ├── fedavg.py ├── fedprox.py └── scaffold.py ├── config ├── __init__.py ├── models.py └── util.py └── server ├── __init__.py ├── base.py ├── fedavg.py ├── fedprox.py └── scaffold.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/README.md -------------------------------------------------------------------------------- /data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /data/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/constants.py -------------------------------------------------------------------------------- /data/utils/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/dataset.py -------------------------------------------------------------------------------- /data/utils/partition/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/partition/__init__.py -------------------------------------------------------------------------------- /data/utils/partition/assign_classes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/partition/assign_classes.py -------------------------------------------------------------------------------- /data/utils/partition/dirichlet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/partition/dirichlet.py -------------------------------------------------------------------------------- /data/utils/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/run.py -------------------------------------------------------------------------------- /data/utils/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/data/utils/util.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/client/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/client/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/client/base.py -------------------------------------------------------------------------------- /src/client/fedavg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/client/fedavg.py -------------------------------------------------------------------------------- /src/client/fedprox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/client/fedprox.py -------------------------------------------------------------------------------- /src/client/scaffold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/client/scaffold.py -------------------------------------------------------------------------------- /src/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/config/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/config/models.py -------------------------------------------------------------------------------- /src/config/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/config/util.py -------------------------------------------------------------------------------- /src/server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/server/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/server/base.py -------------------------------------------------------------------------------- /src/server/fedavg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/server/fedavg.py -------------------------------------------------------------------------------- /src/server/fedprox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/server/fedprox.py -------------------------------------------------------------------------------- /src/server/scaffold.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/KarhouTam/SCAFFOLD-PyTorch/HEAD/src/server/scaffold.py --------------------------------------------------------------------------------