Federated learning using Pysyft and Duet for Medical Imaging example.
the dataset is https://www.kaggle.com/andrewmvd/medical-mnist
The course follows OpenMined Syft framework.
-
Python Version 3 check with:
python3 --version
Python venv should be installed -
virtualenv installed
virtualenv -h
If not installed install on linux with:sudo apt update && sudo apt install virtualenv
-
create a virtual environment with virtualenv as
virtualenv -p python3 env-name
with conda asconda create --name env-name
replace env-name with environment name of your choice -
Activate virtual environment virtualenv
source env-name/bin/activate
or condaconda activate env-name
-
Install Dependencies
pip install -r requirements.txt
-
Install syft by
pip install git+https://github.com/OpenMined/PySyft@dev#egg=syft