def test_with_no_scores_field(self):
    boxlist = np_box_list.BoxList(self._boxes)
    max_output_size = 3
    iou_threshold = 0.5
    with self.assertRaises(ValueError):
        np_box_list_ops.non_max_suppression(boxlist, max_output_size, iou_threshold)
def test_with_no_scores_field(self):
    boxlist = np_box_list.BoxList(self._boxes)
    max_output_size = 3
    iou_threshold = 0.5
    with self.assertRaises(ValueError):
        np_box_list_ops.non_max_suppression(boxlist, max_output_size, iou_threshold)