Commit 322d4444 authored by Kaushik Shivakumar's avatar Kaushik Shivakumar
Browse files

minor style elements

parent 70cb8516
...@@ -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.
......
...@@ -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):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment