Home
last modified time | relevance | path

Searched refs:InvalidBBoxType (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, \
164 …check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
166 …check_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, \
198 …check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
200 …check_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, \
200 …check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
202 …check_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, \
200 …check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds …
202 …check_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, \
201 …check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
203 …check_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, \
259 …check_bad_bbox(dataVoc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds …
261 …check_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, \
235 …check_bad_bbox(data_voc2, test_op, InvalidBBoxType.WidthOverflow, "bounding boxes is out of bounds…
237 …check_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.py345 class InvalidBBoxType(Enum): class
374 if invalid_bbox_type_ == InvalidBBoxType.WidthOverflow:
378 if invalid_bbox_type_ == InvalidBBoxType.HeightOverflow:
382 if invalid_bbox_type_ == InvalidBBoxType.NegativeXY:
386 if invalid_bbox_type_ == InvalidBBoxType.WrongShape: