datumaro.plugins.data_formats.arrow.format#

Classes

DatumaroArrow()

class datumaro.plugins.data_formats.arrow.format.DatumaroArrow[source]#

Bases: object

SIGNATURE = 'signature:datumaro_arrow'#
VERSION = '2.0'#
MP_TIMEOUT = 300.0#
ID_FIELD = 'id'#
SUBSET_FIELD = 'subset'#
IMAGE_FIELD = StructType(struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>)#
POINT_CLOUD_FIELD = StructType(struct<has_bytes: bool, bytes: binary, path: string, extra_images: list<image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>>>)#
MEDIA_FIELD = StructType(struct<type: uint8, image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>, point_cloud: struct<has_bytes: bool, bytes: binary, path: string, extra_images: list<image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>>>>)#
SCHEMA = id: string subset: string media: struct<type: uint8, image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>, point_cloud: struct<has_bytes: bool, bytes: binary, path: string, extra_images: list<image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>>>>   child 0, type: uint8   child 1, image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>       child 0, has_bytes: bool       child 1, bytes: binary       child 2, path: string       child 3, size: fixed_size_list<item: uint16>[2]           child 0, item: uint16   child 2, point_cloud: struct<has_bytes: bool, bytes: binary, path: string, extra_images: list<image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>>>       child 0, has_bytes: bool       child 1, bytes: binary       child 2, path: string       child 3, extra_images: list<image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>>           child 0, image: struct<has_bytes: bool, bytes: binary, path: string, size: fixed_size_list<item: uint16>[2]>               child 0, has_bytes: bool               child 1, bytes: binary               child 2, path: string               child 3, size: fixed_size_list<item: uint16>[2]                   child 0, item: uint16 annotations: binary attributes: binary#
classmethod check_signature(signature: str)[source]#
classmethod check_schema(schema: Schema)[source]#
classmethod check_version(version: str)[source]#
classmethod create_schema_with_metadata(extractor: IDataset)[source]#