datadings.sets.types module

This module contains helper functions to create dictionaries with specific keys.

It is auto-generated by the generate_types.py script. Do not edit it directly. Instead add new types to generate_types.json.

datadings.sets.types.ADE20kData(key, image, label, label_image, parts_images)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label': label,
    'label_image': label_image,
    'parts_images': parts_images
}
datadings.sets.types.ANP460Data(key, image, experiments, anp, type)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'experiments': experiments,
    'anp': anp,
    'type': type
}
datadings.sets.types.ANP460Experiment(locations, map, answer, duration)[source]

Returns a dictionary:

{
    'locations': locations,
    'map': map,
    'answer': answer,
    'duration': duration
}
datadings.sets.types.ImageClassificationData(key, image, label)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label': label
}
datadings.sets.types.ImageCoarseClassificationData(key, image, label, coarse_label)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label': label,
    'coarse_label': coarse_label
}
datadings.sets.types.ImageData(key, image)[source]

Returns a dictionary:

{
    'key': key,
    'image': image
}
datadings.sets.types.ImageDisparitySegmentationData(key, image, label_image, disparity_image)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label_image': label_image,
    'disparity_image': disparity_image
}
datadings.sets.types.ImageInstanceSegmentationData(key, image, label_image, instance_image)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label_image': label_image,
    'instance_image': instance_image
}
datadings.sets.types.ImageNet21kData(key, image, label, label_tree)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label': label,
    'label_tree': label_tree
}
datadings.sets.types.ImageSegmentationData(key, image, label_image)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label_image': label_image
}
datadings.sets.types.MaskedImageSegmentationData(key, image, label_image, mask)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label_image': label_image,
    'mask': mask
}
datadings.sets.types.Places2017Data(key, image, label, label_image, instance_image, boundary)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'label': label,
    'label_image': label_image,
    'instance_image': instance_image,
    'boundary': boundary
}
datadings.sets.types.SaliencyData(key, image, experiments)[source]

Returns a dictionary:

{
    'key': key,
    'image': image,
    'experiments': experiments
}
datadings.sets.types.SaliencyExperiment(locations, map)[source]

Returns a dictionary:

{
    'locations': locations,
    'map': map
}
datadings.sets.types.SaliencyTimeseriesExperiment(locations, map, timestamps, fixations)[source]

Returns a dictionary:

{
    'locations': locations,
    'map': map,
    'timestamps': timestamps,
    'fixations': fixations
}