From 8e664c028a66a4865051a7c81de14dabf1159ba5 Mon Sep 17 00:00:00 2001 From: Daniel Dale Date: Wed, 20 Apr 2022 18:22:42 -0700 Subject: [PATCH 1/3] update broken gan tutorial link --- lightning_examples/basic-gan/gan.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning_examples/basic-gan/gan.py b/lightning_examples/basic-gan/gan.py index 251f68284..2768d6fc5 100644 --- a/lightning_examples/basic-gan/gan.py +++ b/lightning_examples/basic-gan/gan.py @@ -20,7 +20,7 @@ # ### MNIST DataModule # # Below, we define a DataModule for the MNIST Dataset. To learn more about DataModules, check out our tutorial -# on them or see the [latest docs](https://pytorch-lightning.readthedocs.io/en/latest/extensions/datamodules.html). +# on them or see the [latest docs](https://pytorch-lightning.readthedocs.io/en/latest/data/datamodule.html). # %% From 7f1138a1e0e0c477007695796876be85d8b2a23d Mon Sep 17 00:00:00 2001 From: Daniel Dale Date: Wed, 20 Apr 2022 20:35:30 -0700 Subject: [PATCH 2/3] trigger datamodules tutorial build (current docs failing due to stale link on publication branch: https://github.com/PyTorchLightning/lightning-tutorials/blob/publication/.notebooks/lightning_examples/datamodules.ipynb?short_path=646984d#L24) and update datamodules doc link to latest --- lightning_examples/datamodules/.meta.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning_examples/datamodules/.meta.yml b/lightning_examples/datamodules/.meta.yml index c53dcbcea..41b0fe3ed 100644 --- a/lightning_examples/datamodules/.meta.yml +++ b/lightning_examples/datamodules/.meta.yml @@ -8,7 +8,7 @@ description: This notebook will walk you through how to start using Datamodules. the release of `pytorch-lightning` version 0.9.0, we have included a new class called `LightningDataModule` to help you decouple data related hooks from your `LightningModule`. The most up to date documentation on datamodules can be found - [here](https://pytorch-lightning.readthedocs.io/en/stable/extensions/datamodules.html). + [here](https://pytorch-lightning.readthedocs.io/en/latest/data/datamodule.html). requirements: - torchvision accelerator: From 38fc269131ca6219bc2343551c7b04dd85c89ad4 Mon Sep 17 00:00:00 2001 From: Daniel Dale Date: Wed, 20 Apr 2022 21:08:12 -0700 Subject: [PATCH 3/3] update both datamodules and basic-gan tutorials to reference stable doc version --- lightning_examples/basic-gan/gan.py | 2 +- lightning_examples/datamodules/.meta.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lightning_examples/basic-gan/gan.py b/lightning_examples/basic-gan/gan.py index 2768d6fc5..f0b984f30 100644 --- a/lightning_examples/basic-gan/gan.py +++ b/lightning_examples/basic-gan/gan.py @@ -20,7 +20,7 @@ # ### MNIST DataModule # # Below, we define a DataModule for the MNIST Dataset. To learn more about DataModules, check out our tutorial -# on them or see the [latest docs](https://pytorch-lightning.readthedocs.io/en/latest/data/datamodule.html). +# on them or see the [latest docs](https://pytorch-lightning.readthedocs.io/en/stable/extensions/datamodules.html). # %% diff --git a/lightning_examples/datamodules/.meta.yml b/lightning_examples/datamodules/.meta.yml index 41b0fe3ed..93a86ce8a 100644 --- a/lightning_examples/datamodules/.meta.yml +++ b/lightning_examples/datamodules/.meta.yml @@ -7,8 +7,8 @@ build: 3 description: This notebook will walk you through how to start using Datamodules. With the release of `pytorch-lightning` version 0.9.0, we have included a new class called `LightningDataModule` to help you decouple data related hooks from your `LightningModule`. - The most up to date documentation on datamodules can be found - [here](https://pytorch-lightning.readthedocs.io/en/latest/data/datamodule.html). + The most up-to-date documentation on datamodules can be found + [here](https://pytorch-lightning.readthedocs.io/en/stable/extensions/datamodules.html). requirements: - torchvision accelerator: