Skip to content

Commit

Permalink
Update README.md (#9)
Browse files Browse the repository at this point in the history
Fix a small typo
  • Loading branch information
vfdev-5 authored and fmassa committed Oct 25, 2018
1 parent 9576f5c commit b200ecb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class MyDataset(object):
labels = torch.tensor([10, 20])

# create a BoxList from the boxes
boxlist = Boxlist(boxes, size=image.size, mode="xyxy")
boxlist = BoxList(boxes, size=image.size, mode="xyxy")
# add the labels to the boxlist
boxlist.add_field("labels", labels)

Expand Down

0 comments on commit b200ecb

Please sign in to comment.