Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
614 changes: 403 additions & 211 deletions tutorial_notebooks/Tutorial_1_Medmnist_2D.ipynb

Large diffs are not rendered by default.

21 changes: 19 additions & 2 deletions tutorial_notebooks/Tutorial_3_GaNDLF_OpenFL_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"source": [
"# Federated GaNDLF Tutorial with PathMNIST Dataset\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/intel/fl-tutorial/blob/gh-pages/tutorial_notebooks/Tutorial_3_GaNDLF_OpenFL_tutorial.ipynb)\n",
"### Note: If running the notebook on google colab, please make sure to use python version 3.8, OpenFL works with this version only.\n",
"\n",
"In this tutorial, we will be using the **Generally Nuanced Deep Learning Framework** (GaNDLF) to perform training and inference on a ResNet architecture, with PathMNIST, a dataset of colon pathology images, using [OpenFL](https://github.com/intel/openfl) in a federated learning fashion. This is a multi-class classification task: there are 9 different types of colon tissue displayed in the pathology images, each represented by its own class.\n",
"\n",
Expand All @@ -25,6 +26,22 @@
"Let's get these out of the way first."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#If python version != 3.8, then uncomment & run the following code to change the python version to 3.8\n",
"!python --version\n",
"\n",
"#!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 1\n",
"#!sudo update-alternatives --config python3\n",
"#!python3 --version\n",
"#!sudo apt install python3-pip\n",
"#!python --version"
]
},
{
"cell_type": "code",
"execution_count": 1,
Expand Down Expand Up @@ -2043,7 +2060,7 @@
},
"gpuClass": "standard",
"kernelspec": {
"display_name": "Python 3.8.0 ('venv': venv)",
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
Expand All @@ -2057,7 +2074,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.0"
"version": "3.8.16"
},
"vscode": {
"interpreter": {
Expand Down