Searched refs:check_bad_bbox (Results 1 – 8 of 8) sorted by relevance
/third_party/mindspore/tests/ut/python/dataset/ |
D | test_resize_with_bbox.py | 24 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")
|
D | test_random_resize_with_bbox.py | 23 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")
|
D | test_random_crop_and_resize_with_bbox.py | 23 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")
|
D | test_random_horizontal_flip_with_bbox.py | 22 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")
|
D | test_random_vertical_flip_with_bbox.py | 23 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")
|
D | test_bounding_box_augment.py | 24 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")
|
D | test_random_crop_with_bbox.py | 24 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")
|
D | util.py | 355 def check_bad_bbox(data, test_op, invalid_bbox_type, expected_error): function
|