Unverified Commit 5760f356 authored by kingyiusuen's avatar kingyiusuen Committed by GitHub
Browse files

Change transforms gallery thumbnail (#4505)

* Change transforms gallery thumbnail

* Change visualization utils and repurposing annotations gallery thumbnails
parent 194a0846
...@@ -10,6 +10,7 @@ segmentation masks into object localization annotations for different tasks ...@@ -10,6 +10,7 @@ segmentation masks into object localization annotations for different tasks
methods into bounding boxes used by object detection methods). methods into bounding boxes used by object detection methods).
""" """
# sphinx_gallery_thumbnail_path = "../../gallery/assets/repurposing_annotations_thumbnail.png"
import os import os
import numpy as np import numpy as np
......
...@@ -7,6 +7,8 @@ This example illustrates the various transforms available in :ref:`the ...@@ -7,6 +7,8 @@ This example illustrates the various transforms available in :ref:`the
torchvision.transforms module <transforms>`. torchvision.transforms module <transforms>`.
""" """
# sphinx_gallery_thumbnail_path = "../../gallery/assets/transforms_thumbnail.png"
from PIL import Image from PIL import Image
from pathlib import Path from pathlib import Path
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
......
...@@ -7,6 +7,7 @@ This example illustrates some of the utilities that torchvision offers for ...@@ -7,6 +7,7 @@ This example illustrates some of the utilities that torchvision offers for
visualizing images, bounding boxes, and segmentation masks. visualizing images, bounding boxes, and segmentation masks.
""" """
# sphinx_gallery_thumbnail_path = "../../gallery/assets/visualization_utils_thumbnail.png"
import torch import torch
import numpy as np import numpy as np
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment