class documentation
class GroupDatasetExporter(DatasetExporter): (source)
Constructor: GroupDatasetExporter(export_dir)
Interface for exporting grouped datasets.
See :ref:`this page <writing-a-custom-dataset-exporter>` for information about implementing/using dataset exporters.
Parameters | |
export | the directory to write the export. This may be optional for some exporters |
Method | export |
Exports the given group to the dataset. |
Method | export |
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 |
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. |
Exports the given group to the dataset.
Parameters | |
group | a dict mapping group slice names to
fiftyone.core.sample.Sample instances |