Skip to content

Commit 4d82b31

Browse files
authored
Typo fix: collab -> Colab (#8512)
1 parent 311ebaf commit 4d82b31

12 files changed

+15
-15
lines changed

.github/workflows/docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
sed -i -e 's/-j auto/-j 1/' Makefile
5858
make html
5959
60-
# Below is an imperfect way for us to add "try on collab" links to all of our gallery examples.
60+
# Below is an imperfect way for us to add "try on Colab" links to all of our gallery examples.
6161
# sphinx-gallery will convert all gallery examples to .ipynb notebooks and stores them in
6262
# build/html/_downloads/<some_hash>/<example_name>.ipynb
6363
# We copy all those ipynb files in a more convenient folder so that we can more easily link to them.

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
# We override sphinx-gallery's example header to prevent sphinx-gallery from
6060
# creating a note at the top of the renderred notebook.
6161
# https://github.com/sphinx-gallery/sphinx-gallery/blob/451ccba1007cc523f39cbcc960ebc21ca39f7b75/sphinx_gallery/gen_rst.py#L1267-L1271
62-
# This is because we also want to add a link to google collab, so we write our own note in each example.
62+
# This is because we also want to add a link to google Colab, so we write our own note in each example.
6363
from sphinx_gallery import gen_rst
6464

6565
gen_rst.EXAMPLE_HEADER = """

gallery/others/plot_optical_flow.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=====================================================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_optical_flow.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_optical_flow.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_others_plot_optical_flow.py>` to download the full example code.
99
1010
Optical flow is the task of predicting movement between two images, usually two

gallery/others/plot_scripted_tensor_transforms.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
===================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_scripted_tensor_transforms.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_scripted_tensor_transforms.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_others_plot_scripted_tensor_transforms.py>` to download the full example code.
99
1010
This example illustrates `torchscript
@@ -26,7 +26,7 @@
2626
plt.rcParams["savefig.bbox"] = 'tight'
2727
torch.manual_seed(1)
2828

29-
# If you're trying to run that on collab, you can download the assets and the
29+
# If you're trying to run that on Colab, you can download the assets and the
3030
# helpers from https://github.com/pytorch/vision/tree/main/gallery/
3131
import sys
3232
sys.path += ["../transforms"]

gallery/others/plot_video_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=========
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_video_api.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_video_api.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_others_plot_video_api.py>` to download the full example code.
99
1010
This example illustrates some of the APIs that torchvision offers for

gallery/others/plot_visualization_utils.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=======================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_visualization_utils.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_visualization_utils.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_others_plot_visualization_utils.py>` to download the full example code.
99
1010
This example illustrates some of the utilities that torchvision offers for

gallery/transforms/plot_custom_transforms.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
===================================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_custom_transforms.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_custom_transforms.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_custom_transforms.py>` to download the full example code.
99
1010
This guide explains how to write transforms that are compatible with the

gallery/transforms/plot_custom_tv_tensors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
====================================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_custom_tv_tensors.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_custom_tv_tensors.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_custom_tv_tensors.py>` to download the full example code.
99
1010
This guide is intended for advanced users and downstream library maintainers. We explain how to

gallery/transforms/plot_cutmix_mixup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
===========================
66
77
.. note::
8-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_cutmix_mixup.ipynb>`_
8+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_cutmix_mixup.ipynb>`_
99
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_cutmix_mixup.py>` to download the full example code.
1010
1111
:class:`~torchvision.transforms.v2.CutMix` and

gallery/transforms/plot_transforms_e2e.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
===============================================================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_e2e.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_e2e.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_transforms_e2e.py>` to download the full example code.
99
1010
Object detection and segmentation tasks are natively supported:
@@ -30,7 +30,7 @@
3030

3131
# This loads fake data for illustration purposes of this example. In practice, you'll have
3232
# to replace this with the proper data.
33-
# If you're trying to run that on collab, you can download the assets and the
33+
# If you're trying to run that on Colab, you can download the assets and the
3434
# helpers from https://github.com/pytorch/vision/tree/main/gallery/
3535
ROOT = pathlib.Path("../assets") / "coco"
3636
IMAGES_PATH = str(ROOT / "images")

gallery/transforms/plot_transforms_illustrations.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
==========================
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_illustrations.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_transforms_illustrations.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_transforms_illustrations.py>` to download the full example code.
99
1010
This example illustrates some of the various transforms available in :ref:`the
@@ -27,7 +27,7 @@
2727
# properly show that the image can be both transformed and *not* transformed!
2828
torch.manual_seed(0)
2929

30-
# If you're trying to run that on collab, you can download the assets and the
30+
# If you're trying to run that on Colab, you can download the assets and the
3131
# helpers from https://github.com/pytorch/vision/tree/main/gallery/
3232
from helpers import plot
3333
orig_img = Image.open(Path('../assets') / 'astronaut.jpg')

gallery/transforms/plot_tv_tensors.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
=============
55
66
.. note::
7-
Try on `collab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_tv_tensors.ipynb>`_
7+
Try on `Colab <https://colab.research.google.com/github/pytorch/vision/blob/gh-pages/main/_generated_ipynb_notebooks/plot_tv_tensors.ipynb>`_
88
or :ref:`go to the end <sphx_glr_download_auto_examples_transforms_plot_tv_tensors.py>` to download the full example code.
99
1010

0 commit comments

Comments
 (0)