Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

Commit 65eedbd

Browse files
vfdev-5fmassa
authored andcommitted
Update README.md (#9)
Fix a small typo
1 parent 3b6b9e7 commit 65eedbd

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)