Skip to content
This repository was archived by the owner on Feb 7, 2025. It is now read-only.
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,6 @@
"\n"
]
},
{
"cell_type": "code",
"execution_count": 1,
"id": "6f87583c",
"metadata": {},
"outputs": [],
"source": [
"# TODO: Add buttom with \"Open with Colab\""
]
},
{
"cell_type": "markdown",
"id": "2caa73e1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
#
#

# +
# TODO: Add buttom with "Open with Colab"
# -

# ## Set up environment using Colab

# !pip install -q "monai-weekly[tqdm]==1.1.dev2239"
Expand Down
3 changes: 0 additions & 3 deletions tutorials/generative/2d_ddpm/2d_ddpm_compare_schedulers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"[3] - PNDM - Liu et al. \"Pseudo Numerical Methods for Diffusion Models on Manifolds\" https://arxiv.org/abs/2202.09778\n",
"\n",
"\n",
"TODO: Add Open in Colab\n",
"\n",
"## Setup environment"
]
Expand Down Expand Up @@ -108,8 +107,6 @@
"from tqdm import tqdm\n",
"\n",
"from generative.inferers import DiffusionInferer\n",
"\n",
"# TODO: Add right import reference after deployed\n",
"from generative.networks.nets import DiffusionModelUNet\n",
"from generative.networks.schedulers import DDIMScheduler, DDPMScheduler, PNDMScheduler\n",
"\n",
Expand Down
3 changes: 0 additions & 3 deletions tutorials/generative/2d_ddpm/2d_ddpm_compare_schedulers.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
# [3] - PNDM - Liu et al. "Pseudo Numerical Methods for Diffusion Models on Manifolds" https://arxiv.org/abs/2202.09778
#
#
# TODO: Add Open in Colab
#
# ## Setup environment

Expand Down Expand Up @@ -64,8 +63,6 @@
from tqdm import tqdm

from generative.inferers import DiffusionInferer

# TODO: Add right import reference after deployed
from generative.networks.nets import DiffusionModelUNet
from generative.networks.schedulers import DDIMScheduler, DDPMScheduler, PNDMScheduler

Expand Down
5 changes: 1 addition & 4 deletions tutorials/generative/2d_ddpm/2d_ddpm_inpainting.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
"\n",
"[2] - Lugmayr et al. \"RePaint: Inpainting using Denoising Diffusion Probabilistic Models\" https://arxiv.org/abs/2201.09865\n",
"\n",
"TODO: Add Open in Colab\n",
"\n",
"## Setup environment"
]
Expand Down Expand Up @@ -109,8 +108,6 @@
"from tqdm import tqdm\n",
"\n",
"from generative.inferers import DiffusionInferer\n",
"\n",
"# TODO: Add right import reference after deployed\n",
"from generative.networks.nets import DiffusionModelUNet\n",
"from generative.networks.schedulers import DDPMScheduler\n",
"\n",
Expand Down Expand Up @@ -914,7 +911,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down
5 changes: 1 addition & 4 deletions tutorials/generative/2d_ddpm/2d_ddpm_inpainting.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# extension: .py
# format_name: percent
# format_version: '1.3'
# jupytext_version: 1.14.1
# jupytext_version: 1.14.4
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
Expand All @@ -22,7 +22,6 @@
#
# [2] - Lugmayr et al. "RePaint: Inpainting using Denoising Diffusion Probabilistic Models" https://arxiv.org/abs/2201.09865
#
# TODO: Add Open in Colab
#
# ## Setup environment

Expand Down Expand Up @@ -63,8 +62,6 @@
from tqdm import tqdm

from generative.inferers import DiffusionInferer

# TODO: Add right import reference after deployed
from generative.networks.nets import DiffusionModelUNet
from generative.networks.schedulers import DDPMScheduler

Expand Down
16 changes: 1 addition & 15 deletions tutorials/generative/2d_ddpm/2d_ddpm_tutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"\n",
"[1] - Ho et al. \"Denoising Diffusion Probabilistic Models\" https://arxiv.org/abs/2006.11239\n",
"\n",
"TODO: Add Open in Colab\n",
"\n",
"## Setup environment"
]
Expand Down Expand Up @@ -42,7 +41,6 @@
"execution_count": 2,
"id": "dd62a552",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -111,8 +109,6 @@
"from tqdm import tqdm\n",
"\n",
"from generative.inferers import DiffusionInferer\n",
"\n",
"# TODO: Add right import reference after deployed\n",
"from generative.networks.nets import DiffusionModelUNet\n",
"from generative.networks.schedulers import DDPMScheduler\n",
"\n",
Expand All @@ -138,7 +134,6 @@
"execution_count": 3,
"id": "8fc58c80",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -171,7 +166,6 @@
"execution_count": 4,
"id": "ad5a1948",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand All @@ -197,7 +191,6 @@
"execution_count": 5,
"id": "65e1c200",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -236,7 +229,6 @@
"execution_count": 6,
"id": "e2f9bebd",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -276,7 +268,6 @@
"execution_count": 7,
"id": "938318c2",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -326,7 +317,6 @@
"execution_count": 8,
"id": "b698f4f8",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -379,7 +369,6 @@
"execution_count": 9,
"id": "2c52e4f4",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
},
Expand Down Expand Up @@ -423,7 +412,6 @@
"execution_count": 10,
"id": "0f697a13",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
},
Expand Down Expand Up @@ -861,7 +849,6 @@
"execution_count": 11,
"id": "2cdcda81",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -911,7 +898,6 @@
"execution_count": 12,
"id": "1427e5d4",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -995,7 +981,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.13"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down
5 changes: 1 addition & 4 deletions tutorials/generative/2d_ddpm/2d_ddpm_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# extension: .py
# format_name: percent
# format_version: '1.3'
# jupytext_version: 1.14.1
# jupytext_version: 1.14.4
# kernelspec:
# display_name: Python 3 (ipykernel)
# language: python
Expand All @@ -21,7 +21,6 @@
#
# [1] - Ho et al. "Denoising Diffusion Probabilistic Models" https://arxiv.org/abs/2006.11239
#
# TODO: Add Open in Colab
#
# ## Setup environment

Expand Down Expand Up @@ -62,8 +61,6 @@
from tqdm import tqdm

from generative.inferers import DiffusionInferer

# TODO: Add right import reference after deployed
from generative.networks.nets import DiffusionModelUNet
from generative.networks.schedulers import DDPMScheduler

Expand Down
19 changes: 2 additions & 17 deletions tutorials/generative/2d_ddpm/2d_ddpm_tutorial_ignite.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"\n",
"[1] - Ho et al. \"Denoising Diffusion Probabilistic Models\" https://arxiv.org/abs/2006.11239\n",
"\n",
"TODO: Add Open in Colab\n",
"\n",
"## Setup environment"
]
Expand Down Expand Up @@ -44,7 +43,6 @@
"execution_count": 2,
"id": "dd62a552",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -98,7 +96,6 @@
"import os\n",
"import shutil\n",
"import tempfile\n",
"from typing import Dict, Mapping, Optional, Union\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
Expand All @@ -114,8 +111,6 @@
"\n",
"from generative.inferers import DiffusionInferer\n",
"from generative.engines import DiffusionPrepareBatch\n",
"\n",
"# TODO: Add right import reference after deployed\n",
"from generative.networks.nets import DiffusionModelUNet\n",
"from generative.networks.schedulers import DDPMScheduler\n",
"\n",
Expand All @@ -141,7 +136,6 @@
"execution_count": 3,
"id": "8fc58c80",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -174,7 +168,6 @@
"execution_count": 4,
"id": "ad5a1948",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand All @@ -200,7 +193,6 @@
"execution_count": 5,
"id": "65e1c200",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -239,7 +231,6 @@
"execution_count": 6,
"id": "e2f9bebd",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -279,7 +270,6 @@
"execution_count": 7,
"id": "938318c2",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -329,7 +319,6 @@
"execution_count": 8,
"id": "b698f4f8",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -382,11 +371,9 @@
"execution_count": 9,
"id": "2c52e4f4",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
},
"lines_to_next_cell": 0
}
},
"outputs": [],
"source": [
Expand Down Expand Up @@ -425,7 +412,6 @@
"execution_count": 11,
"id": "0f697a13",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
},
Expand Down Expand Up @@ -2156,7 +2142,6 @@
"execution_count": 12,
"id": "1427e5d4",
"metadata": {
"collapsed": false,
"jupyter": {
"outputs_hidden": false
}
Expand Down Expand Up @@ -2241,7 +2226,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.10.6"
}
},
"nbformat": 4,
Expand Down
Loading