We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a4bdf3 commit f22b01fCopy full SHA for f22b01f
gallery/transforms/plot_transforms_e2e.py
@@ -151,8 +151,8 @@
151
# We need a custom collation function here, since the object detection
152
# models expect a sequence of images and target dictionaries. The default
153
# collation function tries to torch.stack() the individual elements,
154
- # which fails in general for object detection, because the number of bouding
155
- # boxes varies between the images of a same batch.
+ # which fails in general for object detection, because the number of bounding
+ # boxes varies between the images of the same batch.
156
collate_fn=lambda batch: tuple(zip(*batch)),
157
)
158
0 commit comments