Home
last modified time | relevance | path

Searched refs:check_bad_bbox (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/tests/ut/python/dataset/
Dtest_resize_with_bbox.py24 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
164check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
166check_bad_bbox(data_voc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bound…
168 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
170 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_random_resize_with_bbox.py23 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
198check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
200check_bad_bbox(data_voc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bound…
202 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
204 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_random_crop_and_resize_with_bbox.py23 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
200check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
202check_bad_bbox(data_voc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bound…
204 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
206 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_random_horizontal_flip_with_bbox.py22 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
200check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds …
202check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bounds…
204 check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
206 check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_random_vertical_flip_with_bbox.py23 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
201check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
203check_bad_bbox(data_voc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bound…
205 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
207 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_bounding_box_augment.py24 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
259check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds …
261check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bounds…
263 check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
265 check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dtest_random_crop_with_bbox.py24 from util import visualize_with_bounding_boxes, InvalidBBoxType, check_bad_bbox, \
235check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
237check_bad_bbox(data_voc2, test_op, InvalidBBoxType.HeightOverflow, "bounding boxes is out of bound…
239 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.NegativeXY, "negative value")
241 check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WrongShape, "4 features")
Dutil.py355 def check_bad_bbox(data, test_op, invalid_bbox_type, expected_error): function