Skip to content

A simple illustrative project on combination of federated and continual learning using avalanche and flower frameworks

Notifications You must be signed in to change notification settings

normal-crayon/FedCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A simple illustrative project on combination of federated and continual learning using avalanche and flower frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages