datumaro.components.extractor_tfds#

Classes

TfdsDataset(tfds_ds_name)

TfdsDatasetMetadata(*, human_name, ...[, ...])

Method generated by attrs for class TfdsDatasetMetadata.

TfdsDatasetRemoteMetadata(*, human_name, ...)

Method generated by attrs for class TfdsDatasetRemoteMetadata.

TfdsSubsetRemoteMetadata(*, num_items)

Method generated by attrs for class TfdsSubsetRemoteMetadata.

class datumaro.components.extractor_tfds.TfdsDatasetMetadata(*, human_name: str, default_output_format: str, media_type: Type[MediaElement], home_url: str | None = None)[source]#

Bases: object

Method generated by attrs for class TfdsDatasetMetadata.

human_name: str#
default_output_format: str#
media_type: Type[MediaElement]#
home_url: str | None#
class datumaro.components.extractor_tfds.TfdsSubsetRemoteMetadata(*, num_items: int)[source]#

Bases: object

Method generated by attrs for class TfdsSubsetRemoteMetadata.

num_items: int#
class datumaro.components.extractor_tfds.TfdsDatasetRemoteMetadata(*, human_name: str, default_output_format: str, media_type: Type[MediaElement], home_url: str | None = None, description: str, download_size: int, subsets: Mapping[str, TfdsSubsetRemoteMetadata], num_classes: int | None, version: str)[source]#

Bases: TfdsDatasetMetadata

Method generated by attrs for class TfdsDatasetRemoteMetadata.

description: str#
download_size: int#
subsets: Mapping[str, TfdsSubsetRemoteMetadata]#
num_classes: int | None#
version: str#
class datumaro.components.extractor_tfds.TfdsDataset(tfds_ds_name: str)[source]#

Bases: object

property metadata: TfdsDatasetMetadata#
make_extractor() IDataset[source]#
query_remote_metadata() TfdsDatasetRemoteMetadata[source]#