migrate-aistudio-dataset.py
- liCO AIStudio dataset
conversion tool
python3 migrate-aistudio-dataset.py [options]
migrate-aistudio-dataset.py
Supports LiCO V7.0.0 and
later versions.Convert AIStudio datasets to LaDL datasets between LiCO
versions.
-h
, --help
β show this help message and exit.
-a
β Migrate all datasets
-l
β List AIStudio dataset information.
-u
β Migrates the AIStudio dataset UUID specified for a single dataset. This can be found by using the -l parameter to display the resulting dataset details.
-o
β The output directory after migration.
-H
β An attempt is made to obtain the userβs home directory. If this fails, the user is required to pass in this parameter.
-t
, {standard,autodl,all}
β Type of the object detection dataset to be exported.
β standard: LaDL Default Format;
β autodl: LaDL AutoDL Format;
β all[default]: Both standard and autodl are generated.
-d
β Delete the AIStudio dataset after migration.
View AI Studio dataset details
python3 migrate-aistudio-dataset.py -l
Migrate all AIStudio datasets
python3 migrate-aistudio-dataset.py -a
Migrate all AIStudio datasets and delete them
python3 migrate-aistudio-dataset.py -a -o <output_dir> -d
Migrate the specified AIStudio dataset
python3 migrate-aistudio-dataset.py -u <uuid> -o <output_dir>
Migrate the specified AIStudio dataset and delete it
python3 migrate-aistudio-dataset.py -u <uuid> -o <output_dir> -d
The migration specifies that the AIStudio Object type data set is in autodl format
python3 migrate-aistudio-dataset.py -u <uuid> -o <output_dir> -t autodl