Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.02 KB

README.md

File metadata and controls

25 lines (17 loc) · 1.02 KB

FedCL

installation:

in general, need pytorch, avalanche and tensorflow, but some reqirements were missing. so its best to install via the requirements.txt

python -m pip install -r requirements.txt

phase 1:

A simple illustrative project on combination of federated and continual learning using avalanche and flower frameworks FedCL - contains two clients with MNIST dataset split in half with first half of classes (0, 1, 2, 3, 4) in one client and the other half in another client. This demonstartes class and task increamental CL with the classes split into different clients.

phase 2:

Added CIFAR10 clients (client3.py and client4.py) with classes split in half with clients 3 and 4.

Usage:

  1. navigate to FedCL directory, start server.py first
python server.py
  1. start any two clients (minimum two clients for federated learning to start)
python client1.py
  1. for visualization use tensorboard
tensorboard --logdir tb_data