![]() ![]() Particular label field that you wish to export. Note the LABEL_FIELD argument in the above example, which specifies the # The name of the sample field containing the label that you wish to export # Used when exporting labeled datasets (e.g., classification or detection) LABEL_FIELD =ground_truth # for example # The type of dataset to export # Any subclass of `` is supported TYPE = # for example # Export the datasetįiftyone datasets export $NAME \ -export-dir $EXPORT_DIR \ -type $TYPE \ -label-field $LABEL_FIELD # The name of the FiftyOne dataset to export NAME = "your-dataset" # The directory to which to write the exported dataset EXPORT_DIR =/path/for/export Parameters to independently customize the location of the exported mediaĪnd labels, including labels-only exports: For example, you can use the data_path and labels_path Method also provides additional parameters that you can use to configure This is necessary if yourįiftyOne dataset contains multiple label fields. Note the label_field argument in the above example, which specifies the export ( export_dir = export_dir, dataset_type = dataset_type, label_field = label_field, ) COCODetectionDataset # for example # Export the dataset dataset_or_view. ) # The directory to which to write the exported dataset export_dir = "/path/for/export" # The name of the sample field containing the label that you wish to export # Used when exporting labeled datasets (e.g., classification or detection) label_field = "ground_truth" # for example # The type of dataset to export # Any subclass of `` is supported dataset_type = fo. Import fiftyone as fo # The Dataset or DatasetView containing the samples you wish to export dataset_or_view = fo. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |