You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`dataset_name`|`str`|`None`| Name of the dataset to load. If not provided, the `dataset_dir` must be provided instead |
18
-
|`dataset_dir`|`str`|`None`| Path to the directory containing the dataset. If not provided, the `dataset_name` must be provided instead. Can be a path to a local directory or a URL. The data can be in a zip archive. New `LuxonisDataset` will be created using data from this directory and saved under the provided `dataset_name`|
19
-
|`dataset_type`|`Literal["coco", "voc", "darknet", "yolov6", "yolov4", "createml", "tfcsv", "clsdir", "segmask"] \| None`|`None`| Type of the dataset. If not provided, the type will be inferred from the directory structure |
20
-
|`team_id`|`str \| None`|`None`| Optional unique team identifier for the cloud |
21
-
|`bucket_storage`|`Literal["local", "s3", "gcs"]`|`"local"`| Type of the bucket storage |
22
-
|`delete_existing`|`bool`|`False`| Whether to delete the existing dataset with the same name. Only relevant if `dataset_dir` is provided. Use if you want to reparse the directory in case the data changed |
23
-
|`update_mode`|`Literal["all", "missing"]`|`all`| Select whether to download all remote dataset media files or only those missing locally |
24
-
|`min_bbox_visibility`|`float`|`0.0`| Minimum fraction of the original bounding box that must remain visible after augmentation. |
25
-
|`bbox_area_threshold`|`float`|`0.0004`| Minimum area threshold for bounding boxes to be considered valid (relative units in [0,1]). Boxes (and their related keypoints) with area below this will be filtered out. |
|`dataset_name`|`str`|`None`| Name of the dataset to load. If not provided, the `dataset_dir` must be provided instead |
18
+
|`dataset_dir`|`str`|`None`| Path to the directory containing the dataset. If not provided, the `dataset_name` must be provided instead. Can be a path to a local directory or a URL. The data can be in a zip archive. New `LuxonisDataset` will be created using data from this directory and saved under the provided `dataset_name`|
19
+
|`dataset_type`|`Literal["coco", "voc", "darknet", "yolov6", "yolov4", "createml", "tfcsv", "clsdir", "segmask"] \| None`|`None`| Type of the dataset. If not provided, the type will be inferred from the directory structure |
20
+
|`team_id`|`str \| None`|`None`| Optional unique team identifier for the cloud |
21
+
|`bucket_storage`|`Literal["local", "s3", "gcs"]`|`"local"`| Type of the bucket storage |
22
+
|`delete_existing`|`bool`|`False`| Whether to delete the existing dataset with the same name. Only relevant if `dataset_dir` is provided. Use if you want to reparse the directory in case the data changed |
23
+
|`update_mode`|`Literal["all", "missing"]`|`all`| Select whether to download all remote dataset media files or only those missing locally |
24
+
|`min_bbox_visibility`|`float`|`0.0`| Minimum fraction of the original bounding box that must remain visible after augmentation. |
25
+
|`bbox_area_threshold`|`float`|`0.0004`| Minimum area threshold for bounding boxes to be considered valid (relative units in [0,1]). Boxes (and their related keypoints) with area below this will be filtered out. |
26
+
|`class_order_per_task`|`dict[str, List[str]] \| None`|`None`| If provided, the classes for the specified tasks will be reordered in the dataset. |
0 commit comments