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
xxxxxxxxxx
python3 migrate-aistudio-dataset.py -a
Migrate all AIStudio datasets and delete them
xxxxxxxxxx
python3 migrate-aistudio-dataset.py -a -o <output_dir> -d
Migrate the specified AIStudio dataset
xxxxxxxxxx
python3 migrate-aistudio-dataset.py -u <uuid> -o <output_dir>
Migrate the specified AIStudio dataset and delete it
xxxxxxxxxx
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
xxxxxxxxxx
python3 migrate-aistudio-dataset.py -u <uuid> -o <output_dir> -t autodl