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
"vscode:/vscode.git/clone" did not exist on "53d2990d9b60fae08437e98141eca5d9e393deaa"
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
Show 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):
...
@@ -8,7 +8,7 @@ class CocoCaptions(data.Dataset):
from
pycocotools.coco
import
COCO
from
pycocotools.coco
import
COCO
self
.
root
=
root
self
.
root
=
root
self
.
coco
=
COCO
(
annFile
)
self
.
coco
=
COCO
(
annFile
)
self
.
ids
=
self
.
coco
.
imgs
.
keys
()
self
.
ids
=
list
(
self
.
coco
.
imgs
.
keys
()
)
self
.
transform
=
transform
self
.
transform
=
transform
self
.
target_transform
=
target_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