This repository contains code for performing semantic segmentation on Diabetic Foot Ulcer (DFU) images. It includes two primary experiments:
- Central Experiment: This approach utilizes a centralized machine learning model.
- Federated Experiment: This experiment demonstrates a federated learning approach to the same problem.
- Python 3.8
- Pip package manager
- Clone the repository:
git clone https://github.com/Mahdi-s/dfu_image_segmentation.git
- Install the required dependencies:
pip install -r requirements.txt
Please download the dataset of DFU images provided by Medetec from the following link: DFU dataset
The central_experiment.ipynb notebook contains the code for the central experiment. To run this notebook:
- Navigate to the cloned repository directory.
- Open the Jupyter Notebook:
jupyter notebook central_experiment.ipynb
- Run the cells in the notebook to perform the experiment.
The federated_experiment.ipynb notebook includes the code for the federated learning experiment. Follow these steps to run it:
- Ensure the requirements are installed as mentioned above.
- Open the Jupyter Notebook:
jupyter notebook federated_experiment.ipynb
- Execute the cells within the notebook to see federated learning in action.
Contributions, issues, and feature requests are welcome.
Distributed under the MIT License.
Mahdi Saeedi - mahdisaeediv@gmail.com