deeplake.auto.unstructured.image_classification¶
-
class
deeplake.auto.unstructured.image_classification.ImageClassification(source: str)¶ -
structure()¶ 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.
- shuffle (bool) – Defines if the file paths should be shuffled prior to ingestion. Defaults to True.
- image_tensor_args (dict) – Defines the parameters for the images tensor.
- label_tensor_args (dict) – Defines the parameters for the class_labels tensor.
- num_workers (int) – The number of workers passed to compute.
Returns: A Deep Lake dataset.
-