File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 62
62
"gallery_dirs" : "auto_examples" , # path to where to save gallery generated output
63
63
"backreferences_dir" : "gen_modules/backreferences" ,
64
64
"doc_module" : ("torchvision" ,),
65
+ "remove_config_comments" : True ,
65
66
}
66
67
67
68
napoleon_use_ivar = True
Original file line number Diff line number Diff line change 1
1
"""
2
2
==================================================
3
- transforms v2: End-to-end object detection example
3
+ Transforms v2: End-to-end object detection example
4
4
==================================================
5
5
6
6
Object detection is not supported out of the box by ``torchvision.transforms`` v1, since it only supports images.
20
20
import torchvision
21
21
22
22
23
- # sphinx_gallery_thumbnail_number = -1
24
23
def show (sample ):
25
24
import matplotlib .pyplot as plt
26
25
@@ -125,6 +124,7 @@ def load_example_coco_detection_dataset(**kwargs):
125
124
torch .manual_seed (3141 )
126
125
sample = dataset [0 ]
127
126
127
+ # sphinx_gallery_thumbnail_number = 2
128
128
show (sample )
129
129
130
130
You can’t perform that action at this time.
0 commit comments