AIStudio DataSet Migrate Tool

Conversion tool for dataset

NAME

migrate-aistudio-dataset.py - liCO AIStudio dataset conversion tool

SYNOPSIS

python3 migrate-aistudio-dataset.py [options]

DESCRIPTION

migrate-aistudio-dataset.py Supports LiCO V7.0.0 and later versions.Convert AIStudio datasets to LaDL datasets between LiCO versions.

OPTIONS

-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.

EXAMPLES:

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