Skip to content

Commit

Permalink
[fbsync] Just a typo (#8341)
Browse files Browse the repository at this point in the history
Reviewed By: vmoens

Differential Revision: D57099468

fbshipit-source-id: 2d8420d1a2932d83bc3df269c7f698400cfd264d
  • Loading branch information
NicolasHug authored and facebook-github-bot committed May 8, 2024
1 parent 9d2c901 commit eb3e353
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gallery/transforms/plot_transforms_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
# We need a custom collation function here, since the object detection
# models expect a sequence of images and target dictionaries. The default
# collation function tries to torch.stack() the individual elements,
# which fails in general for object detection, because the number of bouding
# 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.
collate_fn=lambda batch: tuple(zip(*batch)),
)

Expand Down

0 comments on commit eb3e353

Please sign in to comment.