自动驾驶云服务 Octopus-创建数据集版本:请求示例

时间:2025-02-12 14:54:15

请求示例

  • 创建 数据仓库 类型的数据集版本

    POST https://{endpoint}/v1.0/{project_id}/common/datasets/61a22ebc-49b3-40b5-b16f-ab9aebd2b231/versions{  "agreement_confirm" : true,  "description" : "数据集版本",  "command" : "command",  "custom_image" : "10293:1",  "warehouse_params" : {    "raw_data_ids" : [ "DPK0003878" ],    "and_tags" : [ 956 ],    "and_custom_attributes" : [ "61153deb-88ad-4f66-8bad-e3877bed309e" ],    "file_types" : [ "TEXT" ],    "start_time" : 1701360000000,    "end_time" : 1701532799999  }}
  • 创建标注类型的数据集版本

    POST https://{endpoint}/v1.0/{project_id}/common/datasets/61a22ebc-49b3-40b5-b16f-ab9aebd2b231/versions{  "agreement_confirm" : true,  "description" : "数据集版本",  "command" : "command",  "custom_image" : "10293:1",  "status" : "labeled",  "batch_task_id" : "e3d7ede3817541d29467388ac14b0eee",  "label_meta_names" : [ "Person_sitting" ],  "only_valid" : true,  "hard_mining" : true}
  • 创建本地类型的数据集版本

    POST https://{endpoint}/v1.0/{project_id}/common/datasets/61a22ebc-49b3-40b5-b16f-ab9aebd2b231/versions{  "agreement_confirm" : true,  "description" : "数据集版本",  "command" : "command",  "custom_image" : "10293:1"}
  • 创建OBS类型的数据集版本

    POST https://{endpoint}/v1.0/{project_id}/common/datasets/61a22ebc-49b3-40b5-b16f-ab9aebd2b231/versions{  "agreement_confirm" : true,  "description" : "数据集版本",  "command" : "command",  "custom_image" : "10293:1",  "bucket_name" : "octopus-raw-64d37c8f25af4277a1ff4ee9772687bf",  "bucket_path" : "test/test"}
  • 创建子集版本

    POST https://{endpoint}/v1.0/{project_id}/common/datasets/61a22ebc-49b3-40b5-b16f-ab9aebd2b231/versions{  "agreement_confirm" : true,  "description" : "数据集版本",  "command" : "command",  "custom_image" : "10293:1"}
support.huaweicloud.com/api-octopus/dataset_POST_common_versions.html