Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
maskrcnn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
人工智能
maskrcnn
Commits
3b726c68
Commit
3b726c68
authored
Oct 25, 2018
by
Kongsea
Committed by
Francisco Massa
Oct 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a bug. (#13)
parent
85e1ac4d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
list_dataset.py
maskrcnn_benchmark/data/datasets/list_dataset.py
+2
-2
No files found.
maskrcnn_benchmark/data/datasets/list_dataset.py
View file @
3b726c68
...
...
@@ -9,7 +9,7 @@ from maskrcnn_benchmark.structures.bounding_box import BoxList
class
ListDataset
(
object
):
def
__init__
(
self
,
image_list
,
transforms
=
None
):
def
__init__
(
self
,
image_list
s
,
transforms
=
None
):
self
.
image_lists
=
image_lists
self
.
transforms
=
transforms
...
...
@@ -26,7 +26,7 @@ class ListDataset(object):
return
img
,
target
def
__len__
(
self
):
return
len
(
image_lists
)
return
len
(
self
.
image_lists
)
def
get_img_info
(
self
,
item
):
"""
...
...
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