deeplake.auto.unstructured.image_classification

class deeplake.auto.unstructured.image_classification.ImageClassification(source: str)
structure(ds: Dataset, use_progress_bar: bool = True, generate_summary: bool = True, image_tensor_args: dict = {}) Dataset

Create a structured dataset.

Parameters:
  • ds (Dataset) – A Deep Lake dataset object.

  • use_progress_bar (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.