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
4a21d69f
Commit
4a21d69f
authored
Mar 01, 2019
by
Erik
Committed by
Francisco Massa
Mar 01, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
typo fixed (#517)
parent
0ac6af16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
bounding_box.py
maskrcnn_benchmark/structures/bounding_box.py
+1
-1
No files found.
maskrcnn_benchmark/structures/bounding_box.py
View file @
4a21d69f
...
@@ -25,7 +25,7 @@ class BoxList(object):
...
@@ -25,7 +25,7 @@ class BoxList(object):
)
)
if
bbox
.
size
(
-
1
)
!=
4
:
if
bbox
.
size
(
-
1
)
!=
4
:
raise
ValueError
(
raise
ValueError
(
"last dimenion of bbox should have a "
"last dimen
s
ion of bbox should have a "
"size of 4, got {}"
.
format
(
bbox
.
size
(
-
1
))
"size of 4, got {}"
.
format
(
bbox
.
size
(
-
1
))
)
)
if
mode
not
in
(
"xyxy"
,
"xywh"
):
if
mode
not
in
(
"xyxy"
,
"xywh"
):
...
...
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