AI开发平台MODELARTS-创建导入任务:请求示例

时间:2025-03-05 09:28:40

请求示例

  • 创建导入(从OBS导入)任务

    {
      "import_type" : "dir",
      "import_path" : "s3://test-obs/daoLu_images/animals/",
      "included_labels" : [ ],
      "import_annotations" : false,
      "difficult_only" : false
    }
  • 创建导入(从Manifest导入)任务

    {
      "import_type" : "manifest",
      "import_path" : "s3://test-obs/classify/output/dataset-f9e8-gfghHSokody6AJigS5A/annotation/V002/V002.manifest",
      "included_labels" : [ "rabbits", "bees", "Rabbits", "Bees" ],
      "import_annotations" : true,
      "difficult_only" : false
    }
support.huaweicloud.com/api-modelarts/ImportTask.html