class documentation

Interface for exporting grouped datasets.

See :ref:`this page <writing-a-custom-dataset-exporter>` for information about implementing/using dataset exporters.

Parameters
export_dirthe directory to write the export. This may be optional for some exporters
Method export_group Exports the given group to the dataset.
Method export_sample Exports the given sample to the dataset.

Inherited from DatasetExporter:

Method __enter__ Undocumented
Method __exit__ Undocumented
Method __init__ Undocumented
Method close Performs any necessary actions after the last sample has been exported.
Method log_collection Logs any relevant information about the fiftyone.core.collections.SampleCollection whose samples will be exported.
Method setup Performs any necessary setup before exporting the first sample in the dataset.
def export_group(self, group): (source)

Exports the given group to the dataset.

Parameters
groupa dict mapping group slice names to fiftyone.core.sample.Sample instances
def export_sample(self, *args, **kwargs): (source)

Exports the given sample to the dataset.

Parameters
*argssubclass-specific positional arguments
**kwargssubclass-specific keyword arguments