Skip to content
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
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"gallery_dirs": "auto_examples", # path to where to save gallery generated output
"backreferences_dir": "gen_modules/backreferences",
"doc_module": ("torchvision",),
"remove_config_comments": True,
}

napoleon_use_ivar = True
Expand Down
4 changes: 2 additions & 2 deletions gallery/plot_transforms_v2_e2e.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
==================================================
transforms v2: End-to-end object detection example
Transforms v2: End-to-end object detection example
==================================================

Object detection is not supported out of the box by ``torchvision.transforms`` v1, since it only supports images.
Expand All @@ -20,7 +20,6 @@
import torchvision


# sphinx_gallery_thumbnail_number = -1
def show(sample):
import matplotlib.pyplot as plt

Expand Down Expand Up @@ -125,6 +124,7 @@ def load_example_coco_detection_dataset(**kwargs):
torch.manual_seed(3141)
sample = dataset[0]

# sphinx_gallery_thumbnail_number = 2
show(sample)


Expand Down