Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
df75fa63
Commit
df75fa63
authored
Feb 23, 2017
by
Sean Robertson
Committed by
Adam Paszke
Feb 24, 2017
Browse files
minor fix for python3
parent
04fde085
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torchvision/datasets/coco.py
torchvision/datasets/coco.py
+1
-1
No files found.
torchvision/datasets/coco.py
View file @
df75fa63
...
...
@@ -8,7 +8,7 @@ class CocoCaptions(data.Dataset):
from
pycocotools.coco
import
COCO
self
.
root
=
root
self
.
coco
=
COCO
(
annFile
)
self
.
ids
=
self
.
coco
.
imgs
.
keys
()
self
.
ids
=
list
(
self
.
coco
.
imgs
.
keys
()
)
self
.
transform
=
transform
self
.
target_transform
=
target_transform
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment