Skip to content

Commit 6033c10

Browse files
vfdev-5ppwwyyxx
authored andcommitted
Update README.md (#9)
Fix a small typo
1 parent a9ccfe0 commit 6033c10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ class MyDataset(object):
134134
labels = torch.tensor([10, 20])
135135

136136
# create a BoxList from the boxes
137-
boxlist = Boxlist(boxes, size=image.size, mode="xyxy")
137+
boxlist = BoxList(boxes, size=image.size, mode="xyxy")
138138
# add the labels to the boxlist
139139
boxlist.add_field("labels", labels)
140140

0 commit comments

Comments
 (0)