@@ -4,8 +4,8 @@ Getting started with transforms v2
...
@@ -4,8 +4,8 @@ Getting started with transforms v2
==================================
==================================
.. note::
.. note::
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_v2.ipynb>`_
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_getting_started.ipynb>`_
or :ref:`go to the end <sphx_glr_download_auto_examples_v2_transforms_plot_transforms_v2.py>` to download the full example code.
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_transforms_getting_started.py>` to download the full example code.
This example illustrates all of what you need to know to get started with the
This example illustrates all of what you need to know to get started with the
new :mod:`torchvision.transforms.v2` API. We'll cover simple tasks like
new :mod:`torchvision.transforms.v2` API. We'll cover simple tasks like
...
@@ -70,7 +70,7 @@ plot([img, out])
...
@@ -70,7 +70,7 @@ plot([img, out])
# <transforms>` to learn more about recommended practices and conventions, or
# <transforms>` to learn more about recommended practices and conventions, or
# explore more :ref:`examples <transforms_gallery>` e.g. how to use augmentation
# explore more :ref:`examples <transforms_gallery>` e.g. how to use augmentation