(manifest_file, manifest_root, rois_per_img=256,
              height=1000, width=1000, inference=False)
return {'manifest_filename': manifest_file,
            'manifest_root': manifest_root,
            'etl': [image_config, localization_config],
            'cache_directory': get_data_cache_or_nothing(subdir='pascalvoc_cache'),
            'shuffle_enable': do_transforms,
            'shuffle_manifest': do_transforms,
            'batch_size': 1,
            'block_size': 100,
            'augmentation': [augmentation]}
Returns the aeon dataloader configuration for PASCAL VOC dataset.
Returns the aeon dataloader configuration for PASCAL VOC dataset.
Returns the aeon dataloader configuration for PASCAL VOC dataset .
def PASCALVOC(manifest_file, manifest_root, rois_per_img=256,
              height=1000, width=1000, inference=False):
    """
    Returns the aeon dataloader configuration for PASCAL VOC dataset.
    """

    CLASSES = ('__background__',
               'aeroplane', 'bicycle', 'bird', 'boat',
               'bottle', 'bus', 'car', 'cat', 'chair',
               'cow', 'diningtable', 'dog', 'horse',
               'motorbike', 'person', 'pottedplant',
               'sheep', 'sofa', 'train', 'tvmonitor')

    # if inference, we do not shuffle or flip
    do_transforms = not inference

    image_config = {"type": "image",
                    "height": height,
                    "width": width}

    localization_config = {"type": "localization_rcnn",
                           "height": height,
                           "width": width,
                           "rois_per_image": rois_per_img,
                           "class_names": CLASSES,
                           "scaling_factor": 1. / 16}

    augmentation = {"type": "image",
                    "fixed_aspect_ratio": True,
                    "flip_enable": do_transforms,
                    "crop_enable": False}

    return {'manifest_filename': manifest_file,
            'manifest_root': manifest_root,
            'etl': [image_config, localization_config],
            'cache_directory': get_data_cache_or_nothing(subdir='pascalvoc_cache'),
            'shuffle_enable': do_transforms,
            'shuffle_manifest': do_transforms,
            'batch_size': 1,
            'block_size': 100,
            'augmentation': [augmentation]}
def PASCALVOC ( manifest_file , manifest_root , rois_per_img = 256 , height = 1000 , width = 1000 , inference = False ) : CLASSES = ( '__background__' , 'aeroplane' , 'bicycle' , 'bird' , 'boat' , 'bottle' , 'bus' , 'car' , 'cat' , 'chair' , 'cow' , 'diningtable' , 'dog' , 'horse' , 'motorbike' , 'person' , 'pottedplant' , 'sheep' , 'sofa' , 'train' , 'tvmonitor' ) # if inference, we do not shuffle or flip do_transforms = not inference image_config = { "type" : "image" , "height" : height , "width" : width } localization_config = { "type" : "localization_rcnn" , "height" : height , "width" : width , "rois_per_image" : rois_per_img , "class_names" : CLASSES , "scaling_factor" : 1. / 16 } augmentation = { "type" : "image" , "fixed_aspect_ratio" : True , "flip_enable" : do_transforms , "crop_enable" : False } return { 'manifest_filename' : manifest_file , 'manifest_root' : manifest_root , 'etl' : [ image_config , localization_config ] , 'cache_directory' : get_data_cache_or_nothing ( subdir = 'pascalvoc_cache' ) , 'shuffle_enable' : do_transforms , 'shuffle_manifest' : do_transforms , 'batch_size' : 1 , 'block_size' : 100 , 'augmentation' : [ augmentation ] }