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
ModelZoo
ResNet50_tensorflow
Commits
322d4444
Commit
322d4444
authored
Jul 27, 2020
by
Kaushik Shivakumar
Browse files
minor style elements
parent
70cb8516
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
research/object_detection/core/box_list_ops.py
research/object_detection/core/box_list_ops.py
+1
-0
research/object_detection/core/target_assigner.py
research/object_detection/core/target_assigner.py
+0
-1
No files found.
research/object_detection/core/box_list_ops.py
View file @
322d4444
...
@@ -34,6 +34,7 @@ from object_detection.core import box_list
...
@@ -34,6 +34,7 @@ from object_detection.core import box_list
from
object_detection.utils
import
ops
from
object_detection.utils
import
ops
from
object_detection.utils
import
shape_utils
from
object_detection.utils
import
shape_utils
class
SortOrder
(
object
):
class
SortOrder
(
object
):
"""Enum class for sort order.
"""Enum class for sort order.
...
...
research/object_detection/core/target_assigner.py
View file @
322d4444
...
@@ -163,7 +163,6 @@ class TargetAssigner(object):
...
@@ -163,7 +163,6 @@ class TargetAssigner(object):
ValueError: if anchors or groundtruth_boxes are not of type
ValueError: if anchors or groundtruth_boxes are not of type
box_list.BoxList
box_list.BoxList
"""
"""
if
not
isinstance
(
anchors
,
box_list
.
BoxList
):
if
not
isinstance
(
anchors
,
box_list
.
BoxList
):
raise
ValueError
(
'anchors must be an BoxList'
)
raise
ValueError
(
'anchors must be an BoxList'
)
if
not
isinstance
(
groundtruth_boxes
,
box_list
.
BoxList
):
if
not
isinstance
(
groundtruth_boxes
,
box_list
.
BoxList
):
...
...
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