deeplake.auto.unstructured.image_classification¶
- class deeplake.auto.unstructured.image_classification.ImageClassification(source: str)¶
- structure(ds: Dataset, progressbar: bool = True, generate_summary: bool = True, image_tensor_args: dict = {}) Dataset ¶
Create a structured dataset.
- Parameters:
ds (Dataset) – A Deep Lake dataset object.
progressbar (bool) – Defines if the method uses a progress bar. Defaults to True.
generate_summary (bool) – Defines if the method generates ingestion summary. Defaults to True.
image_tensor_args (dict) – Defines the sample compression of the dataset (jpeg or png).
- Returns:
A Deep Lake dataset.