an implementation of Federated Learning on mnist dataset using MPI.
- install mpi implementation in your computer
- install python dependency
pip3 install keras tensorflow mpi4py
To run:
mpiexec -n <number of nodes> python3 centralisedFL.py
To measure the time elapsed:
time mpiexec -n <number of nodes> python3 centralisedFL.py
To run:
python3 original.py
To measure the time elapsed:
time python3 original.py
The result of the experementation can be seen in the result folder.