class PersonVehicleBikeDetection2002TestCase(
        create_test_case(
            'person-vehicle-bike-detection',
            'person-vehicle-bike-detection-2002',
            '../../../../../data/airport/annotation_example_train.json',
            '../../../../../data/airport/train')):
    """ Test case for person-vehicle-bike-detection-2002 model. """
Esempio n. 2
0
class FaceDetection0207TestCase(
        create_test_case(
            'face-detection', 'face-detection-0207',
            os.path.dirname(__file__) +
            '/../../../data/airport/annotation_faces_train.json',
            os.path.dirname(__file__) + '/../../../data/airport/')):
    """ Test case for face-detection-0207 model. """
class PersonVehicleBikeDetection2001TestCase(
        create_test_case(
            'person-vehicle-bike-detection',
            'person-vehicle-bike-detection-2001',
            os.path.dirname(__file__) +
            '/../../../data/airport/annotation_example_train.json',
            os.path.dirname(__file__) + '/../../../data/airport/train')):
    """ Test case for person-vehicle-bike-detection-2001 model. """
class HorizontalTextDetection0001TestCase(
        create_test_case(
            'horizontal-text-detection', 'horizontal-text-detection-0001',
            os.path.dirname(__file__) +
            '/../../../data/horizontal_text_detection/annotation.json',
            os.path.dirname(__file__) +
            '/../../../data/horizontal_text_detection/')):
    """ Test case for horizontal-text-detection-0001 model. """
Esempio n. 5
0
class VehicleDetection0204TestCase(
        create_test_case(
            'vehicle-detection', 'vehicle-detection-0204',
            os.path.dirname(__file__) +
            '/../../../data/vehicle_detection/annotation_train.json',
            os.path.dirname(__file__) +
            '/../../../data/vehicle_detection/train')):
    """ Test case for vehicle-detection-0204 model. """
Esempio n. 6
0
class PersonDetection0202TestCase(
        create_test_case(
            'person-detection',
            'person-detection-0202',
            os.path.dirname(__file__) + '/../../../data/airport/annotation_person_train.json',
            os.path.dirname(__file__) + '/../../../data/airport/train'
        )
):
    """ Test case for person-detection-0202 model. """
class InstanceSegmentation0912TestCase(
        create_test_case(
            'coco-instance-segmentation',
            'instance-segmentation-0912',
            os.path.dirname(__file__) + '/../../../data/coco/instances_val2017_20imgs.json',
            os.path.dirname(__file__) + '/../../../data/coco/val2017'
        )
):
    """ Test case for instance-segmentation-0912 model. """
Esempio n. 8
0
class PersonDetection0202TestCase(
        create_test_case(
            'person-detection', 'person-detection-0202',
            '../../../../../data/airport/annotation_person_train.json',
            '../../../../../data/airport/train')):
    """ Test case for person-detection-0202 model. """