diff --git a/docs/modelarts/api-ref/ALL_META.TXT.json b/docs/modelarts/api-ref/ALL_META.TXT.json index 08939aeee..5f2882b76 100644 --- a/docs/modelarts/api-ref/ALL_META.TXT.json +++ b/docs/modelarts/api-ref/ALL_META.TXT.json @@ -13,7 +13,7 @@ "uri":"modelarts_03_0001.html", "product_code":"modelarts", "code":"2", - "des":"Before calling a ModelArts API, ensure that you have fully understood the concepts related to ModelArts. For details, see the Service Overview.", + "des":"ModelArts is a one-stop AI development platform geared toward developers and data scientists of all skill levels. It enables you to rapidly build, train, and deploy model", "doc_type":"api", "kw":"Overview,Before You Start,API Reference", "title":"Overview", @@ -199,30 +199,10 @@ "title":"Querying the Monitoring Data of a Dataset", "githuburl":"" }, - { - "uri":"ListWorkforceTaskStats.html", - "product_code":"", - "code":"21", - "des":"This API is used to query details about team labeling task statistics.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/stat", - "doc_type":"api", - "kw":"Querying Details About Team Labeling Task Statistics,Dataset Management,API Reference", - "title":"Querying Details About Team Labeling Task Statistics", - "githuburl":"" - }, - { - "uri":"GetWorkforceTaskMetrics.html", - "product_code":"", - "code":"22", - "des":"This API is used to query details about the progress of a team labeling task member.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/metrics", - "doc_type":"api", - "kw":"Querying Details About the Progress of a Team Labeling Task Member,Dataset Management,API Reference", - "title":"Querying Details About the Progress of a Team Labeling Task Member", - "githuburl":"" - }, { "uri":"dataset_version_management.html", "product_code":"", - "code":"23", + "code":"21", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Dataset Version Management", @@ -232,7 +212,7 @@ { "uri":"ListDatasetVersions.html", "product_code":"", - "code":"24", + "code":"22", "des":"This API is used to query the version list of a specific dataset.GET /v2/{project_id}/datasets/{dataset_id}/versionsNoneStatus code: 200Querying the Version List of a Spe", "doc_type":"api", "kw":"Querying the Dataset Version List,Dataset Version Management,API Reference", @@ -242,7 +222,7 @@ { "uri":"CreateDatasetVersion.html", "product_code":"", - "code":"25", + "code":"23", "des":"This API is used to create a dataset labeling version.POST /v2/{project_id}/datasets/{dataset_id}/versionsStatus code: 201Creating a Dataset Labeling VersionStatus code: ", "doc_type":"api", "kw":"Creating a Dataset Labeling Version,Dataset Version Management,API Reference", @@ -252,7 +232,7 @@ { "uri":"DescribeDatasetVersion.html", "product_code":"", - "code":"26", + "code":"24", "des":"This API is used to query the details about a dataset version.GET /v2/{project_id}/datasets/{dataset_id}/versions/{version_id}NoneStatus code: 200Querying Details About a", "doc_type":"api", "kw":"Querying Details About a Dataset Version,Dataset Version Management,API Reference", @@ -262,7 +242,7 @@ { "uri":"DeleteDatasetVersion.html", "product_code":"", - "code":"27", + "code":"25", "des":"This API is used to delete a dataset labeling version.DELETE /v2/{project_id}/datasets/{dataset_id}/versions/{version_id}NoneNoneDeleting a Dataset Labeling VersionStatus", "doc_type":"api", "kw":"Deleting a Dataset Labeling Version,Dataset Version Management,API Reference", @@ -272,7 +252,7 @@ { "uri":"sample_management.html", "product_code":"", - "code":"28", + "code":"26", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Sample Management", @@ -282,7 +262,7 @@ { "uri":"ListSamples.html", "product_code":"", - "code":"29", + "code":"27", "des":"This API is used to query the sample list by page.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samplesNoneStatus code: 200Querying the Sample List by PageS", "doc_type":"api", "kw":"Querying the Sample List,Sample Management,API Reference", @@ -292,7 +272,7 @@ { "uri":"UploadSamplesJson.html", "product_code":"", - "code":"30", + "code":"28", "des":"This API is used to add samples in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samplesStatus code: 200Adding Samples in BatchesStatus code: 200OK", "doc_type":"api", "kw":"Adding Samples in Batches,Sample Management,API Reference", @@ -302,7 +282,7 @@ { "uri":"DeleteSamples.html", "product_code":"", - "code":"31", + "code":"29", "des":"This API is used to delete samples in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/deleteStatus code: 200Deleting Samples in BatchesStatus", "doc_type":"api", "kw":"Deleting Samples in Batches,Sample Management,API Reference", @@ -312,7 +292,7 @@ { "uri":"DescribeSample.html", "product_code":"", - "code":"32", + "code":"30", "des":"Query details about a sample.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}NoneStatus code: 200Querying Details About a SampleStatus code", "doc_type":"api", "kw":"Querying Details About a Sample,Sample Management,API Reference", @@ -322,7 +302,7 @@ { "uri":"ListSearch.html", "product_code":"", - "code":"33", + "code":"31", "des":"This API is used to obtain sample search condition.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/search-conditionNoneStatus code: 200Obtaining Sample Search", "doc_type":"api", "kw":"Obtaining Sample Search Condition,Sample Management,API Reference", @@ -330,29 +310,9 @@ "githuburl":"" }, { - "uri":"ListWorkforceTaskSamples.html", + "uri":"topic_300000012.html", "product_code":"", - "code":"34", - "des":"This API is used to query the sample list of a team labeling task by page.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/", - "doc_type":"api", - "kw":"Querying the Sample List of a Team Labeling Task by Page,Sample Management,API Reference", - "title":"Querying the Sample List of a Team Labeling Task by Page", - "githuburl":"" - }, - { - "uri":"DescribeWorkforceTaskSample.html", - "product_code":"", - "code":"35", - "des":"This API is used to query details about team labeling samples.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples/{sam", - "doc_type":"api", - "kw":"Querying Details About Team Labeling Samples,Sample Management,API Reference", - "title":"Querying Details About Team Labeling Samples", - "githuburl":"" - }, - { - "uri":"label_management.html", - "product_code":"", - "code":"36", + "code":"32", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Label Management", @@ -362,7 +322,7 @@ { "uri":"ListLabels.html", "product_code":"", - "code":"37", + "code":"33", "des":"This API is used to query all labels of a dataset.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsNoneStatus code: 200Querying All Labels of a DatasetSt", "doc_type":"api", "kw":"Querying the Dataset Label List,Label Management,API Reference", @@ -372,7 +332,7 @@ { "uri":"CreateLabels.html", "product_code":"", - "code":"38", + "code":"34", "des":"This API is used to create a dataset label.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsStatus code: 200Creating a Dataset LabelStatus code: 200OKSe", "doc_type":"api", "kw":"Creating a Dataset Label,Label Management,API Reference", @@ -382,7 +342,7 @@ { "uri":"UpdateLabels.html", "product_code":"", - "code":"39", + "code":"35", "des":"This API is used to modify labels in batches.PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsStatus code: 200Modifying Labels in BatchesStatus code: 200", "doc_type":"api", "kw":"Modifying Labels in Batches,Label Management,API Reference", @@ -392,7 +352,7 @@ { "uri":"DeleteLabels.html", "product_code":"", - "code":"40", + "code":"36", "des":"This API is used to delete labels in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/deleteStatus code: 200Deleting Labels in BatchesStatus co", "doc_type":"api", "kw":"Deleting Labels in Batches,Label Management,API Reference", @@ -402,7 +362,7 @@ { "uri":"UpdateLabel.html", "product_code":"", - "code":"41", + "code":"37", "des":"This API is used to update a label by label names.PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name}Status code: 204Updating a Label by Label", "doc_type":"api", "kw":"Updating a Label by Label Names,Label Management,API Reference", @@ -412,7 +372,7 @@ { "uri":"DeleteLabelAndSamples.html", "product_code":"", - "code":"42", + "code":"38", "des":"This API is used to delete a label and the files that only contain this label.DELETE /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name}NoneStatus", "doc_type":"api", "kw":"Deleting a Label and the Files that Only Contain the Label,Label Management,API Reference", @@ -422,7 +382,7 @@ { "uri":"manual_annotation_management.html", "product_code":"", - "code":"43", + "code":"39", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Manual Labeling", @@ -432,317 +392,17 @@ { "uri":"UpdateSamples.html", "product_code":"", - "code":"44", + "code":"40", "des":"This API is used to update sample labels in batches, including adding, modifying, and deleting sample labels. If the parameter Labels of a sample in the request body is n", "doc_type":"api", "kw":"Updating Sample Labels in Batches,Manual Labeling,API Reference", "title":"Updating Sample Labels in Batches", "githuburl":"" }, - { - "uri":"label_task_management.html", - "product_code":"", - "code":"45", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Labeling Task Management", - "title":"Labeling Task Management", - "githuburl":"" - }, - { - "uri":"ListWorkforceTasks.html", - "product_code":"", - "code":"46", - "des":"This API is used to query the team labeling task list of a dataset.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasksNoneStatus code: 200Querying the Team Labelin", - "doc_type":"api", - "kw":"Querying the Team Labeling Task List of a Dataset,Labeling Task Management,API Reference", - "title":"Querying the Team Labeling Task List of a Dataset", - "githuburl":"" - }, - { - "uri":"CreateWorkforceTask.html", - "product_code":"", - "code":"47", - "des":"This API is used to create a team labeling task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasksStatus code: 200Creating a Team Labeling TaskStatus code: 200OK", - "doc_type":"api", - "kw":"Creating a Team Labeling Task,Labeling Task Management,API Reference", - "title":"Creating a Team Labeling Task", - "githuburl":"" - }, - { - "uri":"DescWorkforceTask.html", - "product_code":"", - "code":"48", - "des":"This API is used to query the details about a team labeling task.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneStatus code: 200Queryin", - "doc_type":"api", - "kw":"Querying Details About a Team Labeling Task,Labeling Task Management,API Reference", - "title":"Querying Details About a Team Labeling Task", - "githuburl":"" - }, - { - "uri":"StartWorkforceTask.html", - "product_code":"", - "code":"49", - "des":"This API is used to start a team labeling task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneStarting a Team Labeling TaskStatus code", - "doc_type":"api", - "kw":"Starting a Team Labeling Task,Labeling Task Management,API Reference", - "title":"Starting a Team Labeling Task", - "githuburl":"" - }, - { - "uri":"UpdateWorkforceTask.html", - "product_code":"", - "code":"50", - "des":"This API is used to update a team labeling task.PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneUpdating a Team Labeling TaskStatus code", - "doc_type":"api", - "kw":"Updating a Team Labeling Task,Labeling Task Management,API Reference", - "title":"Updating a Team Labeling Task", - "githuburl":"" - }, - { - "uri":"DeleteWorkforceTask.html", - "product_code":"", - "code":"51", - "des":"This API is used to delete a team labeling task.DELETE /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneNoneDeleting a Team Labeling TaskStat", - "doc_type":"api", - "kw":"Deleting a Team Labeling Task,Labeling Task Management,API Reference", - "title":"Deleting a Team Labeling Task", - "githuburl":"" - }, - { - "uri":"StartWorkforceSamplingTask.html", - "product_code":"", - "code":"52", - "des":"This API is used to create a team labeling acceptance task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptanceStatus code: 200Creat", - "doc_type":"api", - "kw":"Creating a Team Labeling Acceptance Task,Labeling Task Management,API Reference", - "title":"Creating a Team Labeling Acceptance Task", - "githuburl":"" - }, - { - "uri":"GetWorkforceSamplingTask.html", - "product_code":"", - "code":"53", - "des":"This API is used to query the report of a team labeling acceptance task.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/reportNo", - "doc_type":"api", - "kw":"Querying the Report of a Team Labeling Acceptance Task,Labeling Task Management,API Reference", - "title":"Querying the Report of a Team Labeling Acceptance Task", - "githuburl":"" - }, - { - "uri":"UpdateWorkforceSamplingTask.html", - "product_code":"", - "code":"54", - "des":"This API is used to update the sample status by confirming the acceptance scope and whether the labeled data is overwritten before the acceptance of the team labeling tas", - "doc_type":"api", - "kw":"Updating the Status of a Team Labeling Acceptance Task,Labeling Task Management,API Reference", - "title":"Updating the Status of a Team Labeling Acceptance Task", - "githuburl":"" - }, - { - "uri":"ListWorkerTasks.html", - "product_code":"", - "code":"55", - "des":"This API is used to query the team labeling task list by a team member.GET /v2/{project_id}/workforces/worker-tasksNoneStatus code: 200Querying the Team Labeling Task Lis", - "doc_type":"api", - "kw":"Querying the Team Labeling Task List by a Team Member,Labeling Task Management,API Reference", - "title":"Querying the Team Labeling Task List by a Team Member", - "githuburl":"" - }, - { - "uri":"workforce_process_management.html", - "product_code":"", - "code":"56", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Team Labeling Process Management", - "title":"Team Labeling Process Management", - "githuburl":"" - }, - { - "uri":"AcceptSamples.html", - "product_code":"", - "code":"57", - "des":"This API is used to submit sample review comments of an acceptance task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/batch-c", - "doc_type":"api", - "kw":"Submitting Sample Review Comments of an Acceptance Task,Team Labeling Process Management,API Referen", - "title":"Submitting Sample Review Comments of an Acceptance Task", - "githuburl":"" - }, - { - "uri":"ReviewSamples.html", - "product_code":"", - "code":"58", - "des":"This API is used to review team labeling results.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/reviewNoneReviewing Team", - "doc_type":"api", - "kw":"Reviewing Team Labeling Results,Team Labeling Process Management,API Reference", - "title":"Reviewing Team Labeling Results", - "githuburl":"" - }, - { - "uri":"UpdateWorkforceTaskSamples.html", - "product_code":"", - "code":"59", - "des":"This API is used to update labels of team labeling samples in batches.PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samp", - "doc_type":"api", - "kw":"Updating Labels of Team Labeling Samples in Batches,Team Labeling Process Management,API Reference", - "title":"Updating Labels of Team Labeling Samples in Batches", - "githuburl":"" - }, - { - "uri":"workforce_management.html", - "product_code":"", - "code":"60", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Labeling Team Management", - "title":"Labeling Team Management", - "githuburl":"" - }, - { - "uri":"ListWorkforces.html", - "product_code":"", - "code":"61", - "des":"This API is used to query the labeling team list.GET /v2/{project_id}/workforcesNoneStatus code: 200Querying the Labeling Team ListStatus code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Querying the Labeling Team List,Labeling Team Management,API Reference", - "title":"Querying the Labeling Team List", - "githuburl":"" - }, - { - "uri":"CreateWorkforce.html", - "product_code":"", - "code":"62", - "des":"This API is used to create a labeling team.POST /v2/{project_id}/workforcesStatus code: 201Creating a Labeling TeamStatus code: 201CreatedSee Error Codes.", - "doc_type":"api", - "kw":"Creating a Labeling Team,Labeling Team Management,API Reference", - "title":"Creating a Labeling Team", - "githuburl":"" - }, - { - "uri":"DescWorkforce.html", - "product_code":"", - "code":"63", - "des":"This API is used to query the details about a labeling team.GET /v2/{project_id}/workforces/{workforce_id}NoneStatus code: 200Querying Details About a Labeling TeamStatus", - "doc_type":"api", - "kw":"Querying Details About a Labeling Team,Labeling Team Management,API Reference", - "title":"Querying Details About a Labeling Team", - "githuburl":"" - }, - { - "uri":"UpdateWorkforce.html", - "product_code":"", - "code":"64", - "des":"This API is used to update a labeling team.PUT /v2/{project_id}/workforces/{workforce_id}NoneUpdating a Labeling TeamStatus code: 200OKSee Error Codes.", - "doc_type":"api", - "kw":"Updating a Labeling Team,Labeling Team Management,API Reference", - "title":"Updating a Labeling Team", - "githuburl":"" - }, - { - "uri":"DeleteWorkforce.html", - "product_code":"", - "code":"65", - "des":"This API is used to delete a labeling team.DELETE /v2/{project_id}/workforces/{workforce_id}NoneStatus code: 204Deleting a Labeling TeamStatus code: 204No ContentSee Erro", - "doc_type":"api", - "kw":"Deleting a Labeling Team,Labeling Team Management,API Reference", - "title":"Deleting a Labeling Team", - "githuburl":"" - }, - { - "uri":"workforce_worker_management.html", - "product_code":"", - "code":"66", - "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "doc_type":"api", - "kw":"Labeling Team Member Management", - "title":"Labeling Team Member Management", - "githuburl":"" - }, - { - "uri":"SendEmails.html", - "product_code":"", - "code":"67", - "des":"This API is used to send an email to a labeling team member.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/notifyStatus code: 200Sending ", - "doc_type":"api", - "kw":"Sending an Email to a Labeling Team Member,Labeling Team Member Management,API Reference", - "title":"Sending an Email to a Labeling Team Member", - "githuburl":"" - }, - { - "uri":"ListAllWorkers.html", - "product_code":"", - "code":"68", - "des":"This API is used to query the list of all labeling team members.GET /v2/{project_id}/workforces/workersNoneStatus code: 200Querying All Labeling Team AdministratorsStatus", - "doc_type":"api", - "kw":"Querying the List of All Labeling Team Members,Labeling Team Member Management,API Reference", - "title":"Querying the List of All Labeling Team Members", - "githuburl":"" - }, - { - "uri":"ListWorkers.html", - "product_code":"", - "code":"69", - "des":"This API is used to query the list of labeling team members.GET /v2/{project_id}/workforces/{workforce_id}/workersNoneStatus code: 200Querying the List of Labeling Team M", - "doc_type":"api", - "kw":"Querying the List of Labeling Team Members,Labeling Team Member Management,API Reference", - "title":"Querying the List of Labeling Team Members", - "githuburl":"" - }, - { - "uri":"CreateWorker.html", - "product_code":"", - "code":"70", - "des":"This API is used to create a labeling team member.POST /v2/{project_id}/workforces/{workforce_id}/workersNoneCreating a Labeling Team MemberStatus code: 201CreatedSee Err", - "doc_type":"api", - "kw":"Creating a Labeling Team Member,Labeling Team Member Management,API Reference", - "title":"Creating a Labeling Team Member", - "githuburl":"" - }, - { - "uri":"DeleteWorkers.html", - "product_code":"", - "code":"71", - "des":"This API is used to delete labeling team members in batches.POST /v2/{project_id}/workforces/{workforce_id}/workers/batch-deleteStatus code: 200Deleting Labeling Team Mem", - "doc_type":"api", - "kw":"Deleting Labeling Team Members in Batches,Labeling Team Member Management,API Reference", - "title":"Deleting Labeling Team Members in Batches", - "githuburl":"" - }, - { - "uri":"DescWorker.html", - "product_code":"", - "code":"72", - "des":"This API is used to query details about labeling team members.GET /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneStatus code: 200Querying Details About", - "doc_type":"api", - "kw":"Querying Details About Labeling Team Members,Labeling Team Member Management,API Reference", - "title":"Querying Details About Labeling Team Members", - "githuburl":"" - }, - { - "uri":"UpdateWorker.html", - "product_code":"", - "code":"73", - "des":"This API is used to update a labeling team member.PUT /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneUpdating a Labeling Team MemberStatus code: 200OKS", - "doc_type":"api", - "kw":"Updating a Labeling Team Member,Labeling Team Member Management,API Reference", - "title":"Updating a Labeling Team Member", - "githuburl":"" - }, - { - "uri":"DeleteWorker.html", - "product_code":"", - "code":"74", - "des":"This API is used to delete a labeling team member.DELETE /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneNoneDeleting a Labeling Team MemberStatus code:", - "doc_type":"api", - "kw":"Deleting a Labeling Team Member,Labeling Team Member Management,API Reference", - "title":"Deleting a Labeling Team Member", - "githuburl":"" - }, { "uri":"data_import.html", "product_code":"", - "code":"75", + "code":"41", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Data Import Task", @@ -752,7 +412,7 @@ { "uri":"ListImportTasks.html", "product_code":"", - "code":"76", + "code":"42", "des":"This API is used to query the dataset import task list by page.GET /v2/{project_id}/datasets/{dataset_id}/import-tasksNoneStatus code: 200Obtaining the Dataset Import Tas", "doc_type":"api", "kw":"Querying the Dataset Import Task List,Data Import Task,API Reference", @@ -762,7 +422,7 @@ { "uri":"ImportTask.html", "product_code":"", - "code":"77", + "code":"43", "des":"This API is used to create a dataset import task to import samples and labels from the storage system to the dataset.POST /v2/{project_id}/datasets/{dataset_id}/import-ta", "doc_type":"api", "kw":"Creating an Import Task,Data Import Task,API Reference", @@ -772,7 +432,7 @@ { "uri":"DescImportTask.html", "product_code":"", - "code":"78", + "code":"44", "des":"This API is used to query details about a dataset import task.GET /v2/{project_id}/datasets/{dataset_id}/import-tasks/{task_id}NoneStatus code: 200Querying Details About ", "doc_type":"api", "kw":"Querying Details About a Dataset Import Task,Data Import Task,API Reference", @@ -782,7 +442,7 @@ { "uri":"data_export.html", "product_code":"", - "code":"79", + "code":"45", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Data Export Task", @@ -792,7 +452,7 @@ { "uri":"GetExportTasksStatusOfDataset.html", "product_code":"", - "code":"80", + "code":"46", "des":"This API is used to query the dataset export task list by page.GET /v2/{project_id}/datasets/{dataset_id}/export-tasksNoneStatus code: 200Querying the Export Task List by", "doc_type":"api", "kw":"Querying the Dataset Export Task List,Data Export Task,API Reference", @@ -802,7 +462,7 @@ { "uri":"ExportTask.html", "product_code":"", - "code":"81", + "code":"47", "des":"This API is used to create a dataset export task to export a dataset to OBS or new datasets.POST /v2/{project_id}/datasets/{dataset_id}/export-tasksStatus code: 200Creati", "doc_type":"api", "kw":"Creating a Dataset Export Task,Data Export Task,API Reference", @@ -812,7 +472,7 @@ { "uri":"GetExportTaskStatusOfDataset.html", "product_code":"", - "code":"82", + "code":"48", "des":"This API is used to query the status of a dataset export task.GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id}NoneStatus code: 200Querying the Status of", "doc_type":"api", "kw":"Querying the Status of a Dataset Export Task,Data Export Task,API Reference", @@ -822,7 +482,7 @@ { "uri":"data_sync.html", "product_code":"", - "code":"83", + "code":"49", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Data Synchronization Task", @@ -832,7 +492,7 @@ { "uri":"SyncDataSource.html", "product_code":"", - "code":"84", + "code":"50", "des":"This API is used to synchronize samples and labeling information from the input dataset path to the dataset.POST /v2/{project_id}/datasets/{dataset_id}/sync-dataNoneNoneS", "doc_type":"api", "kw":"Synchronizing a Dataset,Data Synchronization Task,API Reference", @@ -842,7 +502,7 @@ { "uri":"SyncDataSourceState.html", "product_code":"", - "code":"85", + "code":"51", "des":"This API is used to query the status of a dataset synchronization task.GET /v2/{project_id}/datasets/{dataset_id}/sync-data/statusNoneStatus code: 200Obtaining the Status", "doc_type":"api", "kw":"Querying the Status of a Dataset Synchronization Task,Data Synchronization Task,API Reference", @@ -852,7 +512,7 @@ { "uri":"modelarts_03_0108.html", "product_code":"modelarts", - "code":"86", + "code":"52", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"DevEnviron", @@ -862,7 +522,7 @@ { "uri":"modelarts_03_0110.html", "product_code":"modelarts", - "code":"87", + "code":"53", "des":"This API is used to create a development environment instance for code development.Calling this API is an asynchronous operation. The job status can be obtained by callin", "doc_type":"api", "kw":"Creating a Development Environment Instance,DevEnviron,API Reference", @@ -872,7 +532,7 @@ { "uri":"modelarts_03_0111.html", "product_code":"modelarts", - "code":"88", + "code":"54", "des":"This API is used to query the development environment instances that meet the search criteria.GET /v1/{project_id}/demanager/instances?de_type={de_type}&provision_type={p", "doc_type":"api", "kw":"Querying a List of Development Environment Instances,DevEnviron,API Reference", @@ -882,7 +542,7 @@ { "uri":"modelarts_03_0112.html", "product_code":"modelarts", - "code":"89", + "code":"55", "des":"This API is used to query the details about a development environment instance.GET /v1/{project_id}/demanager/instances/{instance_id}Table 1 describes the required parame", "doc_type":"api", "kw":"Querying Details About a Development Environment Instance,DevEnviron,API Reference", @@ -892,7 +552,7 @@ { "uri":"modelarts_03_0113.html", "product_code":"modelarts", - "code":"90", + "code":"56", "des":"This API is used to modify the description of a development environment instance or information about the auto stop function.PUT /v1/{project_id}/demanager/instances/{ins", "doc_type":"api", "kw":"Modifying the Description of a Development Environment Instance,DevEnviron,API Reference", @@ -902,7 +562,7 @@ { "uri":"modelarts_03_0114.html", "product_code":"modelarts", - "code":"91", + "code":"57", "des":"This API is used to delete a development environment instance.DELETE /v1/{project_id}/demanager/instances/{instance_id}Table 1 describes the required parameters.Parameter", "doc_type":"api", "kw":"Deleting a Development Environment Instance,DevEnviron,API Reference", @@ -912,7 +572,7 @@ { "uri":"modelarts_03_0115.html", "product_code":"modelarts", - "code":"92", + "code":"58", "des":"This API is used to startor stop a notebook instance.POST /v1/{project_id}/demanager/instances/{instance_id}/actionTable 1 describes the required parameters.ParametersPar", "doc_type":"api", "kw":"Managing a Development Environment Instance,DevEnviron,API Reference", @@ -922,7 +582,7 @@ { "uri":"modelarts_03_0043.html", "product_code":"modelarts", - "code":"93", + "code":"59", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Training Management", @@ -932,7 +592,7 @@ { "uri":"modelarts_03_0044.html", "product_code":"modelarts", - "code":"94", + "code":"60", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Training Jobs", @@ -942,7 +602,7 @@ { "uri":"modelarts_03_0045.html", "product_code":"modelarts", - "code":"95", + "code":"61", "des":"This API is used to create a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Traini", "doc_type":"api", "kw":"Creating a Training Job,Training Jobs,API Reference", @@ -952,7 +612,7 @@ { "uri":"modelarts_03_0046.html", "product_code":"modelarts", - "code":"96", + "code":"62", "des":"This API is used to query the created training jobs that meet the search criteria.GET /v1/{project_id}/training-jobsTable 1 describes the required parameters.URI paramete", "doc_type":"api", "kw":"Querying a Training Job List,Training Jobs,API Reference", @@ -962,7 +622,7 @@ { "uri":"modelarts_03_0047.html", "product_code":"modelarts", - "code":"97", + "code":"63", "des":"This API is used to query the details about a specified training job based on the job ID.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}Table 1 describe", "doc_type":"api", "kw":"Querying the Details About a Training Job Version,Training Jobs,API Reference", @@ -972,7 +632,7 @@ { "uri":"modelarts_03_0048.html", "product_code":"modelarts", - "code":"98", + "code":"64", "des":"This API is used to delete a version of a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Quer", "doc_type":"api", "kw":"Deleting a Version of a Training Job,Training Jobs,API Reference", @@ -982,7 +642,7 @@ { "uri":"modelarts_03_0049.html", "product_code":"modelarts", - "code":"99", + "code":"65", "des":"This API is used to query the version of a specified training job based on the job ID.GET /v1/{project_id}/training-jobs/{job_id}/versionsTable 1 describes the required p", "doc_type":"api", "kw":"Querying a List of Training Job Versions,Training Jobs,API Reference", @@ -992,7 +652,7 @@ { "uri":"modelarts_03_0050.html", "product_code":"modelarts", - "code":"100", + "code":"66", "des":"This API is used to create a version of a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Quer", "doc_type":"api", "kw":"Creating a Version of a Training Job,Training Jobs,API Reference", @@ -1002,7 +662,7 @@ { "uri":"modelarts_03_0051.html", "product_code":"modelarts", - "code":"101", + "code":"67", "des":"This API is used to stop a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Training", "doc_type":"api", "kw":"Stopping a Training Job,Training Jobs,API Reference", @@ -1012,7 +672,7 @@ { "uri":"modelarts_03_0052.html", "product_code":"modelarts", - "code":"102", + "code":"68", "des":"This API is used to modify the description of a training job.PUT /v1/{project_id}/training-jobs/{job_id}Table 1 describes the required parameters.ParametersParameterManda", "doc_type":"api", "kw":"Modifying the Description of a Training Job,Training Jobs,API Reference", @@ -1022,7 +682,7 @@ { "uri":"modelarts_03_0053.html", "product_code":"modelarts", - "code":"103", + "code":"69", "des":"This API is used to delete a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Traini", "doc_type":"api", "kw":"Deleting a Training Job,Training Jobs,API Reference", @@ -1032,7 +692,7 @@ { "uri":"modelarts_03_0054.html", "product_code":"modelarts", - "code":"104", + "code":"70", "des":"This API is used to obtain the name of a training job log file.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}/log/file-namesTable 1 describes the requi", "doc_type":"api", "kw":"Obtaining the Name of a Training Job Log File,Training Jobs,API Reference", @@ -1042,7 +702,7 @@ { "uri":"modelarts_03_0056.html", "product_code":"modelarts", - "code":"105", + "code":"71", "des":"This API is used to query the details about a built-in model.GET /v1/{project_id}/built-in-algorithmsTable 1 describes the required parameters.ParametersParameterMandator", "doc_type":"api", "kw":"Querying a Built-in Algorithm,Training Jobs,API Reference", @@ -1052,7 +712,7 @@ { "uri":"modelarts_03_0149.html", "product_code":"modelarts", - "code":"106", + "code":"72", "des":"This API is used to query detailed information about training job logs by row.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}/aom-logTable 1 describes t", "doc_type":"api", "kw":"Querying Training Job Logs,Training Jobs,API Reference", @@ -1062,7 +722,7 @@ { "uri":"modelarts_03_0057.html", "product_code":"modelarts", - "code":"107", + "code":"73", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Training Job Parameter Configuration", @@ -1072,7 +732,7 @@ { "uri":"modelarts_03_0058.html", "product_code":"modelarts", - "code":"108", + "code":"74", "des":"This API is used to create a training job configuration.POST /v1/{project_id}/training-job-configsTable 1 describes the required parameters.ParametersParameterMandatoryTy", "doc_type":"api", "kw":"Creating a Training Job Configuration,Training Job Parameter Configuration,API Reference", @@ -1082,7 +742,7 @@ { "uri":"modelarts_03_0059.html", "product_code":"modelarts", - "code":"109", + "code":"75", "des":"This API is used to query the created training job configurations that meet the search criteria.GET /v1/{project_id}/training-job-configsTable 1 describes the required pa", "doc_type":"api", "kw":"Querying a List of Training Job Configurations,Training Job Parameter Configuration,API Reference", @@ -1092,7 +752,7 @@ { "uri":"modelarts_03_0060.html", "product_code":"modelarts", - "code":"110", + "code":"76", "des":"This API is used to modify a training job configuration.PUT /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required parameters.ParametersParamet", "doc_type":"api", "kw":"Modifying a Training Job Configuration,Training Job Parameter Configuration,API Reference", @@ -1102,7 +762,7 @@ { "uri":"modelarts_03_0061.html", "product_code":"modelarts", - "code":"111", + "code":"77", "des":"This API is used to delete a training job configuration.DELETE /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required parameters.Parameter desc", "doc_type":"api", "kw":"Deleting a Training Job Configuration,Training Job Parameter Configuration,API Reference", @@ -1112,7 +772,7 @@ { "uri":"modelarts_03_0062.html", "product_code":"modelarts", - "code":"112", + "code":"78", "des":"This API is used to query the details about a specified training job configuration.GET /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required p", "doc_type":"api", "kw":"Querying the Details About a Training Job Configuration,Training Job Parameter Configuration,API Ref", @@ -1122,7 +782,7 @@ { "uri":"modelarts_03_0063.html", "product_code":"modelarts", - "code":"113", + "code":"79", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Visualization Jobs", @@ -1132,7 +792,7 @@ { "uri":"modelarts_03_0064.html", "product_code":"modelarts", - "code":"114", + "code":"80", "des":"This API is used to create a visualization job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a V", "doc_type":"api", "kw":"Creating a Visualization Job,Visualization Jobs,API Reference", @@ -1142,7 +802,7 @@ { "uri":"modelarts_03_0065.html", "product_code":"modelarts", - "code":"115", + "code":"81", "des":"This API is used to query the visualization jobs that meet the search criteria.GET /v1/{project_id}/visualization-jobsTable 1 describes the required parameters.Parameters", "doc_type":"api", "kw":"Querying a Visualization Job List,Visualization Jobs,API Reference", @@ -1152,7 +812,7 @@ { "uri":"modelarts_03_0066.html", "product_code":"modelarts", - "code":"116", + "code":"82", "des":"This API is used to query the details about a specified visualization job based on the job name.GET /v1/{project_id}/visualization-jobs/{job_id}Table 1 describes the requ", "doc_type":"api", "kw":"Querying the Details About a Visualization Job,Visualization Jobs,API Reference", @@ -1162,7 +822,7 @@ { "uri":"modelarts_03_0067.html", "product_code":"modelarts", - "code":"117", + "code":"83", "des":"This API is used to modify the description of a visualization job.PUT /v1/{project_id}/visualization-jobs/{job_id}Table 1 describes the required parameters.ParametersPara", "doc_type":"api", "kw":"Modifying the Description of a Visualization Job,Visualization Jobs,API Reference", @@ -1172,7 +832,7 @@ { "uri":"modelarts_03_0068.html", "product_code":"modelarts", - "code":"118", + "code":"84", "des":"This API is used to delete a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a ", "doc_type":"api", "kw":"Deleting a Visualization Job,Visualization Jobs,API Reference", @@ -1182,7 +842,7 @@ { "uri":"modelarts_03_0069.html", "product_code":"modelarts", - "code":"119", + "code":"85", "des":"This API is used to stop a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Vi", "doc_type":"api", "kw":"Stopping a Visualization Job,Visualization Jobs,API Reference", @@ -1192,7 +852,7 @@ { "uri":"modelarts_03_0070.html", "product_code":"modelarts", - "code":"120", + "code":"86", "des":"This API is used to restart a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a", "doc_type":"api", "kw":"Restarting a Visualization Job,Visualization Jobs,API Reference", @@ -1202,7 +862,7 @@ { "uri":"modelarts_03_0071.html", "product_code":"modelarts", - "code":"121", + "code":"87", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Resource and Engine Specifications", @@ -1212,7 +872,7 @@ { "uri":"modelarts_03_0072.html", "product_code":"modelarts", - "code":"122", + "code":"88", "des":"This API is used to query the resource specifications of a specified job.You must specify the resource specifications when creating a training job or an inference job.GET", "doc_type":"api", "kw":"Querying Job Resource Specifications,Resource and Engine Specifications,API Reference", @@ -1222,7 +882,7 @@ { "uri":"modelarts_03_0073.html", "product_code":"modelarts", - "code":"123", + "code":"89", "des":"This API is used to query the engine type and version of a specified job.You must specify the engine specifications when creating a training job or an inference job.GET /", "doc_type":"api", "kw":"Querying Job Engine Specifications,Resource and Engine Specifications,API Reference", @@ -1232,7 +892,7 @@ { "uri":"modelarts_03_0074.html", "product_code":"modelarts", - "code":"124", + "code":"90", "des":"Table 1 describes the job statuses.", "doc_type":"api", "kw":"Job Statuses,Training Management,API Reference", @@ -1242,7 +902,7 @@ { "uri":"modelarts_03_0075.html", "product_code":"modelarts", - "code":"125", + "code":"91", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Model Management", @@ -1252,7 +912,7 @@ { "uri":"modelarts_03_0076.html", "product_code":"modelarts", - "code":"126", + "code":"92", "des":"You can use the API to import a model.Ensure that the execution code and model have been uploaded to OBS. By default, the models generated by a training job are stored in", "doc_type":"api", "kw":"Importing a Model,Model Management,API Reference", @@ -1262,7 +922,7 @@ { "uri":"modelarts_03_0077.html", "product_code":"modelarts", - "code":"127", + "code":"93", "des":"This API is used to query the models that meet the search criteria.GET /v1/{project_id}/modelsTable 1 describes the required parameters.ParametersParameterMandatoryTypeDe", "doc_type":"api", "kw":"Querying a Model List,Model Management,API Reference", @@ -1272,7 +932,7 @@ { "uri":"modelarts_03_0078.html", "product_code":"modelarts", - "code":"128", + "code":"94", "des":"This API is used to query details about a model based on the model ID.GET /v1/{project_id}/models/{model_id}Table 1 describes the required parameters.ParametersParameterM", "doc_type":"api", "kw":"Querying the Details About a Model,Model Management,API Reference", @@ -1282,7 +942,7 @@ { "uri":"modelarts_03_0079.html", "product_code":"modelarts", - "code":"129", + "code":"95", "des":"This API is used to delete a model based on the model ID. When cascade is set to true, the model specified by the model ID and models of different versions with the same ", "doc_type":"api", "kw":"Deleting a Model,Model Management,API Reference", @@ -1292,7 +952,7 @@ { "uri":"modelarts_03_0081.html", "product_code":"modelarts", - "code":"130", + "code":"96", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Service Management", @@ -1302,7 +962,7 @@ { "uri":"modelarts_03_0082.html", "product_code":"modelarts", - "code":"131", + "code":"97", "des":"This API is used to deploy a model as a service.POST /v1/{project_id}/servicesTable 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionproject", "doc_type":"api", "kw":"Deploying a Model as a Service,Service Management,API Reference", @@ -1312,7 +972,7 @@ { "uri":"modelarts_03_0083.html", "product_code":"modelarts", - "code":"132", + "code":"98", "des":"This API is used to obtain model services.GET /v1/{project_id}/servicesTable 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionproject_idYesS", "doc_type":"api", "kw":"Querying a Service List,Service Management,API Reference", @@ -1322,7 +982,7 @@ { "uri":"modelarts_03_0084.html", "product_code":"modelarts", - "code":"133", + "code":"99", "des":"This API is used to query the details about a model service based on the service ID.GET /v1/{project_id}/services/{service_id}Table 1 describes the required parameters.Pa", "doc_type":"api", "kw":"Querying the Details About a Service,Service Management,API Reference", @@ -1332,7 +992,7 @@ { "uri":"modelarts_03_0086.html", "product_code":"modelarts", - "code":"134", + "code":"100", "des":"This API is used to update configurations of a model service. It can also be used to start or stop a service.PUT /v1/{project_id}/services/{service_id}Table 1 describes t", "doc_type":"api", "kw":"Updating Service Configurations,Service Management,API Reference", @@ -1342,7 +1002,7 @@ { "uri":"modelarts_03_0087.html", "product_code":"modelarts", - "code":"135", + "code":"101", "des":"This API is used to query service monitoring information.GET /v1/{project_id}/services/{service_id}/monitorTable 1 describes the required parameters.ParametersParameterMa", "doc_type":"api", "kw":"Querying Service Monitoring Information,Service Management,API Reference", @@ -1352,7 +1012,7 @@ { "uri":"modelarts_03_0088.html", "product_code":"modelarts", - "code":"136", + "code":"102", "des":"This API is used to query the update logs of a real-time service.GET /v1/{project_id}/services/{service_id}/logsTable 1 describes the required parameters.ParametersParame", "doc_type":"api", "kw":"Querying Service Update Logs,Service Management,API Reference", @@ -1362,7 +1022,7 @@ { "uri":"modelarts_03_0155.html", "product_code":"modelarts", - "code":"137", + "code":"103", "des":"This API is used to query service event logs, including service operation records, key actions during deployment, and deployment failure causes.GET /v1/{project_id}/servi", "doc_type":"api", "kw":"Querying Service Event Logs,Service Management,API Reference", @@ -1372,7 +1032,7 @@ { "uri":"modelarts_03_0089.html", "product_code":"modelarts", - "code":"138", + "code":"104", "des":"This API is used to delete a model service. You can delete your own services only.Table 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionpro", "doc_type":"api", "kw":"Deleting a Service,Service Management,API Reference", @@ -1382,7 +1042,7 @@ { "uri":"modelarts_03_0200.html", "product_code":"modelarts", - "code":"139", + "code":"105", "des":"This API is used to query supported service deployment specifications.URIGET /v1/{project_id}/services/specificationsNoneSample requestGET https://endpoint/v1/{project", "doc_type":"api", "kw":"Querying Supported Service Deployment Specifications,Service Management,API Reference", @@ -1392,7 +1052,7 @@ { "uri":"modelarts_03_0201.html", "product_code":"modelarts", - "code":"140", + "code":"106", "des":"This API is used to query dedicated resource pools.GET /v1/{project_id}/clustersParametersParameterMandatoryTypeDescriptionproject_idYesStringProject ID. For details abou", "doc_type":"api", "kw":"Querying Dedicated Resource Pools,Service Management,API Reference", @@ -1401,8 +1061,8 @@ }, { "uri":"authorization.html", - "product_code":"modelarts", - "code":"141", + "product_code":"", + "code":"107", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Authorization Management", @@ -1411,8 +1071,8 @@ }, { "uri":"CreateAuthorization.html", - "product_code":"modelarts", - "code":"142", + "product_code":"", + "code":"108", "des":"This API is used to configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services c", "doc_type":"api", "kw":"Configuring Authorization,Authorization Management,API Reference", @@ -1421,8 +1081,8 @@ }, { "uri":"GetAuthorizations.html", - "product_code":"modelarts", - "code":"143", + "product_code":"", + "code":"109", "des":"This API is used to view an authorization list.GET /v2/{project_id}/authorizationsNoneStatus code: 200View an authorization list.Status code: 200OKSee Error Codes.", "doc_type":"api", "kw":"Viewing an Authorization List,Authorization Management,API Reference", @@ -1431,8 +1091,8 @@ }, { "uri":"DeleteAuthorizations.html", - "product_code":"modelarts", - "code":"144", + "product_code":"", + "code":"110", "des":"This API is used to delete the authorization of a specified user or all users.DELETE /v2/{project_id}/authorizationsNoneNoneDelete the authorization of a specified user.S", "doc_type":"api", "kw":"Deleting Authorization,Authorization Management,API Reference", @@ -1441,9 +1101,9 @@ }, { "uri":"CreateModelArtsAgency.html", - "product_code":"modelarts", - "code":"145", - "des":"This API is used to create an agency so that ModelArts can access dependent services such as OBS, SWR, and IEF.POST /v2/{project_id}/agencyNoneCreate a ModelArts agency.S", + "product_code":"", + "code":"111", + "des":"This API is used to create a ModelArts agency for dependent services such as OBS, SWR, and IEF.POST /v2/{project_id}/agencyNoneCreate a ModelArts agency.Status code: 200O", "doc_type":"api", "kw":"Creating a ModelArts Agency,Authorization Management,API Reference", "title":"Creating a ModelArts Agency", @@ -1452,7 +1112,7 @@ { "uri":"modelarts_03_0400.html", "product_code":"modelarts", - "code":"146", + "code":"112", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Application Cases", @@ -1462,7 +1122,7 @@ { "uri":"modelarts_03_0401.html", "product_code":"modelarts", - "code":"147", + "code":"113", "des":"This section describes how to train a model on ModelArts by calling a series of APIs.The process for creating a training job using the TensorFlow framework is as follows:", "doc_type":"api", "kw":"Creating a Training Job Using the TensorFlow Framework,Application Cases,API Reference", @@ -1472,7 +1132,7 @@ { "uri":"modelarts_03_0138.html", "product_code":"modelarts", - "code":"148", + "code":"114", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Permissions Policies and Supported Actions", @@ -1482,7 +1142,7 @@ { "uri":"modelarts_03_0146.html", "product_code":"modelarts", - "code":"149", + "code":"115", "des":"This section describes fine-grained permissions management for your ModelArts. If your current account does not require individual IAM users, skip this section.By default", "doc_type":"api", "kw":"Introduction,Permissions Policies and Supported Actions,API Reference", @@ -1492,7 +1152,7 @@ { "uri":"modelarts_03_0234.html", "product_code":"modelarts", - "code":"150", + "code":"116", "des":"ExeML APIs are inaccessible to external systems. To use ExeML functions on the console and manage permissions, perform the operations described in the following table.", "doc_type":"api", "kw":"ExeML Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1502,7 +1162,7 @@ { "uri":"modelarts_03_0161.html", "product_code":"modelarts", - "code":"151", + "code":"117", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Data Management Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1512,7 +1172,7 @@ { "uri":"modelarts_03_0162.html", "product_code":"modelarts", - "code":"152", + "code":"118", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"DevEnviron Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1522,7 +1182,7 @@ { "uri":"modelarts_03_0163.html", "product_code":"modelarts", - "code":"153", + "code":"119", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Training Job Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1532,7 +1192,7 @@ { "uri":"modelarts_03_0164.html", "product_code":"modelarts", - "code":"154", + "code":"120", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Model Management Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1542,7 +1202,7 @@ { "uri":"modelarts_03_0165.html", "product_code":"modelarts", - "code":"155", + "code":"121", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Service Management Permissions,Permissions Policies and Supported Actions,API Reference", @@ -1552,7 +1212,7 @@ { "uri":"modelarts_03_0093.html", "product_code":"modelarts", - "code":"156", + "code":"122", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Common Parameters", @@ -1562,7 +1222,7 @@ { "uri":"modelarts_03_0094.html", "product_code":"modelarts", - "code":"157", + "code":"123", "des":"Table 1 describes the status codes.", "doc_type":"api", "kw":"Status Code,Common Parameters,API Reference", @@ -1572,7 +1232,7 @@ { "uri":"modelarts_03_0095.html", "product_code":"modelarts", - "code":"158", + "code":"124", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Error Codes,Common Parameters,API Reference", @@ -1582,7 +1242,7 @@ { "uri":"modelarts_03_0147.html", "product_code":"modelarts", - "code":"159", + "code":"125", "des":"A project ID is required for some requests when an API is called. Therefore, obtain the project ID before calling the API. Use either of the following methods:Obtaining a", "doc_type":"api", "kw":"Obtaining a Project ID,Common Parameters,API Reference", @@ -1592,7 +1252,7 @@ { "uri":"modelarts_03_0148.html", "product_code":"modelarts", - "code":"160", + "code":"126", "des":"When you call APIs, certain requests require the account name and ID. To obtain an account name and ID, do as follows:Sign up and log in to the console.Hover the cursor o", "doc_type":"api", "kw":"Obtaining an Account Name and ID,Common Parameters,API Reference", @@ -1602,7 +1262,7 @@ { "uri":"modelarts_03_0006.html", "product_code":"modelarts", - "code":"161", + "code":"127", "des":"When you call APIs, certain requests require the username and ID. To obtain a username and ID, do as follows:Log in to the management console after registration.Hover the", "doc_type":"api", "kw":"Obtaining a Username and ID,Common Parameters,API Reference", @@ -1612,7 +1272,7 @@ { "uri":"modelarts_03_0247.html", "product_code":"modelarts", - "code":"162", + "code":"128", "des":"A project ID or name is required for some requests when an API is called. Therefore, obtain the project ID and name before calling the API.To do so, perform the following", "doc_type":"api", "kw":"Obtaining a Project Name,Common Parameters,API Reference", @@ -1622,7 +1282,7 @@ { "uri":"modelarts_03_0097.html", "product_code":"modelarts", - "code":"163", + "code":"129", "des":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "doc_type":"api", "kw":"Change History,API Reference", diff --git a/docs/modelarts/api-ref/CLASS.TXT.json b/docs/modelarts/api-ref/CLASS.TXT.json index e9fa6793f..bae199590 100644 --- a/docs/modelarts/api-ref/CLASS.TXT.json +++ b/docs/modelarts/api-ref/CLASS.TXT.json @@ -9,7 +9,7 @@ "code":"1" }, { - "desc":"Before calling a ModelArts API, ensure that you have fully understood the concepts related to ModelArts. For details, see the Service Overview.", + "desc":"ModelArts is a one-stop AI development platform geared toward developers and data scientists of all skill levels. It enables you to rapidly build, train, and deploy model", "product_code":"modelarts", "title":"Overview", "uri":"modelarts_03_0001.html", @@ -179,24 +179,6 @@ "p_code":"13", "code":"20" }, - { - "desc":"This API is used to query details about team labeling task statistics.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/stat", - "product_code":"modelarts", - "title":"Querying Details About Team Labeling Task Statistics", - "uri":"ListWorkforceTaskStats.html", - "doc_type":"api", - "p_code":"13", - "code":"21" - }, - { - "desc":"This API is used to query details about the progress of a team labeling task member.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/metrics", - "product_code":"modelarts", - "title":"Querying Details About the Progress of a Team Labeling Task Member", - "uri":"GetWorkforceTaskMetrics.html", - "doc_type":"api", - "p_code":"13", - "code":"22" - }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"modelarts", @@ -204,7 +186,7 @@ "uri":"dataset_version_management.html", "doc_type":"api", "p_code":"11", - "code":"23" + "code":"21" }, { "desc":"This API is used to query the version list of a specific dataset.GET /v2/{project_id}/datasets/{dataset_id}/versionsNoneStatus code: 200Querying the Version List of a Spe", @@ -212,8 +194,8 @@ "title":"Querying the Dataset Version List", "uri":"ListDatasetVersions.html", "doc_type":"api", - "p_code":"23", - "code":"24" + "p_code":"21", + "code":"22" }, { "desc":"This API is used to create a dataset labeling version.POST /v2/{project_id}/datasets/{dataset_id}/versionsStatus code: 201Creating a Dataset Labeling VersionStatus code: ", @@ -221,8 +203,8 @@ "title":"Creating a Dataset Labeling Version", "uri":"CreateDatasetVersion.html", "doc_type":"api", - "p_code":"23", - "code":"25" + "p_code":"21", + "code":"23" }, { "desc":"This API is used to query the details about a dataset version.GET /v2/{project_id}/datasets/{dataset_id}/versions/{version_id}NoneStatus code: 200Querying Details About a", @@ -230,8 +212,8 @@ "title":"Querying Details About a Dataset Version", "uri":"DescribeDatasetVersion.html", "doc_type":"api", - "p_code":"23", - "code":"26" + "p_code":"21", + "code":"24" }, { "desc":"This API is used to delete a dataset labeling version.DELETE /v2/{project_id}/datasets/{dataset_id}/versions/{version_id}NoneNoneDeleting a Dataset Labeling VersionStatus", @@ -239,8 +221,8 @@ "title":"Deleting a Dataset Labeling Version", "uri":"DeleteDatasetVersion.html", "doc_type":"api", - "p_code":"23", - "code":"27" + "p_code":"21", + "code":"25" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -249,7 +231,7 @@ "uri":"sample_management.html", "doc_type":"api", "p_code":"11", - "code":"28" + "code":"26" }, { "desc":"This API is used to query the sample list by page.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samplesNoneStatus code: 200Querying the Sample List by PageS", @@ -257,8 +239,8 @@ "title":"Querying the Sample List", "uri":"ListSamples.html", "doc_type":"api", - "p_code":"28", - "code":"29" + "p_code":"26", + "code":"27" }, { "desc":"This API is used to add samples in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samplesStatus code: 200Adding Samples in BatchesStatus code: 200OK", @@ -266,8 +248,8 @@ "title":"Adding Samples in Batches", "uri":"UploadSamplesJson.html", "doc_type":"api", - "p_code":"28", - "code":"30" + "p_code":"26", + "code":"28" }, { "desc":"This API is used to delete samples in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/deleteStatus code: 200Deleting Samples in BatchesStatus", @@ -275,8 +257,8 @@ "title":"Deleting Samples in Batches", "uri":"DeleteSamples.html", "doc_type":"api", - "p_code":"28", - "code":"31" + "p_code":"26", + "code":"29" }, { "desc":"Query details about a sample.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}NoneStatus code: 200Querying Details About a SampleStatus code", @@ -284,8 +266,8 @@ "title":"Querying Details About a Sample", "uri":"DescribeSample.html", "doc_type":"api", - "p_code":"28", - "code":"32" + "p_code":"26", + "code":"30" }, { "desc":"This API is used to obtain sample search condition.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/search-conditionNoneStatus code: 200Obtaining Sample Search", @@ -293,35 +275,17 @@ "title":"Obtaining Sample Search Condition", "uri":"ListSearch.html", "doc_type":"api", - "p_code":"28", - "code":"33" - }, - { - "desc":"This API is used to query the sample list of a team labeling task by page.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/", - "product_code":"modelarts", - "title":"Querying the Sample List of a Team Labeling Task by Page", - "uri":"ListWorkforceTaskSamples.html", - "doc_type":"api", - "p_code":"28", - "code":"34" - }, - { - "desc":"This API is used to query details about team labeling samples.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samples/{sam", - "product_code":"modelarts", - "title":"Querying Details About Team Labeling Samples", - "uri":"DescribeWorkforceTaskSample.html", - "doc_type":"api", - "p_code":"28", - "code":"35" + "p_code":"26", + "code":"31" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", "product_code":"modelarts", "title":"Label Management", - "uri":"label_management.html", + "uri":"topic_300000012.html", "doc_type":"api", "p_code":"11", - "code":"36" + "code":"32" }, { "desc":"This API is used to query all labels of a dataset.GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsNoneStatus code: 200Querying All Labels of a DatasetSt", @@ -329,8 +293,8 @@ "title":"Querying the Dataset Label List", "uri":"ListLabels.html", "doc_type":"api", - "p_code":"36", - "code":"37" + "p_code":"32", + "code":"33" }, { "desc":"This API is used to create a dataset label.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsStatus code: 200Creating a Dataset LabelStatus code: 200OKSe", @@ -338,8 +302,8 @@ "title":"Creating a Dataset Label", "uri":"CreateLabels.html", "doc_type":"api", - "p_code":"36", - "code":"38" + "p_code":"32", + "code":"34" }, { "desc":"This API is used to modify labels in batches.PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labelsStatus code: 200Modifying Labels in BatchesStatus code: 200", @@ -347,8 +311,8 @@ "title":"Modifying Labels in Batches", "uri":"UpdateLabels.html", "doc_type":"api", - "p_code":"36", - "code":"39" + "p_code":"32", + "code":"35" }, { "desc":"This API is used to delete labels in batches.POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/deleteStatus code: 200Deleting Labels in BatchesStatus co", @@ -356,8 +320,8 @@ "title":"Deleting Labels in Batches", "uri":"DeleteLabels.html", "doc_type":"api", - "p_code":"36", - "code":"40" + "p_code":"32", + "code":"36" }, { "desc":"This API is used to update a label by label names.PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name}Status code: 204Updating a Label by Label", @@ -365,8 +329,8 @@ "title":"Updating a Label by Label Names", "uri":"UpdateLabel.html", "doc_type":"api", - "p_code":"36", - "code":"41" + "p_code":"32", + "code":"37" }, { "desc":"This API is used to delete a label and the files that only contain this label.DELETE /v2/{project_id}/datasets/{dataset_id}/data-annotations/labels/{label_name}NoneStatus", @@ -374,8 +338,8 @@ "title":"Deleting a Label and the Files that Only Contain the Label", "uri":"DeleteLabelAndSamples.html", "doc_type":"api", - "p_code":"36", - "code":"42" + "p_code":"32", + "code":"38" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -384,7 +348,7 @@ "uri":"manual_annotation_management.html", "doc_type":"api", "p_code":"11", - "code":"43" + "code":"39" }, { "desc":"This API is used to update sample labels in batches, including adding, modifying, and deleting sample labels. If the parameter Labels of a sample in the request body is n", @@ -392,278 +356,8 @@ "title":"Updating Sample Labels in Batches", "uri":"UpdateSamples.html", "doc_type":"api", - "p_code":"43", - "code":"44" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"modelarts", - "title":"Labeling Task Management", - "uri":"label_task_management.html", - "doc_type":"api", - "p_code":"11", - "code":"45" - }, - { - "desc":"This API is used to query the team labeling task list of a dataset.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasksNoneStatus code: 200Querying the Team Labelin", - "product_code":"modelarts", - "title":"Querying the Team Labeling Task List of a Dataset", - "uri":"ListWorkforceTasks.html", - "doc_type":"api", - "p_code":"45", - "code":"46" - }, - { - "desc":"This API is used to create a team labeling task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasksStatus code: 200Creating a Team Labeling TaskStatus code: 200OK", - "product_code":"modelarts", - "title":"Creating a Team Labeling Task", - "uri":"CreateWorkforceTask.html", - "doc_type":"api", - "p_code":"45", - "code":"47" - }, - { - "desc":"This API is used to query the details about a team labeling task.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneStatus code: 200Queryin", - "product_code":"modelarts", - "title":"Querying Details About a Team Labeling Task", - "uri":"DescWorkforceTask.html", - "doc_type":"api", - "p_code":"45", - "code":"48" - }, - { - "desc":"This API is used to start a team labeling task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneStarting a Team Labeling TaskStatus code", - "product_code":"modelarts", - "title":"Starting a Team Labeling Task", - "uri":"StartWorkforceTask.html", - "doc_type":"api", - "p_code":"45", - "code":"49" - }, - { - "desc":"This API is used to update a team labeling task.PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneUpdating a Team Labeling TaskStatus code", - "product_code":"modelarts", - "title":"Updating a Team Labeling Task", - "uri":"UpdateWorkforceTask.html", - "doc_type":"api", - "p_code":"45", - "code":"50" - }, - { - "desc":"This API is used to delete a team labeling task.DELETE /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}NoneNoneDeleting a Team Labeling TaskStat", - "product_code":"modelarts", - "title":"Deleting a Team Labeling Task", - "uri":"DeleteWorkforceTask.html", - "doc_type":"api", - "p_code":"45", - "code":"51" - }, - { - "desc":"This API is used to create a team labeling acceptance task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptanceStatus code: 200Creat", - "product_code":"modelarts", - "title":"Creating a Team Labeling Acceptance Task", - "uri":"StartWorkforceSamplingTask.html", - "doc_type":"api", - "p_code":"45", - "code":"52" - }, - { - "desc":"This API is used to query the report of a team labeling acceptance task.GET /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/reportNo", - "product_code":"modelarts", - "title":"Querying the Report of a Team Labeling Acceptance Task", - "uri":"GetWorkforceSamplingTask.html", - "doc_type":"api", - "p_code":"45", - "code":"53" - }, - { - "desc":"This API is used to update the sample status by confirming the acceptance scope and whether the labeled data is overwritten before the acceptance of the team labeling tas", - "product_code":"modelarts", - "title":"Updating the Status of a Team Labeling Acceptance Task", - "uri":"UpdateWorkforceSamplingTask.html", - "doc_type":"api", - "p_code":"45", - "code":"54" - }, - { - "desc":"This API is used to query the team labeling task list by a team member.GET /v2/{project_id}/workforces/worker-tasksNoneStatus code: 200Querying the Team Labeling Task Lis", - "product_code":"modelarts", - "title":"Querying the Team Labeling Task List by a Team Member", - "uri":"ListWorkerTasks.html", - "doc_type":"api", - "p_code":"45", - "code":"55" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"modelarts", - "title":"Team Labeling Process Management", - "uri":"workforce_process_management.html", - "doc_type":"api", - "p_code":"11", - "code":"56" - }, - { - "desc":"This API is used to submit sample review comments of an acceptance task.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/acceptance/batch-c", - "product_code":"modelarts", - "title":"Submitting Sample Review Comments of an Acceptance Task", - "uri":"AcceptSamples.html", - "doc_type":"api", - "p_code":"56", - "code":"57" - }, - { - "desc":"This API is used to review team labeling results.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/reviewNoneReviewing Team", - "product_code":"modelarts", - "title":"Reviewing Team Labeling Results", - "uri":"ReviewSamples.html", - "doc_type":"api", - "p_code":"56", - "code":"58" - }, - { - "desc":"This API is used to update labels of team labeling samples in batches.PUT /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/data-annotations/samp", - "product_code":"modelarts", - "title":"Updating Labels of Team Labeling Samples in Batches", - "uri":"UpdateWorkforceTaskSamples.html", - "doc_type":"api", - "p_code":"56", - "code":"59" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"modelarts", - "title":"Labeling Team Management", - "uri":"workforce_management.html", - "doc_type":"api", - "p_code":"11", - "code":"60" - }, - { - "desc":"This API is used to query the labeling team list.GET /v2/{project_id}/workforcesNoneStatus code: 200Querying the Labeling Team ListStatus code: 200OKSee Error Codes.", - "product_code":"modelarts", - "title":"Querying the Labeling Team List", - "uri":"ListWorkforces.html", - "doc_type":"api", - "p_code":"60", - "code":"61" - }, - { - "desc":"This API is used to create a labeling team.POST /v2/{project_id}/workforcesStatus code: 201Creating a Labeling TeamStatus code: 201CreatedSee Error Codes.", - "product_code":"modelarts", - "title":"Creating a Labeling Team", - "uri":"CreateWorkforce.html", - "doc_type":"api", - "p_code":"60", - "code":"62" - }, - { - "desc":"This API is used to query the details about a labeling team.GET /v2/{project_id}/workforces/{workforce_id}NoneStatus code: 200Querying Details About a Labeling TeamStatus", - "product_code":"modelarts", - "title":"Querying Details About a Labeling Team", - "uri":"DescWorkforce.html", - "doc_type":"api", - "p_code":"60", - "code":"63" - }, - { - "desc":"This API is used to update a labeling team.PUT /v2/{project_id}/workforces/{workforce_id}NoneUpdating a Labeling TeamStatus code: 200OKSee Error Codes.", - "product_code":"modelarts", - "title":"Updating a Labeling Team", - "uri":"UpdateWorkforce.html", - "doc_type":"api", - "p_code":"60", - "code":"64" - }, - { - "desc":"This API is used to delete a labeling team.DELETE /v2/{project_id}/workforces/{workforce_id}NoneStatus code: 204Deleting a Labeling TeamStatus code: 204No ContentSee Erro", - "product_code":"modelarts", - "title":"Deleting a Labeling Team", - "uri":"DeleteWorkforce.html", - "doc_type":"api", - "p_code":"60", - "code":"65" - }, - { - "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", - "product_code":"modelarts", - "title":"Labeling Team Member Management", - "uri":"workforce_worker_management.html", - "doc_type":"api", - "p_code":"11", - "code":"66" - }, - { - "desc":"This API is used to send an email to a labeling team member.POST /v2/{project_id}/datasets/{dataset_id}/workforce-tasks/{workforce_task_id}/notifyStatus code: 200Sending ", - "product_code":"modelarts", - "title":"Sending an Email to a Labeling Team Member", - "uri":"SendEmails.html", - "doc_type":"api", - "p_code":"66", - "code":"67" - }, - { - "desc":"This API is used to query the list of all labeling team members.GET /v2/{project_id}/workforces/workersNoneStatus code: 200Querying All Labeling Team AdministratorsStatus", - "product_code":"modelarts", - "title":"Querying the List of All Labeling Team Members", - "uri":"ListAllWorkers.html", - "doc_type":"api", - "p_code":"66", - "code":"68" - }, - { - "desc":"This API is used to query the list of labeling team members.GET /v2/{project_id}/workforces/{workforce_id}/workersNoneStatus code: 200Querying the List of Labeling Team M", - "product_code":"modelarts", - "title":"Querying the List of Labeling Team Members", - "uri":"ListWorkers.html", - "doc_type":"api", - "p_code":"66", - "code":"69" - }, - { - "desc":"This API is used to create a labeling team member.POST /v2/{project_id}/workforces/{workforce_id}/workersNoneCreating a Labeling Team MemberStatus code: 201CreatedSee Err", - "product_code":"modelarts", - "title":"Creating a Labeling Team Member", - "uri":"CreateWorker.html", - "doc_type":"api", - "p_code":"66", - "code":"70" - }, - { - "desc":"This API is used to delete labeling team members in batches.POST /v2/{project_id}/workforces/{workforce_id}/workers/batch-deleteStatus code: 200Deleting Labeling Team Mem", - "product_code":"modelarts", - "title":"Deleting Labeling Team Members in Batches", - "uri":"DeleteWorkers.html", - "doc_type":"api", - "p_code":"66", - "code":"71" - }, - { - "desc":"This API is used to query details about labeling team members.GET /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneStatus code: 200Querying Details About", - "product_code":"modelarts", - "title":"Querying Details About Labeling Team Members", - "uri":"DescWorker.html", - "doc_type":"api", - "p_code":"66", - "code":"72" - }, - { - "desc":"This API is used to update a labeling team member.PUT /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneUpdating a Labeling Team MemberStatus code: 200OKS", - "product_code":"modelarts", - "title":"Updating a Labeling Team Member", - "uri":"UpdateWorker.html", - "doc_type":"api", - "p_code":"66", - "code":"73" - }, - { - "desc":"This API is used to delete a labeling team member.DELETE /v2/{project_id}/workforces/{workforce_id}/workers/{worker_id}NoneNoneDeleting a Labeling Team MemberStatus code:", - "product_code":"modelarts", - "title":"Deleting a Labeling Team Member", - "uri":"DeleteWorker.html", - "doc_type":"api", - "p_code":"66", - "code":"74" + "p_code":"39", + "code":"40" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -672,7 +366,7 @@ "uri":"data_import.html", "doc_type":"api", "p_code":"11", - "code":"75" + "code":"41" }, { "desc":"This API is used to query the dataset import task list by page.GET /v2/{project_id}/datasets/{dataset_id}/import-tasksNoneStatus code: 200Obtaining the Dataset Import Tas", @@ -680,8 +374,8 @@ "title":"Querying the Dataset Import Task List", "uri":"ListImportTasks.html", "doc_type":"api", - "p_code":"75", - "code":"76" + "p_code":"41", + "code":"42" }, { "desc":"This API is used to create a dataset import task to import samples and labels from the storage system to the dataset.POST /v2/{project_id}/datasets/{dataset_id}/import-ta", @@ -689,8 +383,8 @@ "title":"Creating an Import Task", "uri":"ImportTask.html", "doc_type":"api", - "p_code":"75", - "code":"77" + "p_code":"41", + "code":"43" }, { "desc":"This API is used to query details about a dataset import task.GET /v2/{project_id}/datasets/{dataset_id}/import-tasks/{task_id}NoneStatus code: 200Querying Details About ", @@ -698,8 +392,8 @@ "title":"Querying Details About a Dataset Import Task", "uri":"DescImportTask.html", "doc_type":"api", - "p_code":"75", - "code":"78" + "p_code":"41", + "code":"44" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -708,7 +402,7 @@ "uri":"data_export.html", "doc_type":"api", "p_code":"11", - "code":"79" + "code":"45" }, { "desc":"This API is used to query the dataset export task list by page.GET /v2/{project_id}/datasets/{dataset_id}/export-tasksNoneStatus code: 200Querying the Export Task List by", @@ -716,8 +410,8 @@ "title":"Querying the Dataset Export Task List", "uri":"GetExportTasksStatusOfDataset.html", "doc_type":"api", - "p_code":"79", - "code":"80" + "p_code":"45", + "code":"46" }, { "desc":"This API is used to create a dataset export task to export a dataset to OBS or new datasets.POST /v2/{project_id}/datasets/{dataset_id}/export-tasksStatus code: 200Creati", @@ -725,8 +419,8 @@ "title":"Creating a Dataset Export Task", "uri":"ExportTask.html", "doc_type":"api", - "p_code":"79", - "code":"81" + "p_code":"45", + "code":"47" }, { "desc":"This API is used to query the status of a dataset export task.GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id}NoneStatus code: 200Querying the Status of", @@ -734,8 +428,8 @@ "title":"Querying the Status of a Dataset Export Task", "uri":"GetExportTaskStatusOfDataset.html", "doc_type":"api", - "p_code":"79", - "code":"82" + "p_code":"45", + "code":"48" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -744,7 +438,7 @@ "uri":"data_sync.html", "doc_type":"api", "p_code":"11", - "code":"83" + "code":"49" }, { "desc":"This API is used to synchronize samples and labeling information from the input dataset path to the dataset.POST /v2/{project_id}/datasets/{dataset_id}/sync-dataNoneNoneS", @@ -752,8 +446,8 @@ "title":"Synchronizing a Dataset", "uri":"SyncDataSource.html", "doc_type":"api", - "p_code":"83", - "code":"84" + "p_code":"49", + "code":"50" }, { "desc":"This API is used to query the status of a dataset synchronization task.GET /v2/{project_id}/datasets/{dataset_id}/sync-data/statusNoneStatus code: 200Obtaining the Status", @@ -761,8 +455,8 @@ "title":"Querying the Status of a Dataset Synchronization Task", "uri":"SyncDataSourceState.html", "doc_type":"api", - "p_code":"83", - "code":"85" + "p_code":"49", + "code":"51" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -771,7 +465,7 @@ "uri":"modelarts_03_0108.html", "doc_type":"api", "p_code":"", - "code":"86" + "code":"52" }, { "desc":"This API is used to create a development environment instance for code development.Calling this API is an asynchronous operation. The job status can be obtained by callin", @@ -779,8 +473,8 @@ "title":"Creating a Development Environment Instance", "uri":"modelarts_03_0110.html", "doc_type":"api", - "p_code":"86", - "code":"87" + "p_code":"52", + "code":"53" }, { "desc":"This API is used to query the development environment instances that meet the search criteria.GET /v1/{project_id}/demanager/instances?de_type={de_type}&provision_type={p", @@ -788,8 +482,8 @@ "title":"Querying a List of Development Environment Instances", "uri":"modelarts_03_0111.html", "doc_type":"api", - "p_code":"86", - "code":"88" + "p_code":"52", + "code":"54" }, { "desc":"This API is used to query the details about a development environment instance.GET /v1/{project_id}/demanager/instances/{instance_id}Table 1 describes the required parame", @@ -797,8 +491,8 @@ "title":"Querying Details About a Development Environment Instance", "uri":"modelarts_03_0112.html", "doc_type":"api", - "p_code":"86", - "code":"89" + "p_code":"52", + "code":"55" }, { "desc":"This API is used to modify the description of a development environment instance or information about the auto stop function.PUT /v1/{project_id}/demanager/instances/{ins", @@ -806,8 +500,8 @@ "title":"Modifying the Description of a Development Environment Instance", "uri":"modelarts_03_0113.html", "doc_type":"api", - "p_code":"86", - "code":"90" + "p_code":"52", + "code":"56" }, { "desc":"This API is used to delete a development environment instance.DELETE /v1/{project_id}/demanager/instances/{instance_id}Table 1 describes the required parameters.Parameter", @@ -815,8 +509,8 @@ "title":"Deleting a Development Environment Instance", "uri":"modelarts_03_0114.html", "doc_type":"api", - "p_code":"86", - "code":"91" + "p_code":"52", + "code":"57" }, { "desc":"This API is used to startor stop a notebook instance.POST /v1/{project_id}/demanager/instances/{instance_id}/actionTable 1 describes the required parameters.ParametersPar", @@ -824,8 +518,8 @@ "title":"Managing a Development Environment Instance", "uri":"modelarts_03_0115.html", "doc_type":"api", - "p_code":"86", - "code":"92" + "p_code":"52", + "code":"58" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -834,7 +528,7 @@ "uri":"modelarts_03_0043.html", "doc_type":"api", "p_code":"", - "code":"93" + "code":"59" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -842,8 +536,8 @@ "title":"Training Jobs", "uri":"modelarts_03_0044.html", "doc_type":"api", - "p_code":"93", - "code":"94" + "p_code":"59", + "code":"60" }, { "desc":"This API is used to create a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Traini", @@ -851,8 +545,8 @@ "title":"Creating a Training Job", "uri":"modelarts_03_0045.html", "doc_type":"api", - "p_code":"94", - "code":"95" + "p_code":"60", + "code":"61" }, { "desc":"This API is used to query the created training jobs that meet the search criteria.GET /v1/{project_id}/training-jobsTable 1 describes the required parameters.URI paramete", @@ -860,8 +554,8 @@ "title":"Querying a Training Job List", "uri":"modelarts_03_0046.html", "doc_type":"api", - "p_code":"94", - "code":"96" + "p_code":"60", + "code":"62" }, { "desc":"This API is used to query the details about a specified training job based on the job ID.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}Table 1 describe", @@ -869,8 +563,8 @@ "title":"Querying the Details About a Training Job Version", "uri":"modelarts_03_0047.html", "doc_type":"api", - "p_code":"94", - "code":"97" + "p_code":"60", + "code":"63" }, { "desc":"This API is used to delete a version of a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Quer", @@ -878,8 +572,8 @@ "title":"Deleting a Version of a Training Job", "uri":"modelarts_03_0048.html", "doc_type":"api", - "p_code":"94", - "code":"98" + "p_code":"60", + "code":"64" }, { "desc":"This API is used to query the version of a specified training job based on the job ID.GET /v1/{project_id}/training-jobs/{job_id}/versionsTable 1 describes the required p", @@ -887,8 +581,8 @@ "title":"Querying a List of Training Job Versions", "uri":"modelarts_03_0049.html", "doc_type":"api", - "p_code":"94", - "code":"99" + "p_code":"60", + "code":"65" }, { "desc":"This API is used to create a version of a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Quer", @@ -896,8 +590,8 @@ "title":"Creating a Version of a Training Job", "uri":"modelarts_03_0050.html", "doc_type":"api", - "p_code":"94", - "code":"100" + "p_code":"60", + "code":"66" }, { "desc":"This API is used to stop a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Training", @@ -905,8 +599,8 @@ "title":"Stopping a Training Job", "uri":"modelarts_03_0051.html", "doc_type":"api", - "p_code":"94", - "code":"101" + "p_code":"60", + "code":"67" }, { "desc":"This API is used to modify the description of a training job.PUT /v1/{project_id}/training-jobs/{job_id}Table 1 describes the required parameters.ParametersParameterManda", @@ -914,8 +608,8 @@ "title":"Modifying the Description of a Training Job", "uri":"modelarts_03_0052.html", "doc_type":"api", - "p_code":"94", - "code":"102" + "p_code":"60", + "code":"68" }, { "desc":"This API is used to delete a training job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Traini", @@ -923,8 +617,8 @@ "title":"Deleting a Training Job", "uri":"modelarts_03_0053.html", "doc_type":"api", - "p_code":"94", - "code":"103" + "p_code":"60", + "code":"69" }, { "desc":"This API is used to obtain the name of a training job log file.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}/log/file-namesTable 1 describes the requi", @@ -932,8 +626,8 @@ "title":"Obtaining the Name of a Training Job Log File", "uri":"modelarts_03_0054.html", "doc_type":"api", - "p_code":"94", - "code":"104" + "p_code":"60", + "code":"70" }, { "desc":"This API is used to query the details about a built-in model.GET /v1/{project_id}/built-in-algorithmsTable 1 describes the required parameters.ParametersParameterMandator", @@ -941,8 +635,8 @@ "title":"Querying a Built-in Algorithm", "uri":"modelarts_03_0056.html", "doc_type":"api", - "p_code":"94", - "code":"105" + "p_code":"60", + "code":"71" }, { "desc":"This API is used to query detailed information about training job logs by row.GET /v1/{project_id}/training-jobs/{job_id}/versions/{version_id}/aom-logTable 1 describes t", @@ -950,8 +644,8 @@ "title":"Querying Training Job Logs", "uri":"modelarts_03_0149.html", "doc_type":"api", - "p_code":"94", - "code":"106" + "p_code":"60", + "code":"72" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -959,8 +653,8 @@ "title":"Training Job Parameter Configuration", "uri":"modelarts_03_0057.html", "doc_type":"api", - "p_code":"93", - "code":"107" + "p_code":"59", + "code":"73" }, { "desc":"This API is used to create a training job configuration.POST /v1/{project_id}/training-job-configsTable 1 describes the required parameters.ParametersParameterMandatoryTy", @@ -968,8 +662,8 @@ "title":"Creating a Training Job Configuration", "uri":"modelarts_03_0058.html", "doc_type":"api", - "p_code":"107", - "code":"108" + "p_code":"73", + "code":"74" }, { "desc":"This API is used to query the created training job configurations that meet the search criteria.GET /v1/{project_id}/training-job-configsTable 1 describes the required pa", @@ -977,8 +671,8 @@ "title":"Querying a List of Training Job Configurations", "uri":"modelarts_03_0059.html", "doc_type":"api", - "p_code":"107", - "code":"109" + "p_code":"73", + "code":"75" }, { "desc":"This API is used to modify a training job configuration.PUT /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required parameters.ParametersParamet", @@ -986,8 +680,8 @@ "title":"Modifying a Training Job Configuration", "uri":"modelarts_03_0060.html", "doc_type":"api", - "p_code":"107", - "code":"110" + "p_code":"73", + "code":"76" }, { "desc":"This API is used to delete a training job configuration.DELETE /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required parameters.Parameter desc", @@ -995,8 +689,8 @@ "title":"Deleting a Training Job Configuration", "uri":"modelarts_03_0061.html", "doc_type":"api", - "p_code":"107", - "code":"111" + "p_code":"73", + "code":"77" }, { "desc":"This API is used to query the details about a specified training job configuration.GET /v1/{project_id}/training-job-configs/{config_name}Table 1 describes the required p", @@ -1004,8 +698,8 @@ "title":"Querying the Details About a Training Job Configuration", "uri":"modelarts_03_0062.html", "doc_type":"api", - "p_code":"107", - "code":"112" + "p_code":"73", + "code":"78" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1013,8 +707,8 @@ "title":"Visualization Jobs", "uri":"modelarts_03_0063.html", "doc_type":"api", - "p_code":"93", - "code":"113" + "p_code":"59", + "code":"79" }, { "desc":"This API is used to create a visualization job.Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a V", @@ -1022,8 +716,8 @@ "title":"Creating a Visualization Job", "uri":"modelarts_03_0064.html", "doc_type":"api", - "p_code":"113", - "code":"114" + "p_code":"79", + "code":"80" }, { "desc":"This API is used to query the visualization jobs that meet the search criteria.GET /v1/{project_id}/visualization-jobsTable 1 describes the required parameters.Parameters", @@ -1031,8 +725,8 @@ "title":"Querying a Visualization Job List", "uri":"modelarts_03_0065.html", "doc_type":"api", - "p_code":"113", - "code":"115" + "p_code":"79", + "code":"81" }, { "desc":"This API is used to query the details about a specified visualization job based on the job name.GET /v1/{project_id}/visualization-jobs/{job_id}Table 1 describes the requ", @@ -1040,8 +734,8 @@ "title":"Querying the Details About a Visualization Job", "uri":"modelarts_03_0066.html", "doc_type":"api", - "p_code":"113", - "code":"116" + "p_code":"79", + "code":"82" }, { "desc":"This API is used to modify the description of a visualization job.PUT /v1/{project_id}/visualization-jobs/{job_id}Table 1 describes the required parameters.ParametersPara", @@ -1049,8 +743,8 @@ "title":"Modifying the Description of a Visualization Job", "uri":"modelarts_03_0067.html", "doc_type":"api", - "p_code":"113", - "code":"117" + "p_code":"79", + "code":"83" }, { "desc":"This API is used to delete a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a ", @@ -1058,8 +752,8 @@ "title":"Deleting a Visualization Job", "uri":"modelarts_03_0068.html", "doc_type":"api", - "p_code":"113", - "code":"118" + "p_code":"79", + "code":"84" }, { "desc":"This API is used to stop a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a Vi", @@ -1067,8 +761,8 @@ "title":"Stopping a Visualization Job", "uri":"modelarts_03_0069.html", "doc_type":"api", - "p_code":"113", - "code":"119" + "p_code":"79", + "code":"85" }, { "desc":"This API is used to restart a visualization job. Calling this API is an asynchronous operation. The job status can be obtained by calling the APIs described in Querying a", @@ -1076,8 +770,8 @@ "title":"Restarting a Visualization Job", "uri":"modelarts_03_0070.html", "doc_type":"api", - "p_code":"113", - "code":"120" + "p_code":"79", + "code":"86" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1085,8 +779,8 @@ "title":"Resource and Engine Specifications", "uri":"modelarts_03_0071.html", "doc_type":"api", - "p_code":"93", - "code":"121" + "p_code":"59", + "code":"87" }, { "desc":"This API is used to query the resource specifications of a specified job.You must specify the resource specifications when creating a training job or an inference job.GET", @@ -1094,8 +788,8 @@ "title":"Querying Job Resource Specifications", "uri":"modelarts_03_0072.html", "doc_type":"api", - "p_code":"121", - "code":"122" + "p_code":"87", + "code":"88" }, { "desc":"This API is used to query the engine type and version of a specified job.You must specify the engine specifications when creating a training job or an inference job.GET /", @@ -1103,8 +797,8 @@ "title":"Querying Job Engine Specifications", "uri":"modelarts_03_0073.html", "doc_type":"api", - "p_code":"121", - "code":"123" + "p_code":"87", + "code":"89" }, { "desc":"Table 1 describes the job statuses.", @@ -1112,8 +806,8 @@ "title":"Job Statuses", "uri":"modelarts_03_0074.html", "doc_type":"api", - "p_code":"93", - "code":"124" + "p_code":"59", + "code":"90" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1122,7 +816,7 @@ "uri":"modelarts_03_0075.html", "doc_type":"api", "p_code":"", - "code":"125" + "code":"91" }, { "desc":"You can use the API to import a model.Ensure that the execution code and model have been uploaded to OBS. By default, the models generated by a training job are stored in", @@ -1130,8 +824,8 @@ "title":"Importing a Model", "uri":"modelarts_03_0076.html", "doc_type":"api", - "p_code":"125", - "code":"126" + "p_code":"91", + "code":"92" }, { "desc":"This API is used to query the models that meet the search criteria.GET /v1/{project_id}/modelsTable 1 describes the required parameters.ParametersParameterMandatoryTypeDe", @@ -1139,8 +833,8 @@ "title":"Querying a Model List", "uri":"modelarts_03_0077.html", "doc_type":"api", - "p_code":"125", - "code":"127" + "p_code":"91", + "code":"93" }, { "desc":"This API is used to query details about a model based on the model ID.GET /v1/{project_id}/models/{model_id}Table 1 describes the required parameters.ParametersParameterM", @@ -1148,8 +842,8 @@ "title":"Querying the Details About a Model", "uri":"modelarts_03_0078.html", "doc_type":"api", - "p_code":"125", - "code":"128" + "p_code":"91", + "code":"94" }, { "desc":"This API is used to delete a model based on the model ID. When cascade is set to true, the model specified by the model ID and models of different versions with the same ", @@ -1157,8 +851,8 @@ "title":"Deleting a Model", "uri":"modelarts_03_0079.html", "doc_type":"api", - "p_code":"125", - "code":"129" + "p_code":"91", + "code":"95" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1167,7 +861,7 @@ "uri":"modelarts_03_0081.html", "doc_type":"api", "p_code":"", - "code":"130" + "code":"96" }, { "desc":"This API is used to deploy a model as a service.POST /v1/{project_id}/servicesTable 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionproject", @@ -1175,8 +869,8 @@ "title":"Deploying a Model as a Service", "uri":"modelarts_03_0082.html", "doc_type":"api", - "p_code":"130", - "code":"131" + "p_code":"96", + "code":"97" }, { "desc":"This API is used to obtain model services.GET /v1/{project_id}/servicesTable 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionproject_idYesS", @@ -1184,8 +878,8 @@ "title":"Querying a Service List", "uri":"modelarts_03_0083.html", "doc_type":"api", - "p_code":"130", - "code":"132" + "p_code":"96", + "code":"98" }, { "desc":"This API is used to query the details about a model service based on the service ID.GET /v1/{project_id}/services/{service_id}Table 1 describes the required parameters.Pa", @@ -1193,8 +887,8 @@ "title":"Querying the Details About a Service", "uri":"modelarts_03_0084.html", "doc_type":"api", - "p_code":"130", - "code":"133" + "p_code":"96", + "code":"99" }, { "desc":"This API is used to update configurations of a model service. It can also be used to start or stop a service.PUT /v1/{project_id}/services/{service_id}Table 1 describes t", @@ -1202,8 +896,8 @@ "title":"Updating Service Configurations", "uri":"modelarts_03_0086.html", "doc_type":"api", - "p_code":"130", - "code":"134" + "p_code":"96", + "code":"100" }, { "desc":"This API is used to query service monitoring information.GET /v1/{project_id}/services/{service_id}/monitorTable 1 describes the required parameters.ParametersParameterMa", @@ -1211,8 +905,8 @@ "title":"Querying Service Monitoring Information", "uri":"modelarts_03_0087.html", "doc_type":"api", - "p_code":"130", - "code":"135" + "p_code":"96", + "code":"101" }, { "desc":"This API is used to query the update logs of a real-time service.GET /v1/{project_id}/services/{service_id}/logsTable 1 describes the required parameters.ParametersParame", @@ -1220,8 +914,8 @@ "title":"Querying Service Update Logs", "uri":"modelarts_03_0088.html", "doc_type":"api", - "p_code":"130", - "code":"136" + "p_code":"96", + "code":"102" }, { "desc":"This API is used to query service event logs, including service operation records, key actions during deployment, and deployment failure causes.GET /v1/{project_id}/servi", @@ -1229,8 +923,8 @@ "title":"Querying Service Event Logs", "uri":"modelarts_03_0155.html", "doc_type":"api", - "p_code":"130", - "code":"137" + "p_code":"96", + "code":"103" }, { "desc":"This API is used to delete a model service. You can delete your own services only.Table 1 describes the required parameters.ParametersParameterMandatoryTypeDescriptionpro", @@ -1238,8 +932,8 @@ "title":"Deleting a Service", "uri":"modelarts_03_0089.html", "doc_type":"api", - "p_code":"130", - "code":"138" + "p_code":"96", + "code":"104" }, { "desc":"This API is used to query supported service deployment specifications.URIGET /v1/{project_id}/services/specificationsNoneSample requestGET https://endpoint/v1/{project", @@ -1247,8 +941,8 @@ "title":"Querying Supported Service Deployment Specifications", "uri":"modelarts_03_0200.html", "doc_type":"api", - "p_code":"130", - "code":"139" + "p_code":"96", + "code":"105" }, { "desc":"This API is used to query dedicated resource pools.GET /v1/{project_id}/clustersParametersParameterMandatoryTypeDescriptionproject_idYesStringProject ID. For details abou", @@ -1256,8 +950,8 @@ "title":"Querying Dedicated Resource Pools", "uri":"modelarts_03_0201.html", "doc_type":"api", - "p_code":"130", - "code":"140" + "p_code":"96", + "code":"106" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1266,7 +960,7 @@ "uri":"authorization.html", "doc_type":"api", "p_code":"", - "code":"141" + "code":"107" }, { "desc":"This API is used to configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services c", @@ -1274,8 +968,8 @@ "title":"Configuring Authorization", "uri":"CreateAuthorization.html", "doc_type":"api", - "p_code":"141", - "code":"142" + "p_code":"107", + "code":"108" }, { "desc":"This API is used to view an authorization list.GET /v2/{project_id}/authorizationsNoneStatus code: 200View an authorization list.Status code: 200OKSee Error Codes.", @@ -1283,8 +977,8 @@ "title":"Viewing an Authorization List", "uri":"GetAuthorizations.html", "doc_type":"api", - "p_code":"141", - "code":"143" + "p_code":"107", + "code":"109" }, { "desc":"This API is used to delete the authorization of a specified user or all users.DELETE /v2/{project_id}/authorizationsNoneNoneDelete the authorization of a specified user.S", @@ -1292,17 +986,17 @@ "title":"Deleting Authorization", "uri":"DeleteAuthorizations.html", "doc_type":"api", - "p_code":"141", - "code":"144" + "p_code":"107", + "code":"110" }, { - "desc":"This API is used to create an agency so that ModelArts can access dependent services such as OBS, SWR, and IEF.POST /v2/{project_id}/agencyNoneCreate a ModelArts agency.S", + "desc":"This API is used to create a ModelArts agency for dependent services such as OBS, SWR, and IEF.POST /v2/{project_id}/agencyNoneCreate a ModelArts agency.Status code: 200O", "product_code":"modelarts", "title":"Creating a ModelArts Agency", "uri":"CreateModelArtsAgency.html", "doc_type":"api", - "p_code":"141", - "code":"145" + "p_code":"107", + "code":"111" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1311,7 +1005,7 @@ "uri":"modelarts_03_0400.html", "doc_type":"api", "p_code":"", - "code":"146" + "code":"112" }, { "desc":"This section describes how to train a model on ModelArts by calling a series of APIs.The process for creating a training job using the TensorFlow framework is as follows:", @@ -1319,8 +1013,8 @@ "title":"Creating a Training Job Using the TensorFlow Framework", "uri":"modelarts_03_0401.html", "doc_type":"api", - "p_code":"146", - "code":"147" + "p_code":"112", + "code":"113" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1329,7 +1023,7 @@ "uri":"modelarts_03_0138.html", "doc_type":"api", "p_code":"", - "code":"148" + "code":"114" }, { "desc":"This section describes fine-grained permissions management for your ModelArts. If your current account does not require individual IAM users, skip this section.By default", @@ -1337,8 +1031,8 @@ "title":"Introduction", "uri":"modelarts_03_0146.html", "doc_type":"api", - "p_code":"148", - "code":"149" + "p_code":"114", + "code":"115" }, { "desc":"ExeML APIs are inaccessible to external systems. To use ExeML functions on the console and manage permissions, perform the operations described in the following table.", @@ -1346,8 +1040,8 @@ "title":"ExeML Permissions", "uri":"modelarts_03_0234.html", "doc_type":"api", - "p_code":"148", - "code":"150" + "p_code":"114", + "code":"116" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1355,8 +1049,8 @@ "title":"Data Management Permissions", "uri":"modelarts_03_0161.html", "doc_type":"api", - "p_code":"148", - "code":"151" + "p_code":"114", + "code":"117" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1364,8 +1058,8 @@ "title":"DevEnviron Permissions", "uri":"modelarts_03_0162.html", "doc_type":"api", - "p_code":"148", - "code":"152" + "p_code":"114", + "code":"118" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1373,8 +1067,8 @@ "title":"Training Job Permissions", "uri":"modelarts_03_0163.html", "doc_type":"api", - "p_code":"148", - "code":"153" + "p_code":"114", + "code":"119" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1382,8 +1076,8 @@ "title":"Model Management Permissions", "uri":"modelarts_03_0164.html", "doc_type":"api", - "p_code":"148", - "code":"154" + "p_code":"114", + "code":"120" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1391,8 +1085,8 @@ "title":"Service Management Permissions", "uri":"modelarts_03_0165.html", "doc_type":"api", - "p_code":"148", - "code":"155" + "p_code":"114", + "code":"121" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1401,7 +1095,7 @@ "uri":"modelarts_03_0093.html", "doc_type":"api", "p_code":"", - "code":"156" + "code":"122" }, { "desc":"Table 1 describes the status codes.", @@ -1409,8 +1103,8 @@ "title":"Status Code", "uri":"modelarts_03_0094.html", "doc_type":"api", - "p_code":"156", - "code":"157" + "p_code":"122", + "code":"123" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1418,8 +1112,8 @@ "title":"Error Codes", "uri":"modelarts_03_0095.html", "doc_type":"api", - "p_code":"156", - "code":"158" + "p_code":"122", + "code":"124" }, { "desc":"A project ID is required for some requests when an API is called. Therefore, obtain the project ID before calling the API. Use either of the following methods:Obtaining a", @@ -1427,8 +1121,8 @@ "title":"Obtaining a Project ID", "uri":"modelarts_03_0147.html", "doc_type":"api", - "p_code":"156", - "code":"159" + "p_code":"122", + "code":"125" }, { "desc":"When you call APIs, certain requests require the account name and ID. To obtain an account name and ID, do as follows:Sign up and log in to the console.Hover the cursor o", @@ -1436,8 +1130,8 @@ "title":"Obtaining an Account Name and ID", "uri":"modelarts_03_0148.html", "doc_type":"api", - "p_code":"156", - "code":"160" + "p_code":"122", + "code":"126" }, { "desc":"When you call APIs, certain requests require the username and ID. To obtain a username and ID, do as follows:Log in to the management console after registration.Hover the", @@ -1445,8 +1139,8 @@ "title":"Obtaining a Username and ID", "uri":"modelarts_03_0006.html", "doc_type":"api", - "p_code":"156", - "code":"161" + "p_code":"122", + "code":"127" }, { "desc":"A project ID or name is required for some requests when an API is called. Therefore, obtain the project ID and name before calling the API.To do so, perform the following", @@ -1454,8 +1148,8 @@ "title":"Obtaining a Project Name", "uri":"modelarts_03_0247.html", "doc_type":"api", - "p_code":"156", - "code":"162" + "p_code":"122", + "code":"128" }, { "desc":"HUAWEI CLOUD Help Center presents technical documents to help you quickly get started with HUAWEI CLOUD services. The technical documents include Service Overview, Price Details, Purchase Guide, User Guide, API Reference, Best Practices, FAQs, and Videos.", @@ -1464,6 +1158,6 @@ "uri":"modelarts_03_0097.html", "doc_type":"api", "p_code":"", - "code":"163" + "code":"129" } ] \ No newline at end of file diff --git a/docs/modelarts/api-ref/CreateAuthorization.html b/docs/modelarts/api-ref/CreateAuthorization.html index 6dc0a29f8..2638f70a6 100644 --- a/docs/modelarts/api-ref/CreateAuthorization.html +++ b/docs/modelarts/api-ref/CreateAuthorization.html @@ -1,98 +1,94 @@

Configuring Authorization

-

Function

This API is used to configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services can be properly used only after required permissions are assigned. The administrator can use this API to set an agency for IAM users and set the access key of the current user.

+

Function

This API is used to configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services can be properly used only after required authorization is configured. This API allows the administrator to configure an agency for IAM users and set an access key of the current user.

-

URI

POST /v2/{project_id}/authorizations

+

URI

POST /v2/{project_id}/authorizations

-
Table 1 Path parameters

Parameter

+
- - - - - - -
Table 1 Path Parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

project_id

+

project_id

Yes

+

Yes

String

+

String

Project ID. For details about how to obtain a project ID, see Obtaining a Project ID.

+

Project ID. For details about how to obtain a project ID, see Obtaining a Project ID.

-

Request Parameters

-
Table 2 Request body parameters

Parameter

+

Request Parameters

+
- - - - - - - - - - - - - - - - - - -
Table 2 Request body parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

user_id

+

user_id

No

+

No

String

+

String

User ID. For details about how to obtain a user ID, see Obtaining a User ID.

-

If user_id is set to all, all IAM users are authorized. If some IAM users have been authorized, the authorization setting will be updated.

-

This parameter is mandatory only if the authorization type is set to agency.

+

User ID. For details about how to obtain a user ID, see Obtaining a User ID.

+

If user_id is set to all-users, authorization is configured for all IAM users. If some users have been authorized, their authorization will be updated.

+

This parameter is mandatory only if the authorization method is set to Agency.

type

+

type

No

+

No

String

+

String

Authorization type. Agency is recommended.

-

Options:

-
  • agency: authorization through an agency

    -
  • credential: authorization through an access Key (AK/SK)

    -
-

Default: agency

+

Authorization type. Agency is recommended.

+

Options:

+
  • agency: authorization through an agency
  • credential: authorization through an access Key (AK/SK)
+

Default: agency

content

+

content

Yes

+

Yes

String

+

String

Authorization content.

-
  • If Authorization Type is set to Agency, this field indicates the agency name.

    -
  • If Authorization Type is set to AK/SK, this field indicates the access key ID (AK).

    -
+

Authorization content.

+
  • If Authorization Type is set to Agency, this field indicates the agency name.
  • If Authorization Type is set to AK/SK, this field indicates the access key ID (AK).

secret_key

+

secret_key

No

+

No

String

+

String

Secret Access Key (SK). This field is required only when Authorization Method is set to AK/SK.

+

Secret Access Key (SK). This field is required only when Authorization Method is set to AK/SK.

-

Response Parameters

None

+

Response Parameters

None

-

Example Requests

Upload authorization.

-
POST https://{endpoint}/v2/{project_id}/authorizations
+

Example Requests

Upload authorization.

+
POST https://{endpoint}/v2/{project_id}/authorizations
 
 {
   "user_id" : "****d80fb058844ae8b82aa66d9fe****",
@@ -100,49 +96,49 @@
   "content" : "modelarts_agency"
 }
-

Example Responses

Status code: 200

-

OK

-
{
+

Example Responses

Status code: 200

+

OK

+
{
   "result" : "true"
 }
-

Status Codes

-

Status Code

+

Status Codes

+
- - - - - - - - - - -

Status Code

Description

+

Description

200

+

200

OK

+

OK

400

+

400

Bad Request

+

Bad Request

401

+

401

Unauthorized

+

Unauthorized

403

+

403

Forbidden

+

Forbidden

404

+

404

Not Found

+

Not Found

-

Error Codes

See Error Codes.

+

Error Codes

See Error Codes.

diff --git a/docs/modelarts/api-ref/CreateDataset.html b/docs/modelarts/api-ref/CreateDataset.html index 18653c115..fa67dbd09 100644 --- a/docs/modelarts/api-ref/CreateDataset.html +++ b/docs/modelarts/api-ref/CreateDataset.html @@ -1,984 +1,1003 @@

Creating a Dataset

-

Function

This API is used to create a dataset.

+

Function

This API is used to create a dataset.

-

URI

POST /v2/{project_id}/datasets

+

URI

POST /v2/{project_id}/datasets

-
Table 1 Path Parameters

Parameter

+
- - - - - - -
Table 1 Path Parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

project_id

+

project_id

Yes

+

Yes

String

+

String

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

+

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

-

Request Parameters

-
Table 2 Request body parameters

Parameter

+

Request Parameters

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 2 Request body parameters

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

data_format

+

data_format

No

+

No

String

+

String

Data format. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets)

+

Data format. The options are as follows:

+
  • Default: default format
  • CarbonData: CarbonData (supported only by table datasets)

data_sources

+

data_sources

No

+

No

Array of DataSource objects

+

Array of DataSource objects

Input dataset path, which is used to synchronize source data (such as images, text files, and audio files) in the directory and its subdirectories to the dataset. For a table dataset, this parameter indicates the import directory. The work directory of a table dataset cannot be an OBS path in a KMS-encrypted bucket.

+

Input dataset path, which is used to synchronize source data (such as images, text files, and audio files) in the directory and its subdirectories to the dataset. For a table dataset, this parameter indicates the import directory. The work directory of a table dataset cannot be an OBS path in a KMS-encrypted bucket.

dataset_name

+

dataset_name

Yes

+

Yes

String

+

String

Dataset name. The value contains 1 to 100 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed, for example, dataset-9f3b.

+

Dataset name. The value contains 1 to 100 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed, for example, dataset-9f3b.

dataset_type

+

dataset_type

No

+

No

Integer

+

Integer

Dataset type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

+

Dataset type. The options are as follows:

+
  • 0: image classification
  • 1: object detection
  • 100: text classification
  • 101: named entity recognition
  • 102: text triplet
  • 200: sound classification
  • 201: speech content
  • 202: speech paragraph labeling
  • 400: table dataset
  • 600: video labeling
  • 900: custom format

description

+

description

No

+

No

String

+

String

Dataset description. The value is empty by default. The description contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

+

Dataset description. The value is empty by default. The description contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

import_annotations

+

import_annotations

No

+

No

Boolean

+

Boolean

Whether to automatically import the labeling information in the input directory, supporting detection, image classification, and text classification. The options are as follows: - true: Import labeling information in the input directory. (Default value) - false: Do not import labeling information in the input directory.

+

Whether to automatically import the labeling information in the input directory, supporting detection, image classification, and text classification. The options are as follows:

+
  • true: Import labeling information in the input directory. (Default value)
  • false: Do not import labeling information in the input directory.

import_data

+

import_data

No

+

No

Boolean

+

Boolean

Whether to import data. This parameter is used only for table datasets. The options are as follows: - true: Import data when creating a database. - false: Do not import data when creating a database. (Default value)

+

Whether to import data. This parameter is used only for table datasets. The options are as follows:

+
  • true: Import data when creating a database.
  • false: Do not import data when creating a database. (Default value)

label_format

+

label_format

No

+

No

LabelFormat object

+

LabelFormat object

Label format information. This parameter is used only for text datasets.

+

Label format information. This parameter is used only for text datasets.

labels

+

labels

No

+

No

Array of Label objects

+

Array of Label objects

Dataset label list.

+

Dataset label list.

managed

+

managed

No

+

No

Boolean

+

Boolean

Whether to host a dataset. The options are as follows: - true: Host a dataset. - false: Do not host a dataset. (Default value)

+

Whether to host a dataset. The options are as follows:

+
  • true: Host a dataset.
  • false: Do not host a dataset. (Default value)

schema

+

schema

No

+

No

Array of Field objects

+

Array of Field objects

Schema list.

+

Schema list.

work_path

+

work_path

Yes

+

Yes

String

+

String

Output dataset path, which is used to store output files such as label files. - The format is /Bucket name/File path, for example, /obs-bucket/flower/rose/. (The directory is used as the path.)- A bucket cannot be directly used as a path.- The output dataset path is different from the input dataset path or its subdirectory.- The value contains 3 to 700 characters.

+

Output dataset path, which is used to store output files such as label files.

+
  • The format is /Bucket name/File path, for example, /obs-bucket/flower/rose/. (The directory is used as the path.)
  • A bucket cannot be directly used as a path.
  • The output dataset path is different from the input dataset path or its subdirectory.
  • The value contains 3 to 700 characters.

work_path_type

+

work_path_type

Yes

+

Yes

Integer

+

Integer

Type of the dataset output path. The options are as follows: - 0: OBS bucket (default value)

+

Type of the dataset output path. The options are as follows:

+
  • 0: OBS bucket (default value)

workforce_information

+

workforce_information

No

+

No

WorkforceInformation object

+

WorkforceInformation object

Team labeling information.

+

Team labeling information.

workspace_id

+

workspace_id

No

+

No

String

+

String

Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

+

Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

-
Table 3 DataSource

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 3 DataSource

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

data_path

+

data_path

No

+

No

String

+

String

Data source path.

+

Data source path.

data_type

+

data_type

No

+

No

Integer

+

Integer

Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

+

Data type. The options are as follows:

+
  • 0: OBS bucket (default value)
  • 1: GaussDB(DWS)
  • 2: DLI
  • 3: RDS
  • 4: MRS
  • 5: AI Gallery
  • 6: Inference service

schema_maps

+

schema_maps

No

+

No

Array of SchemaMap objects

+

Array of SchemaMap objects

Schema mapping information corresponding to the table data.

+

Schema mapping information corresponding to the table data.

source_info

+

source_info

No

+

No

SourceInfo object

+

SourceInfo object

Information required for importing a table data source.

+

Information required for importing a table data source.

with_column_header

+

with_column_header

No

+

No

Boolean

+

Boolean

Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

+

Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

+
  • true: The first row in the file is the column name.
  • false: The first row in the file is not the column name.
-
Table 4 SchemaMap

Parameter

+
- - - - - - - - - - -
Table 4 SchemaMap

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

dest_name

+

dest_name

No

+

No

String

+

String

Name of the destination column.

+

Name of the destination column.

src_name

+

src_name

No

+

No

String

+

String

Name of the source column.

+

Name of the source column.

-
Table 5 SourceInfo

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 5 SourceInfo

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

cluster_id

+

cluster_id

No

+

No

String

+

String

ID of an MRS cluster.

+

ID of an MRS cluster.

cluster_mode

+

cluster_mode

No

+

No

String

+

String

Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

+

Running mode of an MRS cluster. The options are as follows:

+
  • 0: normal cluster
  • 1: security cluster

cluster_name

+

cluster_name

No

+

No

String

+

String

Name of an MRS cluster.

+

Name of an MRS cluster.

database_name

+

database_name

No

+

No

String

+

String

Name of the database to which the table dataset is imported.

+

Name of the database to which the table dataset is imported.

input

+

input

No

+

No

String

+

String

HDFS path of a table dataset.

+

HDFS path of a table dataset.

ip

+

ip

No

+

No

String

+

String

IP address of your GaussDB(DWS) cluster.

+

IP address of your GaussDB(DWS) cluster.

port

+

port

No

+

No

String

+

String

Port number of your GaussDB(DWS) cluster.

+

Port number of your GaussDB(DWS) cluster.

queue_name

+

queue_name

No

+

No

String

+

String

DLI queue name of a table dataset.

+

DLI queue name of a table dataset.

subnet_id

+

subnet_id

No

+

No

String

+

String

Subnet ID of an MRS cluster.

+

Subnet ID of an MRS cluster.

table_name

+

table_name

No

+

No

String

+

String

Name of the table to which a table dataset is imported.

+

Name of the table to which a table dataset is imported.

user_name

+

user_name

No

+

No

String

+

String

Username, which is mandatory for GaussDB(DWS) data.

+

Username, which is mandatory for GaussDB(DWS) data.

user_password

+

user_password

No

+

No

String

+

String

User password, which is mandatory for GaussDB(DWS) data.

+

User password, which is mandatory for GaussDB(DWS) data.

vpc_id

+

vpc_id

No

+

No

String

+

String

ID of the VPC where an MRS cluster resides.

+

ID of the VPC where an MRS cluster resides.

-
Table 6 LabelFormat

Parameter

+
- - - - - - - - - - - - - - -
Table 6 LabelFormat

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

label_type

+

label_type

No

+

No

String

+

String

Label type of text classification. The options are as follows: - 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt. - 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

+

Label type of text classification. The options are as follows:

+
  • 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt.
  • 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

text_label_separator

+

text_label_separator

No

+

No

String

+

String

Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

+

Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

text_sample_separator

+

text_sample_separator

No

+

No

String

+

String

Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

+

Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

-
Table 7 Label

Parameter

+
- - - - - - - - - - - - - - - - - - -
Table 7 Label

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

attributes

+

attributes

No

+

No

Array of LabelAttribute objects

+

Array of LabelAttribute objects

Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

+

Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

name

+

name

No

+

No

String

+

String

Label name.

+

Label name.

property

+

property

No

+

No

LabelProperty object

+

LabelProperty object

Basic attribute key-value pair of a label, such as color and shortcut keys.

+

Basic attribute key-value pair of a label, such as color and shortcut keys.

type

+

type

No

+

No

Integer

+

Integer

Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

+

Label type. The options are as follows:

+
  • 0: image classification
  • 1: object detection
  • 100: text classification
  • 101: named entity recognition
  • 102: text triplet relationship
  • 103: text triplet entity
  • 200: speech classification
  • 201: speech content
  • 202: speech paragraph labeling
  • 600: video classification
-
Table 8 LabelAttribute

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - -
Table 8 LabelAttribute

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

default_value

+

default_value

No

+

No

String

+

String

Default value of a label attribute.

+

Default value of a label attribute.

id

+

id

No

+

No

String

+

String

Label attribute ID.

+

Label attribute ID.

name

+

name

No

+

No

String

+

String

Label attribute name.

+

Label attribute name.

type

+

type

No

+

No

String

+

String

Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

+

Label attribute type. The options are as follows:

+
  • text: text
  • select: single-choice drop-down list

values

+

values

No

+

No

Array of LabelAttributeValue objects

+

Array of LabelAttributeValue objects

List of label attribute values.

+

List of label attribute values.

-
Table 9 LabelAttributeValue

Parameter

+
- - - - - - - - - - -
Table 9 LabelAttributeValue

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

id

+

id

No

+

No

String

+

String

Label attribute value ID.

+

Label attribute value ID.

value

+

value

No

+

No

String

+

String

Label attribute value.

+

Label attribute value.

-
Table 10 LabelProperty

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 10 LabelProperty

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

@modelarts:color

+

@modelarts:color

No

+

No

String

+

String

Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

+

Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

@modelarts:default_shape

+

@modelarts:default_shape

No

+

No

String

+

String

Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

+

Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

+
  • bndbox: rectangle
  • polygon: polygon
  • circle: circle
  • line: straight line
  • dashed: dotted line
  • point: point
  • polyline: polyline

@modelarts:from_type

+

@modelarts:from_type

No

+

No

String

+

String

Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

+

Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

@modelarts:rename_to

+

@modelarts:rename_to

No

+

No

String

+

String

Default attribute: The new name of the label.

+

Default attribute: The new name of the label.

@modelarts:shortcut

+

@modelarts:shortcut

No

+

No

String

+

String

Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

+

Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

@modelarts:to_type

+

@modelarts:to_type

No

+

No

String

+

String

Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

+

Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

-
Table 11 Field

Parameter

+
- - - - - - - - - - - - - - - - - - -
Table 11 Field

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

description

+

description

No

+

No

String

+

String

Schema description.

+

Schema description.

name

+

name

No

+

No

String

+

String

Schema name.

+

Schema name.

schema_id

+

schema_id

No

+

No

Integer

+

Integer

Schema ID.

+

Schema ID.

type

+

type

No

+

No

String

+

String

Schema value type.

+

Schema value type.

-
Table 12 WorkforceInformation

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 12 WorkforceInformation

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

data_sync_type

+

data_sync_type

No

+

No

Integer

+

Integer

Synchronization type. The options are as follows: - 0: not to be synchronized - 1: data to be synchronized - 2: label to be synchronized - 3: data and label to be synchronized

+

Synchronization type. The options are as follows:

+
  • 0: not to be synchronized
  • 1: data to be synchronized
  • 2: label to be synchronized
  • 3: data and label to be synchronized

repetition

+

repetition

No

+

No

Integer

+

Integer

Number of persons who label each sample. The minimum value is 1.

+

Number of persons who label each sample. The minimum value is 1.

synchronize_auto_labeling_data

+

synchronize_auto_labeling_data

No

+

No

Boolean

+

Boolean

Whether to synchronously update auto labeling data. The options are as follows: - true: Update auto labeling data synchronously. - false: Do not update auto labeling data synchronously.

+

Whether to synchronously update auto labeling data. The options are as follows:

+
  • true: Update auto labeling data synchronously.
  • false: Do not update auto labeling data synchronously.

synchronize_data

+

synchronize_data

No

+

No

Boolean

+

Boolean

Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows: - true: Synchronize updated data to team members. - false: Do not synchronize updated data to team members.

+

Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows:

+
  • true: Synchronize updated data to team members.
  • false: Do not synchronize updated data to team members.

task_id

+

task_id

No

+

No

String

+

String

ID of a team labeling task.

+

ID of a team labeling task.

task_name

+

task_name

Yes

+

Yes

String

+

String

Name of a team labeling task. The value contains 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).

+

Name of a team labeling task. The value contains 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-).

workforces_config

+

workforces_config

No

+

No

WorkforcesConfig object

+

WorkforcesConfig object

Manpower assignment of a team labeling task. You can delegate the administrator to assign the manpower or do it by yourself.

+

Manpower assignment of a team labeling task. You can delegate the administrator to assign the manpower or do it by yourself.

-
Table 13 WorkforcesConfig

Parameter

+
- - - - - - - - - - -
Table 13 WorkforcesConfig

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

agency

+

agency

No

+

No

String

+

String

Team administrator.

+

Team administrator.

workforces

+

workforces

No

+

No

Array of WorkforceConfig objects

+

Array of WorkforceConfig objects

List of teams that execute labeling tasks.

+

List of teams that execute labeling tasks.

-
Table 14 WorkforceConfig

Parameter

+
- - - - - - - - - - - - - - -
Table 14 WorkforceConfig

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

workers

+

workers

No

+

No

Array of Worker objects

+

Array of Worker objects

List of labeling team members.

+

List of labeling team members.

workforce_id

+

workforce_id

No

+

No

String

+

String

ID of a labeling team.

+

ID of a labeling team.

workforce_name

+

workforce_name

No

+

No

String

+

String

Name of a labeling team. The value contains 0 to 1024 characters and does not support the following special characters: !<>=&"'

+

Name of a labeling team. The value contains 0 to 1024 characters and does not support the following special characters: !<>=&"'

-
Table 15 Worker

Parameter

+
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Table 15 Worker

Parameter

Mandatory

+

Mandatory

Type

+

Type

Description

+

Description

create_time

+

create_time

No

+

No

Long

+

Long

Creation time.

+

Creation time.

description

+

description

No

+

No

String

+

String

Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

+

Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

email

+

email

No

+

No

String

+

String

Email address of a labeling team member.

+

Email address of a labeling team member.

role

+

role

No

+

No

Integer

+

Integer

Role. The options are as follows: - 0: labeling personnel - 1: reviewer - 2: team administrator - 3: dataset owner

+

Role. The options are as follows:

+
  • 0: labeling personnel
  • 1: reviewer
  • 2: team administrator
  • 3: dataset owner

status

+

status

No

+

No

Integer

+

Integer

Current login status of a labeling team member. The options are as follows: - 0: The invitation email has not been sent. - 1: The invitation email has been sent but the user has not logged in. - 2: The user has logged in. - 3: The labeling team member has been deleted.

+

Current login status of a labeling team member. The options are as follows:

+
  • 0: The invitation email has not been sent.
  • 1: The invitation email has been sent but the user has not logged in.
  • 2: The user has logged in.
  • 3: The labeling team member has been deleted.

update_time

+

update_time

No

+

No

Long

+

Long

Update time.

+

Update time.

worker_id

+

worker_id

No

+

No

String

+

String

ID of a labeling team member.

+

ID of a labeling team member.

workforce_id

+

workforce_id

No

+

No

String

+

String

ID of a labeling team.

+

ID of a labeling team.

-

Response Parameters

Status code: 201

+

Response Parameters

Status code: 201

-
Table 16 Response body parameters

Parameter

+
- - - - - - - - - - - - - -
Table 16 Response body parameters

Parameter

Type

+

Type

Description

+

Description

dataset_id

+

dataset_id

String

+

String

Dataset ID.

+

Dataset ID.

error_code

+

error_code

String

+

String

Error code.

+

Error code.

error_msg

+

error_msg

String

+

String

Error message.

+

Error message.

import_task_id

+

import_task_id

String

+

String

ID of an import task.

+

ID of an import task.

-

Example Requests

  • Creating an Image Classification Dataset
    {
    +

    Example Requests

    • Creating an Image Classification Dataset
      {
         "workspace_id" : "0",
         "dataset_name" : "dataset-457f",
         "dataset_type" : 0,
      @@ -1003,7 +1022,7 @@
           }
         } ]
       }
      -
    • Creating an Object Detection Dataset
      {
      +
    • Creating an Object Detection Dataset
      {
         "workspace_id" : "0",
         "dataset_name" : "dataset-95a6",
         "dataset_type" : 1,
      @@ -1028,7 +1047,7 @@
           }
         } ]
       }
      -
    • Creating a Table Dataset
      {
      +
    • Creating a Table Dataset
      {
         "workspace_id" : "0",
         "dataset_name" : "dataset-de83",
         "dataset_type" : 400,
      @@ -1065,44 +1084,44 @@
       }
    -

    Example Responses

    Status code: 201

    -

    Created

    -
    {
    +

    Example Responses

    Status code: 201

    +

    Created

    +
    {
       "dataset_id" : "WxCREuCkBSAlQr9xrde"
     }
    -

    Status Codes

    -
    - - - - - diff --git a/docs/modelarts/api-ref/CreateLabels.html b/docs/modelarts/api-ref/CreateLabels.html index ab8c61d42..98b58a862 100644 --- a/docs/modelarts/api-ref/CreateLabels.html +++ b/docs/modelarts/api-ref/CreateLabels.html @@ -104,7 +104,18 @@ - @@ -154,7 +165,10 @@ - - - @@ -338,7 +363,10 @@ - @@ -398,7 +426,7 @@
    diff --git a/docs/modelarts/api-ref/CreateModelArtsAgency.html b/docs/modelarts/api-ref/CreateModelArtsAgency.html index fa3aa8e47..f17b99f7b 100644 --- a/docs/modelarts/api-ref/CreateModelArtsAgency.html +++ b/docs/modelarts/api-ref/CreateModelArtsAgency.html @@ -1,11 +1,11 @@

    Creating a ModelArts Agency

    -

    Function

    This API is used to create an agency so that ModelArts can access dependent services such as OBS, SWR, and IEF.

    +

    Function

    This API is used to create a ModelArts agency for dependent services such as OBS, SWR, and IEF.

    URI

    POST /v2/{project_id}/agency

    -

    Status Code

    +

    Status Codes

    +
    - - - - - - - - -

    Status Code

    Description

    +

    Description

    201

    +

    201

    Created

    +

    Created

    401

    +

    401

    Unauthorized

    +

    Unauthorized

    403

    +

    403

    Forbidden

    +

    Forbidden

    404

    +

    404

    Not Found

    +

    Not Found

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/modelarts/api-ref/CreateDatasetVersion.html b/docs/modelarts/api-ref/CreateDatasetVersion.html index 09a181867..0289102d2 100644 --- a/docs/modelarts/api-ref/CreateDatasetVersion.html +++ b/docs/modelarts/api-ref/CreateDatasetVersion.html @@ -54,7 +54,10 @@

    Boolean

    Whether to clear hard example properties. The options are as follows: - true: Clear hard example properties. (Default value) - false: Do not clear hard example properties.

    +

    Whether to clear hard example properties. The options are as follows:

    +
    • true: Clear hard example properties. (Default value)

      +
    • false: Do not clear hard example properties.

      +

    description

    @@ -72,7 +75,10 @@

    Boolean

    Whether to export images to the version output directory during release. The options are as follows: - true: Export images to the version output directory. - false: Do not export images to the version output directory. (Default value)

    +

    Whether to export images to the version output directory during release. The options are as follows:

    +
    • true: Export images to the version output directory.

      +
    • false: Do not export images to the version output directory. (Default value)

      +

    remove_sample_usage

    @@ -81,7 +87,10 @@

    Boolean

    Whether to clear the existing usage information of a dataset during release. The options are as follows: - true: Clear the existing usage information of a dataset. (Default value) - false: Do not clear the existing usage information of a dataset.

    +

    Whether to clear the existing usage information of a dataset during release. The options are as follows:

    +
    • true: Clear the existing usage information of a dataset. (Default value)

      +
    • false: Do not clear the existing usage information of a dataset.

      +

    train_evaluate_sample_ratio

    @@ -99,7 +108,11 @@

    String

    Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

    +

    Format of a dataset version. The options are as follows:

    +
    • Default: default format

      +
    • CarbonData: CarbonData (supported only by table datasets)

      +
    • CSV: CSV

      +

    version_name

    @@ -117,7 +130,10 @@

    Boolean

    Whether to write the column name in the first line of the CSV file during release. This field is valid for the table dataset. The options are as follows: - true: Write the column name in the first line of the CSV file. (Default value) - false: Do not write the column name in the first line of the CSV file.

    +

    Whether to write the column name in the first line of the CSV file during release. This field is valid for the table dataset. The options are as follows:

    +
    • true: Write the column name in the first line of the CSV file. (Default value)

      +
    • false: Do not write the column name in the first line of the CSV file.

      +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +

    String

    Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

    +

    Label attribute type. The options are as follows:

    +
    • text: text

      +
    • select: single-choice drop-down list

      +

    values

    @@ -227,7 +241,15 @@

    String

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

    +

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

    +
    • bndbox: rectangle

      +
    • polygon: polygon

      +
    • circle: circle

      +
    • line: straight line

      +
    • dashed: dotted line

      +
    • point: point

      +
    • polyline: polyline

      +

    @modelarts:from_type

    @@ -305,7 +327,10 @@

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +
    Table 1 Path parameters

    Parameter

    +
    diff --git a/docs/modelarts/api-ref/DeleteAuthorizations.html b/docs/modelarts/api-ref/DeleteAuthorizations.html index 7450e6512..2a66d9c16 100644 --- a/docs/modelarts/api-ref/DeleteAuthorizations.html +++ b/docs/modelarts/api-ref/DeleteAuthorizations.html @@ -5,7 +5,7 @@

    URI

    DELETE /v2/{project_id}/authorizations

    -
    Table 1 Path Parameters

    Parameter

    Mandatory

    Table 1 Path parameters

    Parameter

    +
    @@ -28,7 +28,7 @@
    Table 1 Path Parameters

    Parameter

    Mandatory

    -
    Table 2 Query parameters

    Parameter

    +
    @@ -44,7 +44,7 @@ - diff --git a/docs/modelarts/api-ref/DeleteLabelAndSamples.html b/docs/modelarts/api-ref/DeleteLabelAndSamples.html index 510d72c6d..ae98fbcc1 100644 --- a/docs/modelarts/api-ref/DeleteLabelAndSamples.html +++ b/docs/modelarts/api-ref/DeleteLabelAndSamples.html @@ -62,7 +62,10 @@ - - @@ -108,7 +122,10 @@ - @@ -155,7 +172,7 @@
    diff --git a/docs/modelarts/api-ref/DeleteLabels.html b/docs/modelarts/api-ref/DeleteLabels.html index 689c5b9a8..0994ac77f 100644 --- a/docs/modelarts/api-ref/DeleteLabels.html +++ b/docs/modelarts/api-ref/DeleteLabels.html @@ -53,7 +53,11 @@ - @@ -127,7 +131,18 @@ - @@ -177,7 +192,10 @@ - - - @@ -361,7 +390,10 @@ - @@ -417,7 +449,7 @@
    diff --git a/docs/modelarts/api-ref/DeleteSamples.html b/docs/modelarts/api-ref/DeleteSamples.html index 34e6d7380..3ebb38d80 100644 --- a/docs/modelarts/api-ref/DeleteSamples.html +++ b/docs/modelarts/api-ref/DeleteSamples.html @@ -54,7 +54,10 @@ - - @@ -138,7 +144,10 @@ - diff --git a/docs/modelarts/api-ref/DescDataset.html b/docs/modelarts/api-ref/DescDataset.html index d4ac0c332..988bbdce7 100644 --- a/docs/modelarts/api-ref/DescDataset.html +++ b/docs/modelarts/api-ref/DescDataset.html @@ -1,1353 +1,1534 @@

    Querying Details About a Dataset

    -

    Function

    This API is used to query details about a dataset.

    +

    Function

    This API is used to query details about a dataset.

    -

    URI

    GET /v2/{project_id}/datasets/{dataset_id}

    +

    URI

    GET /v2/{project_id}/datasets/{dataset_id}

    -
    Table 2 Query Parameters

    Parameter

    Mandatory

    String

    User ID. If this parameter is set to all, the authorization of all IAM users will be deleted.

    +

    User ID. If user_id is set to all-users, the authorization of all IAM users will be deleted.

    Boolean

    Whether to delete the sample source files. The options are as follows: - true: Delete the sample source files. - false: Do not delete the sample source files. (Default value)

    +

    Whether to delete the sample source files. The options are as follows:

    +
    • true: Delete the sample source files.

      +
    • false: Do not delete the sample source files. (Default value)

      +

    label_type

    @@ -71,7 +74,18 @@

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +

    Integer

    Whether to delete a label and samples containing the label. The options are as follows: - 0: Delete the label. - 1: Delete the label and the samples that only contain this label, but do not delete source files. - 2: Delete the label and the samples that only contain this label and also delete source files.

    +

    Whether to delete a label and samples containing the label. The options are as follows:

    +
    • 0: Delete the label.

      +
    • 1: Delete the label and the samples that only contain this label, but do not delete source files.

      +
    • 2: Delete the label and the samples that only contain this label and also delete source files.

      +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +

    String

    Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

    +

    Label attribute type. The options are as follows:

    +
    • text: text

      +
    • select: single-choice drop-down list

      +

    values

    @@ -250,7 +268,15 @@

    String

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

    +

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

    +
    • bndbox: rectangle

      +
    • polygon: polygon

      +
    • circle: circle

      +
    • line: straight line

      +
    • dashed: dotted line

      +
    • point: point

      +
    • polyline: polyline

      +

    @modelarts:from_type

    @@ -328,7 +354,10 @@

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +

    Boolean

    Whether to delete the source file. This field is valid for non-text datasets. (A text dataset is the entire text file. Therefore, deleting a piece of data from the text file does not affect the source text.) The options are as follows: - false: Do not delete the source file. (Default value) - true: Delete the source file. (Note: This operation may affect the dataset versions or other datasets that have used these files. As a result, the page display, training, or inference is abnormal.)

    +

    Whether to delete the source file. This field is valid for non-text datasets. (A text dataset is the entire text file. Therefore, deleting a piece of data from the text file does not affect the source text.) The options are as follows:

    +
    • false: Do not delete the source file. (Default value)

      +
    • true: Delete the source file. (Note: This operation may affect the dataset versions or other datasets that have used these files. As a result, the page display, training, or inference is abnormal.)

      +

    samples

    @@ -105,7 +108,10 @@

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +

    Boolean

    Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

    +

    Check whether the operation is successful. The options are as follows:

    +
    • true: The operation is successful.

      +
    • false: The operation is failed.

      +
    Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    dataset_id

    +

    dataset_id

    Yes

    +

    Yes

    String

    +

    String

    Dataset ID.

    +

    Dataset ID.

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    +

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    -
    Table 2 Query Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 2 Query Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    check_running_task

    +

    check_running_task

    No

    +

    No

    Boolean

    +

    Boolean

    Whether to detect tasks (including initialization tasks) that are running in a dataset. The options are as follows: - true: Detect tasks (including initialization tasks) that are running in the dataset. - false: Do not detect tasks that are running in the dataset. (Default value)

    +

    Whether to detect tasks (including initialization tasks) that are running in a dataset. The options are as follows:

    +
    • true: Detect tasks (including initialization tasks) that are running in the dataset.

      +
    • false: Do not detect tasks that are running in the dataset. (Default value)

      +

    running_task_type

    +

    running_task_type

    No

    +

    No

    Integer

    +

    Integer

    Type of the running tasks (including initialization tasks) to be detected. The options are as follows: - 0: auto labeling - 1: pre-labeling - 2: export - 3: version switch - 4: manifest file export - 5: manifest file import - 6: version publishing - 7: auto grouping - 10: one-click model deployment (default value)

    +

    Type of the running tasks (including initialization tasks) to be detected. The options are as follows:

    +
    • 0: auto labeling

      +
    • 1: pre-labeling

      +
    • 2: export

      +
    • 3: version switch

      +
    • 4: manifest file export

      +
    • 5: manifest file import

      +
    • 6: version publishing

      +
    • 7: auto grouping

      +
    • 10: one-click model deployment (default value)

      +
    -

    Request Parameters

    None

    +

    Request Parameters

    None

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 3 Response body parameters

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 3 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    annotated_sample_count

    +

    annotated_sample_count

    Integer

    +

    Integer

    Number of labeled samples in a dataset.

    +

    Number of labeled samples in a dataset.

    annotated_sub_sample_count

    +

    annotated_sub_sample_count

    Integer

    +

    Integer

    Number of labeled subsamples.

    +

    Number of labeled subsamples.

    content_labeling

    +

    content_labeling

    Boolean

    +

    Boolean

    Whether to enable content labeling for the speech paragraph labeling dataset. This function is enabled by default.

    +

    Whether to enable content labeling for the speech paragraph labeling dataset. This function is enabled by default.

    create_time

    +

    create_time

    Long

    +

    Long

    Time when a dataset is created.

    +

    Time when a dataset is created.

    current_version_id

    +

    current_version_id

    String

    +

    String

    Current version ID of a dataset.

    +

    Current version ID of a dataset.

    current_version_name

    +

    current_version_name

    String

    +

    String

    Current version name of a dataset.

    +

    Current version name of a dataset.

    data_format

    +

    data_format

    String

    +

    String

    Data format.

    +

    Data format.

    data_sources

    +

    data_sources

    Array of DataSource objects

    +

    Array of DataSource objects

    Data source list.

    +

    Data source list.

    data_statistics

    +

    data_statistics

    Map<String,Object>

    +

    Map<String,Object>

    Sample statistics on a dataset, including the statistics on sample metadata.

    +

    Sample statistics on a dataset, including the statistics on sample metadata.

    data_update_time

    +

    data_update_time

    Long

    +

    Long

    Time when a sample and a label are updated.

    +

    Time when a sample and a label are updated.

    dataset_format

    +

    dataset_format

    Integer

    +

    Integer

    Dataset format. The options are as follows: - 0: file - 1: table

    +

    Dataset format. The options are as follows:

    +
    • 0: file

      +
    • 1: table

      +

    dataset_id

    +

    dataset_id

    String

    +

    String

    Dataset ID.

    +

    Dataset ID.

    dataset_name

    +

    dataset_name

    String

    +

    String

    Dataset name.

    +

    Dataset name.

    dataset_tags

    +

    dataset_tags

    Array of strings

    +

    Array of strings

    Key identifier list of a dataset, for example, ["Image","Object detection"].

    +

    Key identifier list of a dataset, for example, ["Image","Object detection"].

    dataset_type

    +

    dataset_type

    Integer

    +

    Integer

    Dataset type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

    +

    Dataset type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet

      +
    • 200: sound classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 400: table dataset

      +
    • 600: video labeling

      +
    • 900: custom format

      +

    dataset_version_count

    +

    dataset_version_count

    Integer

    +

    Integer

    Number of dataset versions.

    +

    Number of dataset versions.

    deleted_sample_count

    +

    deleted_sample_count

    Integer

    +

    Integer

    Number of deleted samples.

    +

    Number of deleted samples.

    deletion_stats

    +

    deletion_stats

    Map<String,Integer>

    +

    Map<String,Integer>

    Deletion reason statistics.

    +

    Deletion reason statistics.

    description

    +

    description

    String

    +

    String

    Dataset description.

    +

    Dataset description.

    enterprise_project_id

    +

    enterprise_project_id

    String

    +

    String

    Enterprise project ID.

    +

    Enterprise project ID.

    exist_running_task

    +

    exist_running_task

    Boolean

    +

    Boolean

    Whether the dataset contains running (including initialization) tasks. The options are as follows: - true: The dataset contains running tasks. - false: The dataset does not contain running tasks.

    +

    Whether the dataset contains running (including initialization) tasks. The options are as follows:

    +
    • true: The dataset contains running tasks.

      +
    • false: The dataset does not contain running tasks.

      +

    exist_workforce_task

    +

    exist_workforce_task

    Boolean

    +

    Boolean

    Whether the dataset contains team labeling tasks. The options are as follows: - true: The dataset contains team labeling tasks. - false: The dataset does not contain team labeling tasks.

    +

    Whether the dataset contains team labeling tasks. The options are as follows:

    +
    • true: The dataset contains team labeling tasks.

      +
    • false: The dataset does not contain team labeling tasks.

      +

    feature_supports

    +

    feature_supports

    Array of strings

    +

    Array of strings

    List of features supported by the dataset. Currently, only the value 0 is supported, indicating that the OBS file size is limited.

    +

    List of features supported by the dataset. Currently, only the value 0 is supported, indicating that the OBS file size is limited.

    import_data

    +

    import_data

    Boolean

    +

    Boolean

    Whether to import data. The options are as follows: - true: Import data. - false: Do not import data.

    +

    Whether to import data. The options are as follows:

    +
    • true: Import data.

      +
    • false: Do not import data.

      +

    import_task_id

    +

    import_task_id

    String

    +

    String

    ID of an import task.

    +

    ID of an import task.

    inner_annotation_path

    +

    inner_annotation_path

    String

    +

    String

    Path for storing the labeling result of a dataset.

    +

    Path for storing the labeling result of a dataset.

    inner_data_path

    +

    inner_data_path

    String

    +

    String

    Path for storing the internal data of a dataset.

    +

    Path for storing the internal data of a dataset.

    inner_log_path

    +

    inner_log_path

    String

    +

    String

    Path for storing internal logs of a dataset.

    +

    Path for storing internal logs of a dataset.

    inner_task_path

    +

    inner_task_path

    String

    +

    String

    Path for internal task of a dataset.

    +

    Path for internal task of a dataset.

    inner_temp_path

    +

    inner_temp_path

    String

    +

    String

    Path for storing internal temporary files of a dataset.

    +

    Path for storing internal temporary files of a dataset.

    inner_work_path

    +

    inner_work_path

    String

    +

    String

    Output directory of a dataset.

    +

    Output directory of a dataset.

    label_task_count

    +

    label_task_count

    Integer

    +

    Integer

    Number of labeling tasks.

    +

    Number of labeling tasks.

    labels

    +

    labels

    Array of Label objects

    +

    Array of Label objects

    Dataset label list.

    +

    Dataset label list.

    loading_sample_count

    +

    loading_sample_count

    Integer

    +

    Integer

    Number of loading samples.

    +

    Number of loading samples.

    managed

    +

    managed

    Boolean

    +

    Boolean

    Whether a dataset is hosted. The options are as follows: - true: The dataset is hosted. - false: The dataset is not hosted.

    +

    Whether a dataset is hosted. The options are as follows:

    +
    • true: The dataset is hosted.

      +
    • false: The dataset is not hosted.

      +

    next_version_num

    +

    next_version_num

    Integer

    +

    Integer

    Number of next versions of a dataset.

    +

    Number of next versions of a dataset.

    running_tasks_id

    +

    running_tasks_id

    Array of strings

    +

    Array of strings

    ID list of running (including initialization) tasks.

    +

    ID list of running (including initialization) tasks.

    schema

    +

    schema

    Array of Field objects

    +

    Array of Field objects

    Schema list.

    +

    Schema list.

    status

    +

    status

    Integer

    +

    Integer

    Dataset status. The options are as follows: - 0: creating dataset - 1: normal dataset - 2: deleting dataset - 3: deleted dataset - 4: abnormal dataset - 5: synchronizing dataset - 6: releasing dataset - 7: dataset in version switching - 8: importing dataset

    +

    Dataset status. The options are as follows:

    +
    • 0: creating dataset

      +
    • 1: normal dataset

      +
    • 2: deleting dataset

      +
    • 3: deleted dataset

      +
    • 4: abnormal dataset

      +
    • 5: synchronizing dataset

      +
    • 6: releasing dataset

      +
    • 7: dataset in version switching

      +
    • 8: importing dataset

      +

    third_path

    +

    third_path

    String

    +

    String

    Third-party path.

    +

    Third-party path.

    total_sample_count

    +

    total_sample_count

    Integer

    +

    Integer

    Total number of dataset samples.

    +

    Total number of dataset samples.

    total_sub_sample_count

    +

    total_sub_sample_count

    Integer

    +

    Integer

    Total number of subsamples generated from the parent samples. For example, the total number of key frame images extracted from the video labeling dataset is that of subsamples.

    +

    Total number of subsamples generated from the parent samples. For example, the total number of key frame images extracted from the video labeling dataset is that of subsamples.

    unconfirmed_sample_count

    +

    unconfirmed_sample_count

    Integer

    +

    Integer

    Number of auto labeling samples to be confirmed.

    +

    Number of auto labeling samples to be confirmed.

    update_time

    +

    update_time

    Long

    +

    Long

    Time when a dataset is updated.

    +

    Time when a dataset is updated.

    versions

    +

    versions

    Array of DatasetVersion objects

    +

    Array of DatasetVersion objects

    Dataset version information. Currently, only the current version information of a dataset is recorded.

    +

    Dataset version information. Currently, only the current version information of a dataset is recorded.

    work_path

    +

    work_path

    String

    +

    String

    Output dataset path, which is used to store output files such as label files. The path is an OBS path in the format of /Bucket name/File path. For example: /obs-bucket.

    +

    Output dataset path, which is used to store output files such as label files. The path is an OBS path in the format of /Bucket name/File path. For example: /obs-bucket.

    work_path_type

    +

    work_path_type

    Integer

    +

    Integer

    Type of the dataset output path. The options are as follows: - 0: OBS bucket (default value)

    +

    Type of the dataset output path. The options are as follows:

    +
    • 0: OBS bucket (default value)

      +

    workforce_descriptor

    +

    workforce_descriptor

    WorkforceDescriptor object

    +

    WorkforceDescriptor object

    Team labeling information.

    +

    Team labeling information.

    workforce_task_count

    +

    workforce_task_count

    Integer

    +

    Integer

    Number of team labeling tasks of a dataset.

    +

    Number of team labeling tasks of a dataset.

    workspace_id

    +

    workspace_id

    String

    +

    String

    Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

    +

    Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

    -
    Table 4 DataSource

    Parameter

    +
    - - - - - - - - - - - - - - - - -
    Table 4 DataSource

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    data_path

    +

    data_path

    String

    +

    String

    Data source path.

    +

    Data source path.

    data_type

    +

    data_type

    Integer

    +

    Integer

    Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

    +

    Data type. The options are as follows:

    +
    • 0: OBS bucket (default value)

      +
    • 1: GaussDB(DWS)

      +
    • 2: DLI

      +
    • 3: RDS

      +
    • 4: MRS

      +
    • 5: AI Gallery

      +
    • 6: Inference service

      +

    schema_maps

    +

    schema_maps

    Array of SchemaMap objects

    +

    Array of SchemaMap objects

    Schema mapping information corresponding to the table data.

    +

    Schema mapping information corresponding to the table data.

    source_info

    +

    source_info

    SourceInfo object

    +

    SourceInfo object

    Information required for importing a table data source.

    +

    Information required for importing a table data source.

    with_column_header

    +

    with_column_header

    Boolean

    +

    Boolean

    Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

    +

    Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

    +
    • true: The first row in the file is the column name.

      +
    • false: The first row in the file is not the column name.

      +
    -
    Table 5 SchemaMap

    Parameter

    +
    - - - - - - - -
    Table 5 SchemaMap

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    dest_name

    +

    dest_name

    String

    +

    String

    Name of the destination column.

    +

    Name of the destination column.

    src_name

    +

    src_name

    String

    +

    String

    Name of the source column.

    +

    Name of the source column.

    -
    Table 6 SourceInfo

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 6 SourceInfo

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    cluster_id

    +

    cluster_id

    String

    +

    String

    ID of an MRS cluster.

    +

    ID of an MRS cluster.

    cluster_mode

    +

    cluster_mode

    String

    +

    String

    Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

    +

    Running mode of an MRS cluster. The options are as follows:

    +
    • 0: normal cluster

      +
    • 1: security cluster

      +

    cluster_name

    +

    cluster_name

    String

    +

    String

    Name of an MRS cluster.

    +

    Name of an MRS cluster.

    database_name

    +

    database_name

    String

    +

    String

    Name of the database to which the table dataset is imported.

    +

    Name of the database to which the table dataset is imported.

    input

    +

    input

    String

    +

    String

    HDFS path of a table dataset.

    +

    HDFS path of a table dataset.

    ip

    +

    ip

    String

    +

    String

    IP address of your GaussDB(DWS) cluster.

    +

    IP address of your GaussDB(DWS) cluster.

    port

    +

    port

    String

    +

    String

    Port number of your GaussDB(DWS) cluster.

    +

    Port number of your GaussDB(DWS) cluster.

    queue_name

    +

    queue_name

    String

    +

    String

    DLI queue name of a table dataset.

    +

    DLI queue name of a table dataset.

    subnet_id

    +

    subnet_id

    String

    +

    String

    Subnet ID of an MRS cluster.

    +

    Subnet ID of an MRS cluster.

    table_name

    +

    table_name

    String

    +

    String

    Name of the table to which a table dataset is imported.

    +

    Name of the table to which a table dataset is imported.

    user_name

    +

    user_name

    String

    +

    String

    Username, which is mandatory for GaussDB(DWS) data.

    +

    Username, which is mandatory for GaussDB(DWS) data.

    user_password

    +

    user_password

    String

    +

    String

    User password, which is mandatory for GaussDB(DWS) data.

    +

    User password, which is mandatory for GaussDB(DWS) data.

    vpc_id

    +

    vpc_id

    String

    +

    String

    ID of the VPC where an MRS cluster resides.

    +

    ID of the VPC where an MRS cluster resides.

    -
    Table 7 Label

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 7 Label

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    attributes

    +

    attributes

    Array of LabelAttribute objects

    +

    Array of LabelAttribute objects

    Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

    +

    Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

    name

    +

    name

    String

    +

    String

    Label name.

    +

    Label name.

    property

    +

    property

    LabelProperty object

    +

    LabelProperty object

    Basic attribute key-value pair of a label, such as color and shortcut keys.

    +

    Basic attribute key-value pair of a label, such as color and shortcut keys.

    type

    +

    type

    Integer

    +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +
    -
    Table 8 LabelProperty

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - -
    Table 8 LabelProperty

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    @modelarts:color

    +

    @modelarts:color

    String

    +

    String

    Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

    +

    Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

    @modelarts:default_shape

    +

    @modelarts:default_shape

    String

    +

    String

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

    +

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

    +
    • bndbox: rectangle

      +
    • polygon: polygon

      +
    • circle: circle

      +
    • line: straight line

      +
    • dashed: dotted line

      +
    • point: point

      +
    • polyline: polyline

      +

    @modelarts:from_type

    +

    @modelarts:from_type

    String

    +

    String

    Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

    +

    Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

    @modelarts:rename_to

    +

    @modelarts:rename_to

    String

    +

    String

    Default attribute: The new name of the label.

    +

    Default attribute: The new name of the label.

    @modelarts:shortcut

    +

    @modelarts:shortcut

    String

    +

    String

    Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

    +

    Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

    @modelarts:to_type

    +

    @modelarts:to_type

    String

    +

    String

    Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

    +

    Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

    -
    Table 9 Field

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 9 Field

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    description

    +

    description

    String

    +

    String

    Schema description.

    +

    Schema description.

    name

    +

    name

    String

    +

    String

    Schema name.

    +

    Schema name.

    schema_id

    +

    schema_id

    Integer

    +

    Integer

    Schema ID.

    +

    Schema ID.

    type

    +

    type

    String

    +

    String

    Schema value type.

    +

    Schema value type.

    -
    Table 10 DatasetVersion

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 10 DatasetVersion

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    add_sample_count

    +

    add_sample_count

    Integer

    +

    Integer

    Number of added samples.

    +

    Number of added samples.

    annotated_sample_count

    +

    annotated_sample_count

    Integer

    +

    Integer

    Number of samples with labeled versions.

    +

    Number of samples with labeled versions.

    annotated_sub_sample_count

    +

    annotated_sub_sample_count

    Integer

    +

    Integer

    Number of labeled subsamples.

    +

    Number of labeled subsamples.

    clear_hard_property

    +

    clear_hard_property

    Boolean

    +

    Boolean

    Whether to clear hard example properties during release. The options are as follows: - true: Clear hard example properties. (Default value) - false: Do not clear hard example properties.

    +

    Whether to clear hard example properties during release. The options are as follows:

    +
    • true: Clear hard example properties. (Default value)

      +
    • false: Do not clear hard example properties.

      +

    code

    +

    code

    String

    +

    String

    Status code of a preprocessing task such as rotation and cropping.

    +

    Status code of a preprocessing task such as rotation and cropping.

    create_time

    +

    create_time

    Long

    +

    Long

    Time when a version is created.

    +

    Time when a version is created.

    crop

    +

    crop

    Boolean

    +

    Boolean

    Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows: - true: Crop the image. - false: Do not crop the image. (Default value)

    +

    Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows:

    +
    • true: Crop the image.

      +
    • false: Do not crop the image. (Default value)

      +

    crop_path

    +

    crop_path

    String

    +

    String

    Path for storing cropped files.

    +

    Path for storing cropped files.

    crop_rotate_cache_path

    +

    crop_rotate_cache_path

    String

    +

    String

    Temporary directory for executing the rotation and cropping task.

    +

    Temporary directory for executing the rotation and cropping task.

    data_path

    +

    data_path

    String

    +

    String

    Path for storing data.

    +

    Path for storing data.

    data_statistics

    +

    data_statistics

    Map<String,Object>

    +

    Map<String,Object>

    Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

    +

    Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

    data_validate

    +

    data_validate

    Boolean

    +

    Boolean

    Whether data is validated by the validation algorithm before release. The options are as follows: - true: The data has been validated. - false: The data has not been validated.

    +

    Whether data is validated by the validation algorithm before release. The options are as follows:

    +
    • true: The data has been validated.

      +
    • false: The data has not been validated.

      +

    deleted_sample_count

    +

    deleted_sample_count

    Integer

    +

    Integer

    Number of deleted samples.

    +

    Number of deleted samples.

    deletion_stats

    +

    deletion_stats

    Map<String,Integer>

    +

    Map<String,Integer>

    Deletion reason statistics.

    +

    Deletion reason statistics.

    description

    +

    description

    String

    +

    String

    Description of a version.

    +

    Description of a version.

    export_images

    +

    export_images

    Boolean

    +

    Boolean

    Whether to export images to the version output directory during release. The options are as follows: - true: Export images to the version output directory. - false: Do not export images to the version output directory. (Default value)

    +

    Whether to export images to the version output directory during release. The options are as follows:

    +
    • true: Export images to the version output directory.

      +
    • false: Do not export images to the version output directory. (Default value)

      +

    extract_serial_number

    +

    extract_serial_number

    Boolean

    +

    Boolean

    Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows: - true: Parse the subsample number. - false: Do not parse the subsample number. (Default value)

    +

    Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows:

    +
    • true: Parse the subsample number.

      +
    • false: Do not parse the subsample number. (Default value)

      +

    include_dataset_data

    +

    include_dataset_data

    Boolean

    +

    Boolean

    Whether to include the source data of a dataset during release. The options are as follows: - true: The source data of a dataset is included. - false: The source data of a dataset is not included.

    +

    Whether to include the source data of a dataset during release. The options are as follows:

    +
    • true: The source data of a dataset is included.

      +
    • false: The source data of a dataset is not included.

      +

    is_current

    +

    is_current

    Boolean

    +

    Boolean

    Whether the current dataset version is used. The options are as follows: - true: The current dataset version is used. - false: The current dataset version is not used.

    +

    Whether the current dataset version is used. The options are as follows:

    +
    • true: The current dataset version is used.

      +
    • false: The current dataset version is not used.

      +

    label_stats

    +

    label_stats

    Array of LabelStats objects

    +

    Array of LabelStats objects

    Label statistics list of a released version.

    +

    Label statistics list of a released version.

    label_type

    +

    label_type

    String

    +

    String

    Label type of a released version. The options are as follows: - multi: Multi-label samples are included. - single: All samples are single-labeled.

    +

    Label type of a released version. The options are as follows:

    +
    • multi: Multi-label samples are included.

      +
    • single: All samples are single-labeled.

      +

    manifest_cache_input_path

    +

    manifest_cache_input_path

    String

    +

    String

    Input path for the manifest file cache during version release.

    +

    Input path for the manifest file cache during version release.

    manifest_path

    +

    manifest_path

    String

    +

    String

    Path for storing the manifest file with the released version.

    +

    Path for storing the manifest file with the released version.

    message

    +

    message

    String

    +

    String

    Task information recorded during release (for example, error information).

    +

    Task information recorded during release (for example, error information).

    modified_sample_count

    +

    modified_sample_count

    Integer

    +

    Integer

    Number of modified samples.

    +

    Number of modified samples.

    previous_annotated_sample_count

    +

    previous_annotated_sample_count

    Integer

    +

    Integer

    Number of labeled samples of parent versions.

    +

    Number of labeled samples of parent versions.

    previous_total_sample_count

    +

    previous_total_sample_count

    Integer

    +

    Integer

    Total samples of parent versions.

    +

    Total samples of parent versions.

    previous_version_id

    +

    previous_version_id

    String

    +

    String

    Parent version ID

    +

    Parent version ID

    processor_task_id

    +

    processor_task_id

    String

    +

    String

    ID of a preprocessing task such as rotation and cropping.

    +

    ID of a preprocessing task such as rotation and cropping.

    processor_task_status

    +

    processor_task_status

    Integer

    +

    Integer

    Status of a preprocessing task such as rotation and cropping. The options are as follows: - 0: initialized - 1: running - 2: completed - 3: failed - 4: stopped - 5: timeout - 6: deletion failed - 7: stop failed

    +

    Status of a preprocessing task such as rotation and cropping. The options are as follows:

    +
    • 0: initialized

      +
    • 1: running

      +
    • 2: completed

      +
    • 3: failed

      +
    • 4: stopped

      +
    • 5: timeout

      +
    • 6: deletion failed

      +
    • 7: stop failed

      +

    remove_sample_usage

    +

    remove_sample_usage

    Boolean

    +

    Boolean

    Whether to clear the existing usage information of a dataset during release. The options are as follows: - true: Clear the existing usage information of a dataset. (Default value) - false: Do not clear the existing usage information of a dataset.

    +

    Whether to clear the existing usage information of a dataset during release. The options are as follows:

    +
    • true: Clear the existing usage information of a dataset. (Default value)

      +
    • false: Do not clear the existing usage information of a dataset.

      +

    rotate

    +

    rotate

    Boolean

    +

    Boolean

    Whether to rotate the image. The options are as follows: - true: Rotate the image. - false: Do not rotate the image. (Default value)

    +

    Whether to rotate the image. The options are as follows:

    +
    • true: Rotate the image.

      +
    • false: Do not rotate the image. (Default value)

      +

    rotate_path

    +

    rotate_path

    String

    +

    String

    Path for storing the rotated file.

    +

    Path for storing the rotated file.

    sample_state

    +

    sample_state

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled

      +
    • NONE: unlabeled

      +
    • UNCHECK: pending acceptance

      +
    • ACCEPTED: accepted

      +
    • REJECTED: rejected

      +
    • UNREVIEWED: pending review

      +
    • REVIEWED: reviewed

      +
    • WORKFORCE_SAMPLED: sampled

      +
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked

      +
    • WORKFORCE_SAMPLED_CHECKED: sampling checked

      +
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted

      +
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected

      +
    • AUTO_ANNOTATION: to be confirmed

      +

    status

    +

    status

    Integer

    +

    Integer

    Status of a dataset version. The options are as follows: - 0: creating - 1: running - 2: deleting - 3: deleted - 4: error

    +

    Status of a dataset version. The options are as follows:

    +
    • 0: creating

      +
    • 1: running

      +
    • 2: deleting

      +
    • 3: deleted

      +
    • 4: error

      +

    tags

    +

    tags

    Array of strings

    +

    Array of strings

    Key identifier list of the dataset. The labeling type is used as the default label when the labeling task releases a version. For example, ["Image","Object detection"].

    +

    Key identifier list of the dataset. The labeling type is used as the default label when the labeling task releases a version. For example, ["Image","Object detection"].

    task_type

    +

    task_type

    Integer

    +

    Integer

    Labeling task type of the released version, which is the same as the dataset type.

    +

    Labeling task type of the released version, which is the same as the dataset type.

    total_sample_count

    +

    total_sample_count

    Integer

    +

    Integer

    Total number of version samples.

    +

    Total number of version samples.

    total_sub_sample_count

    +

    total_sub_sample_count

    Integer

    +

    Integer

    Total number of subsamples generated from the parent samples.

    +

    Total number of subsamples generated from the parent samples.

    train_evaluate_sample_ratio

    +

    train_evaluate_sample_ratio

    String

    +

    String

    Split training and verification ratio during version release. The default value is 1.00, indicating that all labeled samples are split into the training set.

    +

    Split training and verification ratio during version release. The default value is 1.00, indicating that all labeled samples are split into the training set.

    update_time

    +

    update_time

    Long

    +

    Long

    Time when a version is updated.

    +

    Time when a version is updated.

    version_format

    +

    version_format

    String

    +

    String

    Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

    +

    Format of a dataset version. The options are as follows:

    +
    • Default: default format

      +
    • CarbonData: CarbonData (supported only by table datasets)

      +
    • CSV: CSV

      +

    version_id

    +

    version_id

    String

    +

    String

    Dataset version ID.

    +

    Dataset version ID.

    version_name

    +

    version_name

    String

    +

    String

    Dataset version name.

    +

    Dataset version name.

    with_column_header

    +

    with_column_header

    Boolean

    +

    Boolean

    Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the released CSV file is a column name. - false: The first row in the released CSV file is not a column name.

    +

    Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows:

    +
    • true: The first row in the released CSV file is a column name.

      +
    • false: The first row in the released CSV file is not a column name.

      +
    -
    Table 11 LabelStats

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - -
    Table 11 LabelStats

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    attributes

    +

    attributes

    Array of LabelAttribute objects

    +

    Array of LabelAttribute objects

    Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

    +

    Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

    count

    +

    count

    Integer

    +

    Integer

    Number of labels.

    +

    Number of labels.

    name

    +

    name

    String

    +

    String

    Label name.

    +

    Label name.

    property

    +

    property

    LabelProperty object

    +

    LabelProperty object

    Basic attribute key-value pair of a label, such as color and shortcut keys.

    +

    Basic attribute key-value pair of a label, such as color and shortcut keys.

    sample_count

    +

    sample_count

    Integer

    +

    Integer

    Number of samples containing the label.

    +

    Number of samples containing the label.

    type

    +

    type

    Integer

    +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +
    -
    Table 12 LabelAttribute

    Parameter

    +
    - - - - - - - - - - - - - - - - -
    Table 12 LabelAttribute

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    default_value

    +

    default_value

    String

    +

    String

    Default value of a label attribute.

    +

    Default value of a label attribute.

    id

    +

    id

    String

    +

    String

    Label attribute ID.

    +

    Label attribute ID.

    name

    +

    name

    String

    +

    String

    Label attribute name.

    +

    Label attribute name.

    type

    +

    type

    String

    +

    String

    Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

    +

    Label attribute type. The options are as follows:

    +
    • text: text

      +
    • select: single-choice drop-down list

      +

    values

    +

    values

    Array of LabelAttributeValue objects

    +

    Array of LabelAttributeValue objects

    List of label attribute values.

    +

    List of label attribute values.

    -
    Table 13 LabelAttributeValue

    Parameter

    +
    - - - - - - - -
    Table 13 LabelAttributeValue

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    id

    +

    id

    String

    +

    String

    Label attribute value ID.

    +

    Label attribute value ID.

    value

    +

    value

    String

    +

    String

    Label attribute value.

    +

    Label attribute value.

    -
    Table 14 WorkforceDescriptor

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 14 WorkforceDescriptor

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    current_task_id

    +

    current_task_id

    String

    +

    String

    ID of a team labeling task.

    +

    ID of a team labeling task.

    current_task_name

    +

    current_task_name

    String

    +

    String

    Name of a team labeling task.

    +

    Name of a team labeling task.

    reject_num

    +

    reject_num

    Integer

    +

    Integer

    Number of rejected samples.

    +

    Number of rejected samples.

    repetition

    +

    repetition

    Integer

    +

    Integer

    Number of persons who label each sample. The minimum value is 1.

    +

    Number of persons who label each sample. The minimum value is 1.

    is_synchronize_auto_labeling_data

    +

    is_synchronize_auto_labeling_data

    Boolean

    +

    Boolean

    Whether to synchronously update auto labeling data. The options are as follows: - true: Update auto labeling data synchronously. - false: Do not update auto labeling data synchronously.

    +

    Whether to synchronously update auto labeling data. The options are as follows:

    +
    • true: Update auto labeling data synchronously.

      +
    • false: Do not update auto labeling data synchronously.

      +

    is_synchronize_data

    +

    is_synchronize_data

    Boolean

    +

    Boolean

    Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows: - true: Synchronize updated data to team members. - false: Do not synchronize updated data to team members.

    +

    Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows:

    +
    • true: Synchronize updated data to team members.

      +
    • false: Do not synchronize updated data to team members.

      +

    workers

    +

    workers

    Array of Worker objects

    +

    Array of Worker objects

    List of labeling team members.

    +

    List of labeling team members.

    workforce_id

    +

    workforce_id

    String

    +

    String

    ID of a labeling team.

    +

    ID of a labeling team.

    workforce_name

    +

    workforce_name

    String

    +

    String

    Name of a labeling team.

    +

    Name of a labeling team.

    -
    Table 15 Worker

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 15 Worker

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    create_time

    +

    create_time

    Long

    +

    Long

    Creation time.

    +

    Creation time.

    description

    +

    description

    String

    +

    String

    Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

    +

    Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

    email

    +

    email

    String

    +

    String

    Email address of a labeling team member.

    +

    Email address of a labeling team member.

    role

    +

    role

    Integer

    +

    Integer

    Role. The options are as follows: - 0: labeling personnel - 1: reviewer - 2: team administrator - 3: dataset owner

    +

    Role. The options are as follows:

    +
    • 0: labeling personnel

      +
    • 1: reviewer

      +
    • 2: team administrator

      +
    • 3: dataset owner

      +

    status

    +

    status

    Integer

    +

    Integer

    Current login status of a labeling team member. The options are as follows: - 0: The invitation email has not been sent. - 1: The invitation email has been sent but the user has not logged in. - 2: The user has logged in. - 3: The labeling team member has been deleted.

    +

    Current login status of a labeling team member. The options are as follows:

    +
    • 0: The invitation email has not been sent.

      +
    • 1: The invitation email has been sent but the user has not logged in.

      +
    • 2: The user has logged in.

      +
    • 3: The labeling team member has been deleted.

      +

    update_time

    +

    update_time

    Long

    +

    Long

    Update time.

    +

    Update time.

    worker_id

    +

    worker_id

    String

    +

    String

    ID of a labeling team member.

    +

    ID of a labeling team member.

    workforce_id

    +

    workforce_id

    String

    +

    String

    ID of a labeling team.

    +

    ID of a labeling team.

    -

    Example Requests

    Querying Details About a Dataset

    -
    GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}
    +

    Example Requests

    Querying Details About a Dataset

    +
    GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "dataset_id" : "gfghHSokody6AJigS5A",
       "dataset_name" : "dataset-f9e8",
       "dataset_type" : 0,
    @@ -1401,38 +1582,38 @@
       } ]
     }
    -

    Status Codes

    -
    - - - - - @@ -322,7 +346,10 @@ - - - - - - - - - - - - - - - - @@ -424,7 +490,18 @@ - @@ -464,7 +541,10 @@ - -

    Status Code

    +

    Status Codes

    +
    - - - - - - - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    401

    +

    401

    Unauthorized

    +

    Unauthorized

    403

    +

    403

    Forbidden

    +

    Forbidden

    404

    +

    404

    Not Found

    +

    Not Found

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/modelarts/api-ref/DescImportTask.html b/docs/modelarts/api-ref/DescImportTask.html index 2b5f7586a..5bfdb64f6 100644 --- a/docs/modelarts/api-ref/DescImportTask.html +++ b/docs/modelarts/api-ref/DescImportTask.html @@ -132,14 +132,20 @@

    String

    OBS path or manifest path to be imported. - When importing a manifest file, ensure that the path is accurate to the manifest file.- When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

    +

    OBS path or manifest path to be imported.

    +
    • When importing a manifest file, ensure that the path is accurate to the manifest file.

      +
    • When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

      +

    import_type

    Integer

    Import mode. The options are as follows: - 0: Import by directory. - 1: Import by manifest file.

    +

    Import mode. The options are as follows:

    +
    • 0: Import by directory.

      +
    • 1: Import by manifest file.

      +

    imported_sample_count

    @@ -174,7 +180,14 @@

    String

    Status of an import task. The options are as follows: - QUEUING: queuing - STARTING: execution started - RUNNING: running - COMPLETED: completed - FAILED: failed - NOT_EXIST: not found

    +

    Status of an import task. The options are as follows:

    +
    • QUEUING: queuing

      +
    • STARTING: execution started

      +
    • RUNNING: running

      +
    • COMPLETED: completed

      +
    • FAILED: failed

      +
    • NOT_EXIST: not found

      +

    task_id

    @@ -249,7 +262,15 @@

    Integer

    Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

    +

    Data type. The options are as follows:

    +
    • 0: OBS bucket (default value)

      +
    • 1: GaussDB(DWS)

      +
    • 2: DLI

      +
    • 3: RDS

      +
    • 4: MRS

      +
    • 5: AI Gallery

      +
    • 6: Inference service

      +

    schema_maps

    @@ -270,7 +291,10 @@

    Boolean

    Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

    +

    Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

    +
    • true: The first row in the file is the column name.

      +
    • false: The first row in the file is not the column name.

      +

    String

    Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

    +

    Running mode of an MRS cluster. The options are as follows:

    +
    • 0: normal cluster

      +
    • 1: security cluster

      +

    cluster_name

    diff --git a/docs/modelarts/api-ref/DescribeDatasetVersion.html b/docs/modelarts/api-ref/DescribeDatasetVersion.html index f6531ca6b..6cf9ee644 100644 --- a/docs/modelarts/api-ref/DescribeDatasetVersion.html +++ b/docs/modelarts/api-ref/DescribeDatasetVersion.html @@ -83,7 +83,10 @@

    Boolean

    Whether to clear hard example properties during release. The options are as follows: - true: Clear hard example properties. (Default value) - false: Do not clear hard example properties.

    +

    Whether to clear hard example properties during release. The options are as follows:

    +
    • true: Clear hard example properties. (Default value)

      +
    • false: Do not clear hard example properties.

      +

    code

    @@ -104,7 +107,10 @@

    Boolean

    Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows: - true: Crop the image. - false: Do not crop the image. (Default value)

    +

    Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows:

    +
    • true: Crop the image.

      +
    • false: Do not crop the image. (Default value)

      +

    crop_path

    @@ -139,7 +145,10 @@

    Boolean

    Whether data is validated by the validation algorithm before release. The options are as follows: - true: The data has been validated. - false: The data has not been validated.

    +

    Whether data is validated by the validation algorithm before release. The options are as follows:

    +
    • true: The data has been validated.

      +
    • false: The data has not been validated.

      +

    deleted_sample_count

    @@ -167,28 +176,40 @@

    Boolean

    Whether to export images to the version output directory during release. The options are as follows: - true: Export images to the version output directory. - false: Do not export images to the version output directory. (Default value)

    +

    Whether to export images to the version output directory during release. The options are as follows:

    +
    • true: Export images to the version output directory.

      +
    • false: Do not export images to the version output directory. (Default value)

      +

    extract_serial_number

    Boolean

    Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows: - true: Parse the subsample number. - false: Do not parse the subsample number. (Default value)

    +

    Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows:

    +
    • true: Parse the subsample number.

      +
    • false: Do not parse the subsample number. (Default value)

      +

    include_dataset_data

    Boolean

    Whether to include the source data of a dataset during release. The options are as follows: - true: The source data of a dataset is included. - false: The source data of a dataset is not included.

    +

    Whether to include the source data of a dataset during release. The options are as follows:

    +
    • true: The source data of a dataset is included.

      +
    • false: The source data of a dataset is not included.

      +

    is_current

    Boolean

    Whether the current dataset version is used. The options are as follows: - true: The current dataset version is used. - false: The current dataset version is not used.

    +

    Whether the current dataset version is used. The options are as follows:

    +
    • true: The current dataset version is used.

      +
    • false: The current dataset version is not used.

      +

    label_stats

    @@ -202,7 +223,10 @@

    String

    Label type of a released version. The options are as follows: - multi: Multi-label samples are included. - single: All samples are single-labeled.

    +

    Label type of a released version. The options are as follows:

    +
    • multi: Multi-label samples are included.

      +
    • single: All samples are single-labeled.

      +

    manifest_cache_input_path

    @@ -265,21 +289,36 @@

    Integer

    Status of a preprocessing task such as rotation and cropping. The options are as follows: - 0: initialized - 1: running - 2: completed - 3: failed - 4: stopped - 5: timeout - 6: deletion failed - 7: stop failed

    +

    Status of a preprocessing task such as rotation and cropping. The options are as follows:

    +
    • 0: initialized

      +
    • 1: running

      +
    • 2: completed

      +
    • 3: failed

      +
    • 4: stopped

      +
    • 5: timeout

      +
    • 6: deletion failed

      +
    • 7: stop failed

      +

    remove_sample_usage

    Boolean

    Whether to clear the existing usage information of a dataset during release. The options are as follows: - true: Clear the existing usage information of a dataset. (Default value) - false: Do not clear the existing usage information of a dataset.

    +

    Whether to clear the existing usage information of a dataset during release. The options are as follows:

    +
    • true: Clear the existing usage information of a dataset. (Default value)

      +
    • false: Do not clear the existing usage information of a dataset.

      +

    rotate

    Boolean

    Whether to rotate the image. The options are as follows: - true: Rotate the image. - false: Do not rotate the image. (Default value)

    +

    Whether to rotate the image. The options are as follows:

    +
    • true: Rotate the image.

      +
    • false: Do not rotate the image. (Default value)

      +

    rotate_path

    @@ -293,14 +332,34 @@

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled

      +
    • NONE: unlabeled

      +
    • UNCHECK: pending acceptance

      +
    • ACCEPTED: accepted

      +
    • REJECTED: rejected

      +
    • UNREVIEWED: pending review

      +
    • REVIEWED: reviewed

      +
    • WORKFORCE_SAMPLED: sampled

      +
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked

      +
    • WORKFORCE_SAMPLED_CHECKED: sampling checked

      +
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted

      +
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected

      +
    • AUTO_ANNOTATION: to be confirmed

      +

    status

    Integer

    Status of a dataset version. The options are as follows: - 0: creating - 1: running - 2: deleting - 3: deleted - 4: error

    +

    Status of a dataset version. The options are as follows:

    +
    • 0: creating

      +
    • 1: running

      +
    • 2: deleting

      +
    • 3: deleted

      +
    • 4: error

      +

    tags

    @@ -349,7 +408,11 @@

    String

    Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

    +

    Format of a dataset version. The options are as follows:

    +
    • Default: default format

      +
    • CarbonData: CarbonData (supported only by table datasets)

      +
    • CSV: CSV

      +

    version_id

    @@ -370,7 +433,10 @@

    Boolean

    Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the released CSV file is a column name. - false: The first row in the released CSV file is not a column name.

    +

    Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows:

    +
    • true: The first row in the released CSV file is a column name.

      +
    • false: The first row in the released CSV file is not a column name.

      +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification

      +
    • 1: object detection

      +
    • 100: text classification

      +
    • 101: named entity recognition

      +
    • 102: text triplet relationship

      +
    • 103: text triplet entity

      +
    • 200: speech classification

      +
    • 201: speech content

      +
    • 202: speech paragraph labeling

      +
    • 600: video classification

      +

    String

    Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

    +

    Label attribute type. The options are as follows:

    +
    • text: text

      +
    • select: single-choice drop-down list

      +

    values

    @@ -523,7 +603,15 @@

    String

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

    +

    Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

    +
    • bndbox: rectangle

      +
    • polygon: polygon

      +
    • circle: circle

      +
    • line: straight line

      +
    • dashed: dotted line

      +
    • point: point

      +
    • polyline: polyline

      +

    @modelarts:from_type

    diff --git a/docs/modelarts/api-ref/DescribeSample.html b/docs/modelarts/api-ref/DescribeSample.html index c53588bff..4e5f43f94 100644 --- a/docs/modelarts/api-ref/DescribeSample.html +++ b/docs/modelarts/api-ref/DescribeSample.html @@ -1,594 +1,597 @@

    Querying Details About a Sample

    -

    Function

    Query details about a sample.

    +

    Function

    Query details about a sample.

    -

    URI

    GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}

    +

    URI

    GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}

    -
    Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    dataset_id

    +

    dataset_id

    Yes

    +

    Yes

    String

    +

    String

    Dataset ID.

    +

    Dataset ID.

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    +

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    sample_id

    +

    sample_id

    Yes

    +

    Yes

    String

    +

    String

    Sample ID.

    +

    Sample ID.

    -
    Table 2 Query Parameters

    Parameter

    +
    - - - - - - - - - - - - - - -
    Table 2 Query Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    locale

    +

    locale

    No

    +

    No

    String

    +

    String

    Language. The options are as follows: - en-us: English (default value) - zh-cn: Chinese

    +

    Language. The options are as follows:

    +
    • en-us: English (default value)
    • zh-cn: Chinese

    sample_state

    +

    sample_state

    No

    +

    No

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled
    • NONE: unlabeled
    • UNCHECK: pending acceptance
    • ACCEPTED: accepted
    • REJECTED: rejected
    • UNREVIEWED: pending review
    • REVIEWED: reviewed
    • WORKFORCE_SAMPLED: sampled
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
    • WORKFORCE_SAMPLED_CHECKED: sampling checked
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected
    • AUTO_ANNOTATION: to be confirmed

    worker_id

    +

    worker_id

    No

    +

    No

    String

    +

    String

    ID of a labeling team member.

    +

    ID of a labeling team member.

    -

    Request Parameters

    None

    +

    Request Parameters

    None

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 3 Response body parameters

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 3 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    check_accept

    +

    check_accept

    Boolean

    +

    Boolean

    Whether the acceptance is passed, which is used for team labeling. The options are as follows: - true: The acceptance is passed. - false: The acceptance is not passed.

    +

    Whether the acceptance is passed, which is used for team labeling. The options are as follows:

    +
    • true: The acceptance is passed.
    • false: The acceptance is not passed.

    check_comment

    +

    check_comment

    String

    +

    String

    Acceptance comment, which is used for team labeling.

    +

    Acceptance comment, which is used for team labeling.

    check_score

    +

    check_score

    String

    +

    String

    Acceptance score, which is used for team labeling.

    +

    Acceptance score, which is used for team labeling.

    deletion_reasons

    +

    deletion_reasons

    Array of strings

    +

    Array of strings

    Reason for deleting a sample, which is used for healthcare.

    +

    Reason for deleting a sample, which is used for healthcare.

    hard_details

    +

    hard_details

    Map<String,HardDetail>

    +

    Map<String,HardDetail>

    Details about difficulties, including description, causes, and suggestions of difficult problems.

    +

    Details about difficulties, including description, causes, and suggestions of difficult problems.

    labelers

    +

    labelers

    Array of Worker objects

    +

    Array of Worker objects

    Labeling personnel list of sample assignment. The labelers record the team members to which the sample is allocated for team labeling.

    +

    Labeling personnel list of sample assignment. The labelers record the team members to which the sample is allocated for team labeling.

    labels

    +

    labels

    Array of SampleLabel objects

    +

    Array of SampleLabel objects

    Sample label list.

    +

    Sample label list.

    metadata

    +

    metadata

    SampleMetadata object

    +

    SampleMetadata object

    Key-value pair of the sample metadata attribute.

    +

    Key-value pair of the sample metadata attribute.

    review_accept

    +

    review_accept

    Boolean

    +

    Boolean

    Whether to accept the review, which is used for team labeling. The options are as follows: - true: accepted - false: rejected

    +

    Whether to accept the review, which is used for team labeling. The options are as follows:

    +
    • true: accepted
    • false: rejected

    review_comment

    +

    review_comment

    String

    +

    String

    Review comment, which is used for team labeling.

    +

    Review comment, which is used for team labeling.

    review_score

    +

    review_score

    String

    +

    String

    Review score, which is used for team labeling.

    +

    Review score, which is used for team labeling.

    sample_data

    +

    sample_data

    Array of strings

    +

    Array of strings

    Sample data list.

    +

    Sample data list.

    sample_dir

    +

    sample_dir

    String

    +

    String

    Sample path.

    +

    Sample path.

    sample_id

    +

    sample_id

    String

    +

    String

    Sample ID.

    +

    Sample ID.

    sample_name

    +

    sample_name

    String

    +

    String

    Sample name.

    +

    Sample name.

    sample_size

    +

    sample_size

    Long

    +

    Long

    Sample size or text length, in bytes.

    +

    Sample size or text length, in bytes.

    sample_status

    +

    sample_status

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled
    • NONE: unlabeled
    • UNCHECK: pending acceptance
    • ACCEPTED: accepted
    • REJECTED: rejected
    • UNREVIEWED: pending review
    • REVIEWED: reviewed
    • WORKFORCE_SAMPLED: sampled
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
    • WORKFORCE_SAMPLED_CHECKED: sampling checked
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected
    • AUTO_ANNOTATION: to be confirmed

    sample_time

    +

    sample_time

    Long

    +

    Long

    Sample time, when OBS is last modified.

    +

    Sample time, when OBS is last modified.

    sample_type

    +

    sample_type

    Integer

    +

    Integer

    Sample type. The options are as follows: - 0: image - 1: text - 2: speech - 4: table - 6: video - 9: custom format

    +

    Sample type. The options are as follows:

    +
    • 0: image
    • 1: text
    • 2: speech
    • 4: table
    • 6: video
    • 9: custom format

    score

    +

    score

    String

    +

    String

    Comprehensive score, which is used for team labeling.

    +

    Comprehensive score, which is used for team labeling.

    source

    +

    source

    String

    +

    String

    Source address of sample data.

    +

    Source address of sample data.

    sub_sample_url

    +

    sub_sample_url

    String

    +

    String

    Subsample URL, which is used for healthcare.

    +

    Subsample URL, which is used for healthcare.

    worker_id

    +

    worker_id

    String

    +

    String

    ID of a labeling team member, which is used for team labeling.

    +

    ID of a labeling team member, which is used for team labeling.

    -
    Table 4 HardDetail

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 4 HardDetail

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    alo_name

    +

    alo_name

    String

    +

    String

    Alias.

    +

    Alias.

    id

    +

    id

    Integer

    +

    Integer

    Reason ID.

    +

    Reason ID.

    reason

    +

    reason

    String

    +

    String

    Reason description.

    +

    Reason description.

    suggestion

    +

    suggestion

    String

    +

    String

    Handling suggestion.

    +

    Handling suggestion.

    -
    Table 5 Worker

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 5 Worker

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    create_time

    +

    create_time

    Long

    +

    Long

    Creation time.

    +

    Creation time.

    description

    +

    description

    String

    +

    String

    Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

    +

    Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

    email

    +

    email

    String

    +

    String

    Email address of a labeling team member.

    +

    Email address of a labeling team member.

    role

    +

    role

    Integer

    +

    Integer

    Role. The options are as follows: - 0: labeling personnel - 1: reviewer - 2: team administrator - 3: dataset owner

    +

    Role. The options are as follows:

    +
    • 0: labeling personnel
    • 1: reviewer
    • 2: team administrator
    • 3: dataset owner

    status

    +

    status

    Integer

    +

    Integer

    Current login status of a labeling team member. The options are as follows: - 0: The invitation email has not been sent. - 1: The invitation email has been sent but the user has not logged in. - 2: The user has logged in. - 3: The labeling team member has been deleted.

    +

    Current login status of a labeling team member. The options are as follows:

    +
    • 0: The invitation email has not been sent.
    • 1: The invitation email has been sent but the user has not logged in.
    • 2: The user has logged in.
    • 3: The labeling team member has been deleted.

    update_time

    +

    update_time

    Long

    +

    Long

    Update time.

    +

    Update time.

    worker_id

    +

    worker_id

    String

    +

    String

    ID of a labeling team member.

    +

    ID of a labeling team member.

    workforce_id

    +

    workforce_id

    String

    +

    String

    ID of a labeling team.

    +

    ID of a labeling team.

    -
    Table 6 SampleLabel

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - -
    Table 6 SampleLabel

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    annotated_by

    +

    annotated_by

    String

    +

    String

    Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows: - human: manual labeling - auto: automatic labeling

    +

    Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows:

    +
    • human: manual labeling
    • auto: automatic labeling

    id

    +

    id

    String

    +

    String

    Label ID.

    +

    Label ID.

    name

    +

    name

    String

    +

    String

    Label name.

    +

    Label name.

    property

    +

    property

    SampleLabelProperty object

    +

    SampleLabelProperty object

    Attribute key-value pair of the sample label, such as the object shape and shape feature.

    +

    Attribute key-value pair of the sample label, such as the object shape and shape feature.

    score

    +

    score

    Float

    +

    Float

    Confidence.

    +

    Confidence.

    type

    +

    type

    Integer

    +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification
    • 1: object detection
    • 100: text classification
    • 101: named entity recognition
    • 102: text triplet relationship
    • 103: text triplet entity
    • 200: speech classification
    • 201: speech content
    • 202: speech paragraph labeling
    • 600: video classification
    -
    Table 7 SampleLabelProperty

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 7 SampleLabelProperty

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    @modelarts:content

    +

    @modelarts:content

    String

    +

    String

    Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

    +

    Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

    @modelarts:end_index

    +

    @modelarts:end_index

    Integer

    +

    Integer

    End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows. - If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively. - If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

    +

    End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows.

    +
    • If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively.
    • If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

    @modelarts:end_time

    +

    @modelarts:end_time

    String

    +

    String

    Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

    +

    Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

    @modelarts:feature

    +

    @modelarts:feature

    Object

    +

    Object

    Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows: - bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.

    -
    - **polygon**: consists of multiple points that are connected in sequence to form a polygon, for example, **[[0,100],[50,95],[10,60],[500,400]]**. 
    -
    -      - **circle**: consists of the center point and radius, for example, **[[100,100],[50]]**. 
    -
    -      - **line**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
    -
    -      - **dashed**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
    -
    -      - **point**: consists of one point, for example, **[[0,100]]**. 
    -
    -      - **polyline**: consists of multiple points, for example, **[[0,100],[50,95],[10,60],[500,400]]**.
    +

    Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows:

    +
    • bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.
    • polygon: consists of multiple points that are connected in sequence to form a polygon, for example, [[0,100],[50,95],[10,60],[500,400]].
    • circle: consists of the center point and radius, for example, [[100,100],[50]].
    • line: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
    • dashed: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
    • point: consists of one point, for example, [[0,100]].
    • polyline: consists of multiple points, for example, [[0,100],[50,95],[10,60],[500,400]].

    @modelarts:from

    +

    @modelarts:from

    String

    +

    String

    ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

    +

    ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

    @modelarts:hard

    +

    @modelarts:hard

    String

    +

    String

    Sample labeled as a hard sample or not, which is a default attribute. Options:

    -
    • 0/false: not a hard example

      -
    • 1/true: hard example

      -
    +

    Sample labeled as a hard sample or not, which is a default attribute. Options:

    +
    • 0/false: not a hard example
    • 1/true: hard example

    @modelarts:hard_coefficient

    +

    @modelarts:hard_coefficient

    String

    +

    String

    Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

    +

    Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

    @modelarts:hard_reasons

    +

    @modelarts:hard_reasons

    String

    +

    String

    Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

    +

    Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows:

    +
    • 0: No target objects are identified.
    • 1: The confidence is low.
    • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
    • 3: The prediction result is greatly different from the data of the same type in the training dataset.
    • 4: The prediction results of multiple consecutive similar images are inconsistent.
    • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
    • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
    • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
    • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
    • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
    • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
    • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
    • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
    • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
    • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
    • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
    • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
    • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
    • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
    • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
    • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
    • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
    • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
    • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
    • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
    • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
    • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
    • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
    • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
    • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
    • 30: The data is predicted to be abnormal.

    @modelarts:shape

    +

    @modelarts:shape

    String

    +

    String

    Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

    +

    Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows:

    +
    • bndbox: rectangle
    • polygon: polygon
    • circle: circle
    • line: straight line
    • dashed: dotted line
    • point: point
    • polyline: polyline

    @modelarts:source

    +

    @modelarts:source

    String

    +

    String

    Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

    +

    Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

    @modelarts:start_index

    +

    @modelarts:start_index

    Integer

    +

    Integer

    Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

    +

    Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

    @modelarts:start_time

    +

    @modelarts:start_time

    String

    +

    String

    Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

    +

    Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

    @modelarts:to

    +

    @modelarts:to

    String

    +

    String

    ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

    +

    ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

    -
    Table 8 SampleMetadata

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 8 SampleMetadata

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    @modelarts:hard

    +

    @modelarts:hard

    Double

    +

    Double

    Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows: - 0: non-hard sample - 1: hard sample

    +

    Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows:

    +
    • 0: non-hard sample
    • 1: hard sample

    @modelarts:hard_coefficient

    +

    @modelarts:hard_coefficient

    Double

    +

    Double

    Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

    +

    Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

    @modelarts:hard_reasons

    +

    @modelarts:hard_reasons

    Array of integers

    +

    Array of integers

    ID of a hard sample reason, which is a default attribute. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

    +

    ID of a hard sample reason, which is a default attribute. The options are as follows:

    +
    • 0: No target objects are identified.
    • 1: The confidence is low.
    • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
    • 3: The prediction result is greatly different from the data of the same type in the training dataset.
    • 4: The prediction results of multiple consecutive similar images are inconsistent.
    • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
    • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
    • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
    • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
    • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
    • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
    • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
    • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
    • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
    • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
    • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
    • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
    • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
    • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
    • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
    • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
    • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
    • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
    • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
    • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
    • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
    • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
    • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
    • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
    • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
    • 30: The data is predicted to be abnormal.

    @modelarts:size

    +

    @modelarts:size

    Array of objects

    +

    Array of objects

    Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

    +

    Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

    -

    Example Requests

    Querying Details About a Sample

    -
    GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}
    +

    Example Requests

    Querying Details About a Sample

    +
    GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/data-annotations/samples/{sample_id}
    -

    Example Responses

    Status code: 200

    -

    OK

    -
    {
    +

    Example Responses

    Status code: 200

    +

    OK

    +
    {
       "sample_id" : "012f99f3cf405860130b6ed2350c2228",
       "sample_type" : 0,
       "labels" : [ {
    @@ -596,7 +599,7 @@
         "type" : 0,
         "property" : { }
       } ],
    -  "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36502.jpg?AccessKeyId=RciyO7RHmhNTfOZVryUH&Expires=1606297079&Signature=Ju4FYpEu973ii%2FAdUVLTfpLCTbg%3D",
    +  "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36502.jpg?AccessKeyId=RciyO7xxxxxxxxxxyUH&Expires=1606297079&Signature=Ju4FYpEu973ii%2FAdUVLTfpLCTbg%3D",
       "metadata" : {
         "@modelarts:import_origin" : 0
       },
    @@ -610,38 +613,38 @@
       } ]
     }
    -

    Status Codes

    -

    Status Code

    +

    Status Codes

    +
    - - - - - - - - -

    Status Code

    Description

    +

    Description

    200

    +

    200

    OK

    +

    OK

    401

    +

    401

    Unauthorized

    +

    Unauthorized

    403

    +

    403

    Forbidden

    +

    Forbidden

    404

    +

    404

    Not Found

    +

    Not Found

    -

    Error Codes

    See Error Codes.

    +

    Error Codes

    See Error Codes.

    diff --git a/docs/modelarts/api-ref/ExportTask.html b/docs/modelarts/api-ref/ExportTask.html index e8017e828..054f4732f 100644 --- a/docs/modelarts/api-ref/ExportTask.html +++ b/docs/modelarts/api-ref/ExportTask.html @@ -1,1000 +1,1024 @@

    Creating a Dataset Export Task

    -

    Function

    This API is used to create a dataset export task to export a dataset to OBS or new datasets.

    +

    Function

    This API is used to create a dataset export task to export a dataset to OBS or new datasets.

    -

    URI

    POST /v2/{project_id}/datasets/{dataset_id}/export-tasks

    +

    URI

    POST /v2/{project_id}/datasets/{dataset_id}/export-tasks

    -
    Table 1 Path Parameters

    Parameter

    +
    - - - - - - - - - - -
    Table 1 Path Parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    dataset_id

    +

    dataset_id

    Yes

    +

    Yes

    String

    +

    String

    Dataset ID.

    +

    Dataset ID.

    project_id

    +

    project_id

    Yes

    +

    Yes

    String

    +

    String

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    +

    Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

    -

    Request Parameters

    -
    Table 2 Request body parameters

    Parameter

    +

    Request Parameters

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 2 Request body parameters

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    annotation_format

    +

    annotation_format

    No

    +

    No

    String

    +

    String

    Labeling format. The options are as follows: - VOC: VOC - COCO: COCO

    +

    Labeling format. The options are as follows:

    +
    • VOC: VOC
    • COCO: COCO

    dataset_id

    +

    dataset_id

    No

    +

    No

    String

    +

    String

    Dataset ID.

    +

    Dataset ID.

    dataset_type

    +

    dataset_type

    No

    +

    No

    Integer

    +

    Integer

    Dataset type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

    +

    Dataset type. The options are as follows:

    +
    • 0: image classification
    • 1: object detection
    • 100: text classification
    • 101: named entity recognition
    • 102: text triplet
    • 200: sound classification
    • 201: speech content
    • 202: speech paragraph labeling
    • 400: table dataset
    • 600: video labeling
    • 900: custom format

    export_format

    +

    export_format

    No

    +

    No

    Integer

    +

    Integer

    Format of the exported directory. The options are as follows: - 1: tree structure. For example: cat/1.jpg,dog/2.jpg. - 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

    +

    Format of the exported directory. The options are as follows:

    +
    • 1: tree structure. For example: cat/1.jpg,dog/2.jpg.
    • 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

    export_params

    +

    export_params

    No

    +

    No

    ExportParams object

    +

    ExportParams object

    Parameters of a dataset export task.

    +

    Parameters of a dataset export task.

    export_type

    +

    export_type

    No

    +

    No

    Integer

    +

    Integer

    Export type. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

    +

    Export type. The options are as follows:

    +
    • 0: labeled
    • 1: unlabeled
    • 2: all
    • 3: conditional search

    path

    +

    path

    No

    +

    No

    String

    +

    String

    Export output path.

    +

    Export output path.

    sample_state

    +

    sample_state

    No

    +

    No

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled
    • NONE: unlabeled
    • UNCHECK: pending acceptance
    • ACCEPTED: accepted
    • REJECTED: rejected
    • UNREVIEWED: pending review
    • REVIEWED: reviewed
    • WORKFORCE_SAMPLED: sampled
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
    • WORKFORCE_SAMPLED_CHECKED: sampling checked
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected
    • AUTO_ANNOTATION: to be confirmed

    source_type_header

    +

    source_type_header

    No

    +

    No

    String

    +

    String

    Prefix of the OBS path in the exported labeling file. The default value is obs://. You can set it to s3://. The image path starting with obs cannot be parsed during training. Set the path prefix in the exported manifest file to s3://.

    +

    Prefix of the OBS path in the exported labeling file. The default value is obs://. You can set it to s3://. The image path starting with obs cannot be parsed during training. Set the path prefix in the exported manifest file to s3://.

    status

    +

    status

    No

    +

    No

    Integer

    +

    Integer

    Task status.

    +

    Task status.

    task_id

    +

    task_id

    No

    +

    No

    String

    +

    String

    Task ID.

    +

    Task ID.

    version_format

    +

    version_format

    No

    +

    No

    String

    +

    String

    Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

    +

    Format of a dataset version. The options are as follows:

    +
    • Default: default format
    • CarbonData: CarbonData (supported only by table datasets)
    • CSV: CSV

    version_id

    +

    version_id

    No

    +

    No

    String

    +

    String

    Dataset version ID.

    +

    Dataset version ID.

    with_column_header

    +

    with_column_header

    No

    +

    No

    Boolean

    +

    Boolean

    Whether to write the column name in the first line of the CSV file during export. This field is valid for the table dataset. The options are as follows: - true: Write the column name in the first line of the CSV file. (Default value) - false: Do not write the column name in the first line of the CSV file.

    +

    Whether to write the column name in the first line of the CSV file during export. This field is valid for the table dataset. The options are as follows:

    +
    • true: Write the column name in the first line of the CSV file. (Default value)
    • false: Do not write the column name in the first line of the CSV file.
    -
    Table 3 ExportParams

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 3 ExportParams

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    clear_hard_property

    +

    clear_hard_property

    No

    +

    No

    Boolean

    +

    Boolean

    Whether to clear hard example attributes. The options are as follows: - true: Clear hard example attributes. (Default value) - false: Do not clear hard example attributes.

    +

    Whether to clear hard example attributes. The options are as follows:

    +
    • true: Clear hard example attributes. (Default value)
    • false: Do not clear hard example attributes.

    export_dataset_version_format

    +

    export_dataset_version_format

    No

    +

    No

    String

    +

    String

    Format of the dataset version to which data is exported.

    +

    Format of the dataset version to which data is exported.

    export_dataset_version_name

    +

    export_dataset_version_name

    No

    +

    No

    String

    +

    String

    Name of the dataset version to which data is exported.

    +

    Name of the dataset version to which data is exported.

    export_dest

    +

    export_dest

    No

    +

    No

    String

    +

    String

    Export destination. The options are as follows: - DIR: Export data to OBS. (Default value) - NEW_DATASET: Export data to a new dataset.

    +

    Export destination. The options are as follows:

    +
    • DIR: Export data to OBS. (Default value)
    • NEW_DATASET: Export data to a new dataset.

    export_new_dataset_name

    +

    export_new_dataset_name

    No

    +

    No

    String

    +

    String

    Name of the new dataset to which data is exported.

    +

    Name of the new dataset to which data is exported.

    export_new_dataset_work_path

    +

    export_new_dataset_work_path

    No

    +

    No

    String

    +

    String

    Working directory of the new dataset to which data is exported.

    +

    Working directory of the new dataset to which data is exported.

    ratio_sample_usage

    +

    ratio_sample_usage

    No

    +

    No

    Boolean

    +

    Boolean

    Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows: - true: Allocate the training set and validation set. - false: Do not allocate the training set and validation set. (Default value)

    +

    Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows:

    +
    • true: Allocate the training set and validation set.
    • false: Do not allocate the training set and validation set. (Default value)

    sample_state

    +

    sample_state

    No

    +

    No

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled
    • NONE: unlabeled
    • UNCHECK: pending acceptance
    • ACCEPTED: accepted
    • REJECTED: rejected
    • UNREVIEWED: pending review
    • REVIEWED: reviewed
    • WORKFORCE_SAMPLED: sampled
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
    • WORKFORCE_SAMPLED_CHECKED: sampling checked
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected
    • AUTO_ANNOTATION: to be confirmed

    samples

    +

    samples

    No

    +

    No

    Array of strings

    +

    Array of strings

    ID list of exported samples.

    +

    ID list of exported samples.

    search_conditions

    +

    search_conditions

    No

    +

    No

    Array of SearchCondition objects

    +

    Array of SearchCondition objects

    Exported search conditions. The relationship between multiple search conditions is OR.

    +

    Exported search conditions. The relationship between multiple search conditions is OR.

    train_sample_ratio

    +

    train_sample_ratio

    No

    +

    No

    String

    +

    String

    Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

    +

    Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

    -
    Table 4 SearchCondition

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 4 SearchCondition

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    coefficient

    +

    coefficient

    No

    +

    No

    String

    +

    String

    Filter by coefficient of difficulty.

    +

    Filter by coefficient of difficulty.

    frame_in_video

    +

    frame_in_video

    No

    +

    No

    Integer

    +

    Integer

    A frame in the video.

    +

    A frame in the video.

    hard

    +

    hard

    No

    +

    No

    String

    +

    String

    Whether a sample is a hard sample. The options are as follows: - 0: non-hard sample - 1: hard sample

    +

    Whether a sample is a hard sample. The options are as follows:

    +
    • 0: non-hard sample
    • 1: hard sample

    import_origin

    +

    import_origin

    No

    +

    No

    String

    +

    String

    Filter by data source.

    +

    Filter by data source.

    kvp

    +

    kvp

    No

    +

    No

    String

    +

    String

    CT dosage, filtered by dosage.

    +

    CT dosage, filtered by dosage.

    label_list

    +

    label_list

    No

    +

    No

    SearchLabels object

    +

    SearchLabels object

    Label search criteria.

    +

    Label search criteria.

    labeler

    +

    labeler

    No

    +

    No

    String

    +

    String

    Labeler.

    +

    Labeler.

    metadata

    +

    metadata

    No

    +

    No

    SearchProp object

    +

    SearchProp object

    Search by sample attribute.

    +

    Search by sample attribute.

    parent_sample_id

    +

    parent_sample_id

    No

    +

    No

    String

    +

    String

    Parent sample ID.

    +

    Parent sample ID.

    sample_dir

    +

    sample_dir

    No

    +

    No

    String

    +

    String

    Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

    +

    Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

    sample_name

    +

    sample_name

    No

    +

    No

    String

    +

    String

    Search by sample name, including the file name extension.

    +

    Search by sample name, including the file name extension.

    sample_time

    +

    sample_time

    No

    +

    No

    String

    +

    String

    When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows: - month: Search for samples added from 30 days ago to the current day.

    -
    - **day**: Search for samples added from yesterday (one day ago) to the current day. 
    -
    -      - **yyyyMMdd-yyyyMMdd**: Search for samples added in a specified period (at most 30 days), in the format of **Start date-End date**. For example, **20190901-2019091501** indicates that samples generated from September 1 to September 15, 2019 are searched.
    +

    When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows:

    +
    • month: Search for samples added from 30 days ago to the current day.
    • day: Search for samples added from yesterday (one day ago) to the current day.
    • yyyyMMdd-yyyyMMdd: Search for samples added in a specified period (at most 30 days), in the format of Start date-End date. For example, 20190901-20190915 indicates that samples generated from September 1 to September 15, 2019 are searched.

    score

    +

    score

    No

    +

    No

    String

    +

    String

    Search by confidence.

    +

    Search by confidence.

    slice_thickness

    +

    slice_thickness

    No

    +

    No

    String

    +

    String

    DICOM layer thickness. Samples are filtered by layer thickness.

    +

    DICOM layer thickness. Samples are filtered by layer thickness.

    study_date

    +

    study_date

    No

    +

    No

    String

    +

    String

    DICOM scanning time.

    +

    DICOM scanning time.

    time_in_video

    +

    time_in_video

    No

    +

    No

    String

    +

    String

    A time point in the video.

    +

    A time point in the video.

    -
    Table 5 SearchLabels

    Parameter

    +
    - - - - - - - - - - -
    Table 5 SearchLabels

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    labels

    +

    labels

    No

    +

    No

    Array of SearchLabel objects

    +

    Array of SearchLabel objects

    List of label search criteria.

    +

    List of label search criteria.

    op

    +

    op

    No

    +

    No

    String

    +

    String

    If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows: - OR: OR operation - AND: AND operation

    +

    If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows:

    +
    • OR: OR operation
    • AND: AND operation
    -
    Table 6 SearchLabel

    Parameter

    +
    - - - - - - - - - - - - - - - - - - -
    Table 6 SearchLabel

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    name

    +

    name

    No

    +

    No

    String

    +

    String

    Label name.

    +

    Label name.

    op

    +

    op

    No

    +

    No

    String

    +

    String

    Operation type between multiple attributes. The options are as follows: - OR: OR operation - AND: AND operation

    +

    Operation type between multiple attributes. The options are as follows:

    +
    • OR: OR operation
    • AND: AND operation

    property

    +

    property

    No

    +

    No

    Map<String,Array<String>>

    +

    Map<String,Array<String>>

    Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

    +

    Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

    type

    +

    type

    No

    +

    No

    Integer

    +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification
    • 1: object detection
    • 100: text classification
    • 101: named entity recognition
    • 102: text triplet relationship
    • 103: text triplet entity
    • 200: speech classification
    • 201: speech content
    • 202: speech paragraph labeling
    • 600: video classification
    -
    Table 7 SearchProp

    Parameter

    +
    - - - - - - - - - - -
    Table 7 SearchProp

    Parameter

    Mandatory

    +

    Mandatory

    Type

    +

    Type

    Description

    +

    Description

    op

    +

    op

    No

    +

    No

    String

    +

    String

    Relationship between attribute values. The options are as follows: - AND: AND relationship - OR: OR relationship

    +

    Relationship between attribute values. The options are as follows:

    +
    • AND: AND relationship
    • OR: OR relationship

    props

    +

    props

    No

    +

    No

    Map<String,Array<String>>

    +

    Map<String,Array<String>>

    Search criteria of an attribute. Multiple search criteria can be set.

    +

    Search criteria of an attribute. Multiple search criteria can be set.

    -

    Response Parameters

    Status code: 200

    +

    Response Parameters

    Status code: 200

    -
    Table 8 Response body parameters

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 8 Response body parameters

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    create_time

    +

    create_time

    Long

    +

    Long

    Time when a task is created.

    +

    Time when a task is created.

    error_code

    +

    error_code

    String

    +

    String

    Error code.

    +

    Error code.

    error_msg

    +

    error_msg

    String

    +

    String

    Error message.

    +

    Error message.

    export_format

    +

    export_format

    Integer

    +

    Integer

    Format of the exported directory. The options are as follows: - 1: tree structure. For example: cat/1.jpg,dog/2.jpg. - 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

    +

    Format of the exported directory. The options are as follows:

    +
    • 1: tree structure. For example: cat/1.jpg,dog/2.jpg.
    • 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

    export_params

    +

    export_params

    ExportParams object

    +

    ExportParams object

    Parameters of a dataset export task.

    +

    Parameters of a dataset export task.

    export_type

    +

    export_type

    Integer

    +

    Integer

    Export type. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

    +

    Export type. The options are as follows:

    +
    • 0: labeled
    • 1: unlabeled
    • 2: all
    • 3: conditional search

    finished_sample_count

    +

    finished_sample_count

    Integer

    +

    Integer

    Number of completed samples.

    +

    Number of completed samples.

    path

    +

    path

    String

    +

    String

    Export output path.

    +

    Export output path.

    progress

    +

    progress

    Float

    +

    Float

    Percentage of current task progress.

    +

    Percentage of current task progress.

    status

    +

    status

    String

    +

    String

    Task status. The options are as follows: - INIT: initialized - RUNNING: running - FAILED: failed - SUCCESSED: completed

    +

    Task status. The options are as follows:

    +
    • INIT: initialized
    • RUNNING: running
    • FAILED: failed
    • SUCCESSED: completed

    task_id

    +

    task_id

    String

    +

    String

    Task ID.

    +

    Task ID.

    total_sample_count

    +

    total_sample_count

    Integer

    +

    Integer

    Total number of samples.

    +

    Total number of samples.

    update_time

    +

    update_time

    Long

    +

    Long

    Time when a task is updated.

    +

    Time when a task is updated.

    version_format

    +

    version_format

    String

    +

    String

    Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

    +

    Format of a dataset version. The options are as follows:

    +
    • Default: default format
    • CarbonData: CarbonData (supported only by table datasets)
    • CSV: CSV

    version_id

    +

    version_id

    String

    +

    String

    Dataset version ID.

    +

    Dataset version ID.

    -
    Table 9 ExportParams

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 9 ExportParams

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    clear_hard_property

    +

    clear_hard_property

    Boolean

    +

    Boolean

    Whether to clear hard example attributes. The options are as follows: - true: Clear hard example attributes. (Default value) - false: Do not clear hard example attributes.

    +

    Whether to clear hard example attributes. The options are as follows:

    +
    • true: Clear hard example attributes. (Default value)
    • false: Do not clear hard example attributes.

    export_dataset_version_format

    +

    export_dataset_version_format

    String

    +

    String

    Format of the dataset version to which data is exported.

    +

    Format of the dataset version to which data is exported.

    export_dataset_version_name

    +

    export_dataset_version_name

    String

    +

    String

    Name of the dataset version to which data is exported.

    +

    Name of the dataset version to which data is exported.

    export_dest

    +

    export_dest

    String

    +

    String

    Export destination. The options are as follows: - DIR: Export data to OBS. (Default value) - NEW_DATASET: Export data to a new dataset.

    +

    Export destination. The options are as follows:

    +
    • DIR: Export data to OBS. (Default value)
    • NEW_DATASET: Export data to a new dataset.

    export_new_dataset_name

    +

    export_new_dataset_name

    String

    +

    String

    Name of the new dataset to which data is exported.

    +

    Name of the new dataset to which data is exported.

    export_new_dataset_work_path

    +

    export_new_dataset_work_path

    String

    +

    String

    Working directory of the new dataset to which data is exported.

    +

    Working directory of the new dataset to which data is exported.

    ratio_sample_usage

    +

    ratio_sample_usage

    Boolean

    +

    Boolean

    Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows: - true: Allocate the training set and validation set. - false: Do not allocate the training set and validation set. (Default value)

    +

    Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows:

    +
    • true: Allocate the training set and validation set.
    • false: Do not allocate the training set and validation set. (Default value)

    sample_state

    +

    sample_state

    String

    +

    String

    Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

    +

    Sample status. The options are as follows:

    +
    • ALL: labeled
    • NONE: unlabeled
    • UNCHECK: pending acceptance
    • ACCEPTED: accepted
    • REJECTED: rejected
    • UNREVIEWED: pending review
    • REVIEWED: reviewed
    • WORKFORCE_SAMPLED: sampled
    • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
    • WORKFORCE_SAMPLED_CHECKED: sampling checked
    • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
    • WORKFORCE_SAMPLED_REJECTED: sampling rejected
    • AUTO_ANNOTATION: to be confirmed

    samples

    +

    samples

    Array of strings

    +

    Array of strings

    ID list of exported samples.

    +

    ID list of exported samples.

    search_conditions

    +

    search_conditions

    Array of SearchCondition objects

    +

    Array of SearchCondition objects

    Exported search conditions. The relationship between multiple search conditions is OR.

    +

    Exported search conditions. The relationship between multiple search conditions is OR.

    train_sample_ratio

    +

    train_sample_ratio

    String

    +

    String

    Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

    +

    Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

    -
    Table 10 SearchCondition

    Parameter

    +
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Table 10 SearchCondition

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    coefficient

    +

    coefficient

    String

    +

    String

    Filter by coefficient of difficulty.

    +

    Filter by coefficient of difficulty.

    frame_in_video

    +

    frame_in_video

    Integer

    +

    Integer

    A frame in the video.

    +

    A frame in the video.

    hard

    +

    hard

    String

    +

    String

    Whether a sample is a hard sample. The options are as follows: - 0: non-hard sample - 1: hard sample

    +

    Whether a sample is a hard sample. The options are as follows:

    +
    • 0: non-hard sample
    • 1: hard sample

    import_origin

    +

    import_origin

    String

    +

    String

    Filter by data source.

    +

    Filter by data source.

    kvp

    +

    kvp

    String

    +

    String

    CT dosage, filtered by dosage.

    +

    CT dosage, filtered by dosage.

    label_list

    +

    label_list

    SearchLabels object

    +

    SearchLabels object

    Label search criteria.

    +

    Label search criteria.

    labeler

    +

    labeler

    String

    +

    String

    Labeler.

    +

    Labeler.

    metadata

    +

    metadata

    SearchProp object

    +

    SearchProp object

    Search by sample attribute.

    +

    Search by sample attribute.

    parent_sample_id

    +

    parent_sample_id

    String

    +

    String

    Parent sample ID.

    +

    Parent sample ID.

    sample_dir

    +

    sample_dir

    String

    +

    String

    Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

    +

    Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

    sample_name

    +

    sample_name

    String

    +

    String

    Search by sample name, including the file name extension.

    +

    Search by sample name, including the file name extension.

    sample_time

    +

    sample_time

    String

    +

    String

    When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows: - month: Search for samples added from 30 days ago to the current day.

    -
    - **day**: Search for samples added from yesterday (one day ago) to the current day. 
    -
    -      - **yyyyMMdd-yyyyMMdd**: Search for samples added in a specified period (at most 30 days), in the format of **Start date-End date**. For example, **20190901-2019091501** indicates that samples generated from September 1 to September 15, 2019 are searched.
    +

    When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows:

    +
    • month: Search for samples added from 30 days ago to the current day.
    • day: Search for samples added from yesterday (one day ago) to the current day.
    • yyyyMMdd-yyyyMMdd: Search for samples added in a specified period (at most 30 days), in the format of Start date-End date. For example, 20190901-20190915 indicates that samples generated from September 1 to September 15, 2019 are searched.

    score

    +

    score

    String

    +

    String

    Search by confidence.

    +

    Search by confidence.

    slice_thickness

    +

    slice_thickness

    String

    +

    String

    DICOM layer thickness. Samples are filtered by layer thickness.

    +

    DICOM layer thickness. Samples are filtered by layer thickness.

    study_date

    +

    study_date

    String

    +

    String

    DICOM scanning time.

    +

    DICOM scanning time.

    time_in_video

    +

    time_in_video

    String

    +

    String

    A time point in the video.

    +

    A time point in the video.

    -
    Table 11 SearchLabels

    Parameter

    +
    - - - - - - - -
    Table 11 SearchLabels

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    labels

    +

    labels

    Array of SearchLabel objects

    +

    Array of SearchLabel objects

    List of label search criteria.

    +

    List of label search criteria.

    op

    +

    op

    String

    +

    String

    If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows: - OR: OR operation - AND: AND operation

    +

    If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows:

    +
    • OR: OR operation
    • AND: AND operation
    -
    Table 12 SearchLabel

    Parameter

    +
    - - - - - - - - - - - - - -
    Table 12 SearchLabel

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    name

    +

    name

    String

    +

    String

    Label name.

    +

    Label name.

    op

    +

    op

    String

    +

    String

    Operation type between multiple attributes. The options are as follows: - OR: OR operation - AND: AND operation

    +

    Operation type between multiple attributes. The options are as follows:

    +
    • OR: OR operation
    • AND: AND operation

    property

    +

    property

    Map<String,Array<String>>

    +

    Map<String,Array<String>>

    Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

    +

    Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

    type

    +

    type

    Integer

    +

    Integer

    Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

    +

    Label type. The options are as follows:

    +
    • 0: image classification
    • 1: object detection
    • 100: text classification
    • 101: named entity recognition
    • 102: text triplet relationship
    • 103: text triplet entity
    • 200: speech classification
    • 201: speech content
    • 202: speech paragraph labeling
    • 600: video classification
    -
    Table 13 SearchProp

    Parameter

    +
    - - - - - - - -
    Table 13 SearchProp

    Parameter

    Type

    +

    Type

    Description

    +

    Description

    op

    +

    op

    String

    +

    String

    Relationship between attribute values. The options are as follows: - AND: AND relationship - OR: OR relationship

    +

    Relationship between attribute values. The options are as follows:

    +
    • AND: AND relationship
    • OR: OR relationship

    props

    +

    props

    Map<String,Array<String>>

    +

    Map<String,Array<String>>

    Search criteria of an attribute. Multiple search criteria can be set.

    +

    Search criteria of an attribute. Multiple search criteria can be set.

    -

    Example Requests

    • Creating an Export Task (Exporting Data to OBS)

      -
      {
      +

      Example Requests

      • Creating an Export Task (Exporting Data to OBS)
        {
           "path" : "/test-obs/daoChu/",
           "export_type" : 3,
           "export_params" : {
        @@ -1002,8 +1026,7 @@
             "export_dest" : "DIR"
           }
         }
        -
      • Creating an Export Task (Exporting Data to a New Dataset)

        -
        {
        +
      • Creating an Export Task (Exporting Data to a New Dataset)
        {
           "path" : "/test-obs/classify/input/",
           "export_type" : 3,
           "export_params" : {
        @@ -1015,44 +1038,44 @@
         }
      -

      Example Responses

      Status code: 200

      -

      OK

      -
      {
      +

      Example Responses

      Status code: 200

      +

      OK

      +
      {
         "task_id" : "rF9NNoB56k5rtYKg2Y7"
       }
      -

      Status Codes

      -

      Status Code

      +

      Status Codes

      +
      - - - - - - - - -

      Status Code

      Description

      +

      Description

      200

      +

      200

      OK

      +

      OK

      401

      +

      401

      Unauthorized

      +

      Unauthorized

      403

      +

      403

      Forbidden

      +

      Forbidden

      404

      +

      404

      Not Found

      +

      Not Found

      -

      Error Codes

      See Error Codes.

      +

      Error Codes

      See Error Codes.

      diff --git a/docs/modelarts/api-ref/GetAuthorizations.html b/docs/modelarts/api-ref/GetAuthorizations.html index 4b7c1955c..91656b3f4 100644 --- a/docs/modelarts/api-ref/GetAuthorizations.html +++ b/docs/modelarts/api-ref/GetAuthorizations.html @@ -1,187 +1,179 @@

      Viewing an Authorization List

      -

      Function

      This API is used to view an authorization list.

      +

      Function

      This API is used to view an authorization list.

      -

      URI

      GET /v2/{project_id}/authorizations

      +

      URI

      GET /v2/{project_id}/authorizations

      -
      Table 1 Path parameters

      Parameter

      +
      - - - - - - -
      Table 1 Path Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      project_id

      +

      project_id

      Yes

      +

      Yes

      String

      +

      String

      Project ID. For details about how to obtain a project ID, see Obtaining a Project ID.

      +

      Project ID. For details about how to obtain a project ID, see Obtaining a Project ID.

      -
      Table 2 Query parameters

      Parameter

      +
      - - - - - - - - - - - - - - - - - - -
      Table 2 Query Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      sort_by

      +

      sort_by

      No

      +

      No

      String

      +

      String

      Sorting field.

      -

      Options:

      -
      • user_name: IAM user

        -
      • create_time: creation time

        -
      -

      Default: user_name

      +

      Sorting field.

      +

      Options:

      +
      • user_name: IAM user
      • create_time: creation time
      +

      Default: user_name

      order

      +

      order

      No

      +

      No

      String

      +

      String

      Sorting method.

      -

      Options:

      -
      • asc: ascending order

        -
      • desc: descending order

        -
      -

      Default: asc

      +

      Sorting method.

      +

      Options:

      +
      • asc: ascending order
      • desc: descending order
      +

      Default: asc

      limit

      +

      limit

      No

      +

      No

      Integer

      +

      Integer

      Maximum number of records returned on each page. Default value: 1000

      -

      The value ranges from 1 to 1000.

      +

      Maximum number of records returned on each page. Default value: 1000

      +

      The value ranges from 1 to 1000.

      offset

      +

      offset

      No

      +

      No

      Integer

      +

      Integer

      Start page of the paging list. The default value is 0.

      +

      Start page of the paging list. The default value is 0.

      -

      Request Parameters

      None

      +

      Request Parameters

      None

      -

      Response Parameters

      Status code: 200

      +

      Response Parameters

      Status code: 200

      -
      Table 3 Response body parameters

      Parameter

      +
      - - - - - - - -
      Table 3 Response body parameters

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      total_count

      +

      total_count

      Number

      +

      Number

      Authorization information.

      +

      Authorization information.

      auth

      +

      auth

      Array of AuthorizationResponse objects

      +

      Array of AuthorizationResponse objects

      Authorization information list.

      +

      Authorization information list.

      -
      Table 4 AuthorizationResponse

      Parameter

      +
      - - - - - - - - - - - - - - - - -
      Table 4 AuthorizationResponse

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      user_id

      +

      user_id

      String

      +

      String

      User ID. For details about how to obtain a user ID, see Obtaining a User ID.

      -

      If user_id is set to all, all IAM users are authorized. If some IAM users have been authorized, the authorization setting will be updated.

      -

      This parameter is mandatory only if the authorization type is set to agency.

      +

      User ID. For details about how to obtain a user ID, see Obtaining a User ID.

      +

      If user_id is set to all-users, authorization is configured for all IAM users. If some users have been authorized, their authorization will be updated.

      +

      This parameter is mandatory only if the authorization method is set to Agency.

      type

      +

      type

      String

      +

      String

      Authorization type. Agency is recommended.

      -

      Options:

      -
      • agency: authorization through an agency

        -
      • credential: authorization through an access Key (AK/SK)

        -
      -

      Default: agency

      +

      Authorization type. Agency is recommended.

      +

      Options:

      +
      • agency: authorization through an agency
      • credential: authorization through an access Key (AK/SK)
      +

      Default: agency

      content

      +

      content

      String

      +

      String

      Authorization content.

      -
      • If Authorization Type is set to Agency, this field indicates the agency name.

        -
      • If Authorization Type is set to AK/SK, this field indicates the access key ID (AK).

        -
      +

      Authorization content.

      +
      • If Authorization Type is set to Agency, this field indicates the agency name.
      • If Authorization Type is set to AK/SK, this field indicates the access key ID (AK).

      secret_key

      +

      secret_key

      String

      +

      String

      Secret Access Key (SK). This field is required only when Authorization Method is set to AK/SK.

      +

      Secret Access Key (SK). This field is required only when Authorization Method is set to AK/SK.

      create_time

      +

      create_time

      Long

      +

      Long

      Timestamp when the quality job was created.

      +

      Timestamp when the quality job was created.

      -

      Example Requests

      View an authorization list.

      -
      GET https://{endpoint}/v2/{project_id}/authorizations
      +

      Example Requests

      View an authorization list.

      +
      GET https://{endpoint}/v2/{project_id}/authorizations
      -

      Example Responses

      Status code: 200

      -

      OK

      -
      {
      +

      Example Responses

      Status code: 200

      +

      OK

      +
      {
         "total_count" : 1,
         "auth" : [ {
           "user_id" : "****d80fb058844ae8b82aa66d9fe****",
      @@ -192,43 +184,43 @@
         } ]
       }
      -

      Status Codes

      -

      Status Code

      +

      Status Codes

      +
      - - - - - - - - - - -

      Status Code

      Description

      +

      Description

      200

      +

      200

      OK

      +

      OK

      400

      +

      400

      Bad Request

      +

      Bad Request

      401

      +

      401

      Unauthorized

      +

      Unauthorized

      403

      +

      403

      Forbidden

      +

      Forbidden

      404

      +

      404

      Not Found

      +

      Not Found

      -

      Error Codes

      See Error Codes.

      +

      Error Codes

      See Error Codes.

      diff --git a/docs/modelarts/api-ref/GetExportTaskStatusOfDataset.html b/docs/modelarts/api-ref/GetExportTaskStatusOfDataset.html index cc07abfec..fb56aa15b 100644 --- a/docs/modelarts/api-ref/GetExportTaskStatusOfDataset.html +++ b/docs/modelarts/api-ref/GetExportTaskStatusOfDataset.html @@ -1,486 +1,496 @@

      Querying the Status of a Dataset Export Task

      -

      Function

      This API is used to query the status of a dataset export task.

      +

      Function

      This API is used to query the status of a dataset export task.

      -

      URI

      GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id}

      +

      URI

      GET /v2/{project_id}/datasets/{resource_id}/export-tasks/{task_id}

      -
      Table 1 Path Parameters

      Parameter

      +
      - - - - - - - - - - - - - - -
      Table 1 Path Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      project_id

      +

      project_id

      Yes

      +

      Yes

      String

      +

      String

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      +

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      resource_id

      +

      resource_id

      Yes

      +

      Yes

      String

      +

      String

      Resource ID. Currently, the dataset ID can be specified.

      +

      Resource ID. Currently, the dataset ID can be specified.

      task_id

      +

      task_id

      Yes

      +

      Yes

      String

      +

      String

      ID of an export task.

      +

      ID of an export task.

      -

      Request Parameters

      None

      +

      Request Parameters

      None

      -

      Response Parameters

      Status code: 200

      +

      Response Parameters

      Status code: 200

      -
      Table 2 Response body parameters

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 2 Response body parameters

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      create_time

      +

      create_time

      Long

      +

      Long

      Time when a task is created.

      +

      Time when a task is created.

      error_code

      +

      error_code

      String

      +

      String

      Error code.

      +

      Error code.

      error_msg

      +

      error_msg

      String

      +

      String

      Error message.

      +

      Error message.

      export_format

      +

      export_format

      Integer

      +

      Integer

      Format of the exported directory. The options are as follows: - 1: tree structure. For example: cat/1.jpg,dog/2.jpg. - 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      +

      Format of the exported directory. The options are as follows:

      +
      • 1: tree structure. For example: cat/1.jpg,dog/2.jpg.
      • 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      export_params

      +

      export_params

      ExportParams object

      +

      ExportParams object

      Parameters of a dataset export task.

      +

      Parameters of a dataset export task.

      export_type

      +

      export_type

      Integer

      +

      Integer

      Export type. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

      +

      Export type. The options are as follows:

      +
      • 0: labeled
      • 1: unlabeled
      • 2: all
      • 3: conditional search

      finished_sample_count

      +

      finished_sample_count

      Integer

      +

      Integer

      Number of completed samples.

      +

      Number of completed samples.

      path

      +

      path

      String

      +

      String

      Export output path.

      +

      Export output path.

      progress

      +

      progress

      Float

      +

      Float

      Percentage of current task progress.

      +

      Percentage of current task progress.

      status

      +

      status

      String

      +

      String

      Task status.

      +

      Task status.

      task_id

      +

      task_id

      String

      +

      String

      Task ID.

      +

      Task ID.

      total_sample_count

      +

      total_sample_count

      Integer

      +

      Integer

      Total number of samples.

      +

      Total number of samples.

      update_time

      +

      update_time

      Long

      +

      Long

      Time when a task is updated.

      +

      Time when a task is updated.

      version_format

      +

      version_format

      String

      +

      String

      Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

      +

      Format of a dataset version. The options are as follows:

      +
      • Default: default format
      • CarbonData: CarbonData (supported only by table datasets)
      • CSV: CSV

      version_id

      +

      version_id

      String

      +

      String

      Dataset version ID.

      +

      Dataset version ID.

      -
      Table 3 ExportParams

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 3 ExportParams

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      clear_hard_property

      +

      clear_hard_property

      Boolean

      +

      Boolean

      Whether to clear hard example attributes. The options are as follows: - true: Clear hard example attributes. (Default value) - false: Do not clear hard example attributes.

      +

      Whether to clear hard example attributes. The options are as follows:

      +
      • true: Clear hard example attributes. (Default value)
      • false: Do not clear hard example attributes.

      export_dataset_version_format

      +

      export_dataset_version_format

      String

      +

      String

      Format of the dataset version to which data is exported.

      +

      Format of the dataset version to which data is exported.

      export_dataset_version_name

      +

      export_dataset_version_name

      String

      +

      String

      Name of the dataset version to which data is exported.

      +

      Name of the dataset version to which data is exported.

      export_dest

      +

      export_dest

      String

      +

      String

      Export destination. The options are as follows: - DIR: Export data to OBS. (Default value) - NEW_DATASET: Export data to a new dataset.

      +

      Export destination. The options are as follows:

      +
      • DIR: Export data to OBS. (Default value)
      • NEW_DATASET: Export data to a new dataset.

      export_new_dataset_name

      +

      export_new_dataset_name

      String

      +

      String

      Name of the new dataset to which data is exported.

      +

      Name of the new dataset to which data is exported.

      export_new_dataset_work_path

      +

      export_new_dataset_work_path

      String

      +

      String

      Working directory of the new dataset to which data is exported.

      +

      Working directory of the new dataset to which data is exported.

      ratio_sample_usage

      +

      ratio_sample_usage

      Boolean

      +

      Boolean

      Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows: - true: Allocate the training set and validation set. - false: Do not allocate the training set and validation set. (Default value)

      +

      Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows:

      +
      • true: Allocate the training set and validation set.
      • false: Do not allocate the training set and validation set. (Default value)

      sample_state

      +

      sample_state

      String

      +

      String

      Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

      +

      Sample status. The options are as follows:

      +
      • ALL: labeled
      • NONE: unlabeled
      • UNCHECK: pending acceptance
      • ACCEPTED: accepted
      • REJECTED: rejected
      • UNREVIEWED: pending review
      • REVIEWED: reviewed
      • WORKFORCE_SAMPLED: sampled
      • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
      • WORKFORCE_SAMPLED_CHECKED: sampling checked
      • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
      • WORKFORCE_SAMPLED_REJECTED: sampling rejected
      • AUTO_ANNOTATION: to be confirmed

      samples

      +

      samples

      Array of strings

      +

      Array of strings

      ID list of exported samples.

      +

      ID list of exported samples.

      search_conditions

      +

      search_conditions

      Array of SearchCondition objects

      +

      Array of SearchCondition objects

      Exported search conditions. The relationship between multiple search conditions is OR.

      +

      Exported search conditions. The relationship between multiple search conditions is OR.

      train_sample_ratio

      +

      train_sample_ratio

      String

      +

      String

      Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

      +

      Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

      -
      Table 4 SearchCondition

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 4 SearchCondition

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      coefficient

      +

      coefficient

      String

      +

      String

      Filter by coefficient of difficulty.

      +

      Filter by coefficient of difficulty.

      frame_in_video

      +

      frame_in_video

      Integer

      +

      Integer

      A frame in the video.

      +

      A frame in the video.

      hard

      +

      hard

      String

      +

      String

      Whether a sample is a hard sample. The options are as follows: - 0: non-hard sample - 1: hard sample

      +

      Whether a sample is a hard sample. The options are as follows:

      +
      • 0: non-hard sample
      • 1: hard sample

      import_origin

      +

      import_origin

      String

      +

      String

      Filter by data source.

      +

      Filter by data source.

      kvp

      +

      kvp

      String

      +

      String

      CT dosage, filtered by dosage.

      +

      CT dosage, filtered by dosage.

      label_list

      +

      label_list

      SearchLabels object

      +

      SearchLabels object

      Label search criteria.

      +

      Label search criteria.

      labeler

      +

      labeler

      String

      +

      String

      Labeler.

      +

      Labeler.

      metadata

      +

      metadata

      SearchProp object

      +

      SearchProp object

      Search by sample attribute.

      +

      Search by sample attribute.

      parent_sample_id

      +

      parent_sample_id

      String

      +

      String

      Parent sample ID.

      +

      Parent sample ID.

      sample_dir

      +

      sample_dir

      String

      +

      String

      Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

      +

      Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

      sample_name

      +

      sample_name

      String

      +

      String

      Search by sample name, including the file name extension.

      +

      Search by sample name, including the file name extension.

      sample_time

      +

      sample_time

      String

      +

      String

      When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows: - month: Search for samples added from 30 days ago to the current day.

      -
      - **day**: Search for samples added from yesterday (one day ago) to the current day. 
      -
      -      - **yyyyMMdd-yyyyMMdd**: Search for samples added in a specified period (at most 30 days), in the format of **Start date-End date**. For example, **20190901-2019091501** indicates that samples generated from September 1 to September 15, 2019 are searched.
      +

      When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows:

      +
      • month: Search for samples added from 30 days ago to the current day.
      • day: Search for samples added from yesterday (one day ago) to the current day.
      • yyyyMMdd-yyyyMMdd: Search for samples added in a specified period (at most 30 days), in the format of Start date-End date. For example, 20190901-20190915 indicates that samples generated from September 1 to September 15, 2019 are searched.

      score

      +

      score

      String

      +

      String

      Search by confidence.

      +

      Search by confidence.

      slice_thickness

      +

      slice_thickness

      String

      +

      String

      DICOM layer thickness. Samples are filtered by layer thickness.

      +

      DICOM layer thickness. Samples are filtered by layer thickness.

      study_date

      +

      study_date

      String

      +

      String

      DICOM scanning time.

      +

      DICOM scanning time.

      time_in_video

      +

      time_in_video

      String

      +

      String

      A time point in the video.

      +

      A time point in the video.

      -
      Table 5 SearchLabels

      Parameter

      +
      - - - - - - - -
      Table 5 SearchLabels

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      labels

      +

      labels

      Array of SearchLabel objects

      +

      Array of SearchLabel objects

      List of label search criteria.

      +

      List of label search criteria.

      op

      +

      op

      String

      +

      String

      If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows: - OR: OR operation - AND: AND operation

      +

      If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows:

      +
      • OR: OR operation
      • AND: AND operation
      -
      Table 6 SearchLabel

      Parameter

      +
      - - - - - - - - - - - - - -
      Table 6 SearchLabel

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      name

      +

      name

      String

      +

      String

      Label name.

      +

      Label name.

      op

      +

      op

      String

      +

      String

      Operation type between multiple attributes. The options are as follows: - OR: OR operation - AND: AND operation

      +

      Operation type between multiple attributes. The options are as follows:

      +
      • OR: OR operation
      • AND: AND operation

      property

      +

      property

      Map<String,Array<String>>

      +

      Map<String,Array<String>>

      Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

      +

      Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

      type

      +

      type

      Integer

      +

      Integer

      Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

      +

      Label type. The options are as follows:

      +
      • 0: image classification
      • 1: object detection
      • 100: text classification
      • 101: named entity recognition
      • 102: text triplet relationship
      • 103: text triplet entity
      • 200: speech classification
      • 201: speech content
      • 202: speech paragraph labeling
      • 600: video classification
      -
      Table 7 SearchProp

      Parameter

      +
      - - - - - - - -
      Table 7 SearchProp

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      op

      +

      op

      String

      +

      String

      Relationship between attribute values. The options are as follows: - AND: AND relationship - OR: OR relationship

      +

      Relationship between attribute values. The options are as follows:

      +
      • AND: AND relationship
      • OR: OR relationship

      props

      +

      props

      Map<String,Array<String>>

      +

      Map<String,Array<String>>

      Search criteria of an attribute. Multiple search criteria can be set.

      +

      Search criteria of an attribute. Multiple search criteria can be set.

      -

      Example Requests

      Querying the Status of an Export Task (Exporting Data to OBS)

      -
      GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/export-tasks/{task_id}
      +

      Example Requests

      Querying the Status of an Export Task (Exporting Data to OBS)

      +
      GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/export-tasks/{task_id}
      -

      Example Responses

      Status code: 200

      -

      OK

      -
      {
      +

      Example Responses

      Status code: 200

      +

      OK

      +
      {
         "task_id" : "TZMuy7OKbClkGCAc3gb",
         "path" : "/test-obs/daoChu/",
         "export_type" : 3,
      @@ -500,38 +510,38 @@
         "update_time" : 1606103494124
       }
      -

      Status Codes

      -

      Status Code

      +

      Status Codes

      +
      - - - - - - - - -

      Status Code

      Description

      +

      Description

      200

      +

      200

      OK

      +

      OK

      401

      +

      401

      Unauthorized

      +

      Unauthorized

      403

      +

      403

      Forbidden

      +

      Forbidden

      404

      +

      404

      Not Found

      +

      Not Found

      -

      Error Codes

      See Error Codes.

      +

      Error Codes

      See Error Codes.

      diff --git a/docs/modelarts/api-ref/GetExportTasksStatusOfDataset.html b/docs/modelarts/api-ref/GetExportTasksStatusOfDataset.html index 82dc852a1..c4f521a6d 100644 --- a/docs/modelarts/api-ref/GetExportTasksStatusOfDataset.html +++ b/docs/modelarts/api-ref/GetExportTasksStatusOfDataset.html @@ -1,649 +1,663 @@

      Querying the Dataset Export Task List

      -

      Function

      This API is used to query the dataset export task list by page.

      +

      Function

      This API is used to query the dataset export task list by page.

      -

      URI

      GET /v2/{project_id}/datasets/{dataset_id}/export-tasks

      +

      URI

      GET /v2/{project_id}/datasets/{dataset_id}/export-tasks

      -
      Table 1 Path Parameters

      Parameter

      +
      - - - - - - - - - - -
      Table 1 Path Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      dataset_id

      +

      dataset_id

      Yes

      +

      Yes

      String

      +

      String

      Dataset ID.

      +

      Dataset ID.

      project_id

      +

      project_id

      Yes

      +

      Yes

      String

      +

      String

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      +

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      -
      Table 2 Query Parameters

      Parameter

      +
      - - - - - - - - - - - - - - -
      Table 2 Query Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      export_type

      +

      export_type

      No

      +

      No

      Integer

      +

      Integer

      Export type. If this parameter is not specified, all types of export tasks are queried by default. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

      +

      Export type. If this parameter is not specified, all types of export tasks are queried by default. The options are as follows:

      +
      • 0: labeled
      • 1: unlabeled
      • 2: all
      • 3: conditional search

      limit

      +

      limit

      No

      +

      No

      Integer

      +

      Integer

      Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

      +

      Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

      offset

      +

      offset

      No

      +

      No

      Integer

      +

      Integer

      Start page of the paging list. The default value is 0.

      +

      Start page of the paging list. The default value is 0.

      -

      Request Parameters

      None

      +

      Request Parameters

      None

      -

      Response Parameters

      Status code: 200

      +

      Response Parameters

      Status code: 200

      -
      Table 3 Response body parameters

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 3 Response body parameters

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      create_time

      +

      create_time

      Long

      +

      Long

      Time when a task is created.

      +

      Time when a task is created.

      error_code

      +

      error_code

      String

      +

      String

      Error code.

      +

      Error code.

      error_msg

      +

      error_msg

      String

      +

      String

      Error message.

      +

      Error message.

      export_format

      +

      export_format

      Integer

      +

      Integer

      Format of the exported directory. The options are as follows: - 1: tree structure. For example: cat/1.jpg,dog/2.jpg. - 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      +

      Format of the exported directory. The options are as follows:

      +
      • 1: tree structure. For example: cat/1.jpg,dog/2.jpg.
      • 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      export_params

      +

      export_params

      ExportParams object

      +

      ExportParams object

      Parameters of a dataset export task.

      +

      Parameters of a dataset export task.

      export_tasks

      +

      export_tasks

      Array of ExportTaskStatusResp objects

      +

      Array of ExportTaskStatusResp objects

      Export task list

      +

      Export task list

      export_type

      +

      export_type

      Integer

      +

      Integer

      Export type. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

      +

      Export type. The options are as follows:

      +
      • 0: labeled
      • 1: unlabeled
      • 2: all
      • 3: conditional search

      finished_sample_count

      +

      finished_sample_count

      Integer

      +

      Integer

      Number of completed samples.

      +

      Number of completed samples.

      path

      +

      path

      String

      +

      String

      Export output path.

      +

      Export output path.

      progress

      +

      progress

      Float

      +

      Float

      Percentage of current task progress.

      +

      Percentage of current task progress.

      status

      +

      status

      String

      +

      String

      Task status.

      +

      Task status.

      task_id

      +

      task_id

      String

      +

      String

      Task ID.

      +

      Task ID.

      total_count

      +

      total_count

      Integer

      +

      Integer

      Total number of export tasks

      +

      Total number of export tasks

      total_sample_count

      +

      total_sample_count

      Integer

      +

      Integer

      Total number of samples.

      +

      Total number of samples.

      update_time

      +

      update_time

      Long

      +

      Long

      Time when a task is updated.

      +

      Time when a task is updated.

      version_format

      +

      version_format

      String

      +

      String

      Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

      +

      Format of a dataset version. The options are as follows:

      +
      • Default: default format
      • CarbonData: CarbonData (supported only by table datasets)
      • CSV: CSV

      version_id

      +

      version_id

      String

      +

      String

      Dataset version ID.

      +

      Dataset version ID.

      -
      Table 4 ExportParams

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 4 ExportParams

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      clear_hard_property

      +

      clear_hard_property

      Boolean

      +

      Boolean

      Whether to clear hard example attributes. The options are as follows: - true: Clear hard example attributes. (Default value) - false: Do not clear hard example attributes.

      +

      Whether to clear hard example attributes. The options are as follows:

      +
      • true: Clear hard example attributes. (Default value)
      • false: Do not clear hard example attributes.

      export_dataset_version_format

      +

      export_dataset_version_format

      String

      +

      String

      Format of the dataset version to which data is exported.

      +

      Format of the dataset version to which data is exported.

      export_dataset_version_name

      +

      export_dataset_version_name

      String

      +

      String

      Name of the dataset version to which data is exported.

      +

      Name of the dataset version to which data is exported.

      export_dest

      +

      export_dest

      String

      +

      String

      Export destination. The options are as follows: - DIR: Export data to OBS. (Default value) - NEW_DATASET: Export data to a new dataset.

      +

      Export destination. The options are as follows:

      +
      • DIR: Export data to OBS. (Default value)
      • NEW_DATASET: Export data to a new dataset.

      export_new_dataset_name

      +

      export_new_dataset_name

      String

      +

      String

      Name of the new dataset to which data is exported.

      +

      Name of the new dataset to which data is exported.

      export_new_dataset_work_path

      +

      export_new_dataset_work_path

      String

      +

      String

      Working directory of the new dataset to which data is exported.

      +

      Working directory of the new dataset to which data is exported.

      ratio_sample_usage

      +

      ratio_sample_usage

      Boolean

      +

      Boolean

      Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows: - true: Allocate the training set and validation set. - false: Do not allocate the training set and validation set. (Default value)

      +

      Whether to randomly allocate the training set and validation set based on the specified ratio. The options are as follows:

      +
      • true: Allocate the training set and validation set.
      • false: Do not allocate the training set and validation set. (Default value)

      sample_state

      +

      sample_state

      String

      +

      String

      Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

      +

      Sample status. The options are as follows:

      +
      • ALL: labeled
      • NONE: unlabeled
      • UNCHECK: pending acceptance
      • ACCEPTED: accepted
      • REJECTED: rejected
      • UNREVIEWED: pending review
      • REVIEWED: reviewed
      • WORKFORCE_SAMPLED: sampled
      • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
      • WORKFORCE_SAMPLED_CHECKED: sampling checked
      • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
      • WORKFORCE_SAMPLED_REJECTED: sampling rejected
      • AUTO_ANNOTATION: to be confirmed

      samples

      +

      samples

      Array of strings

      +

      Array of strings

      ID list of exported samples.

      +

      ID list of exported samples.

      search_conditions

      +

      search_conditions

      Array of SearchCondition objects

      +

      Array of SearchCondition objects

      Exported search conditions. The relationship between multiple search conditions is OR.

      +

      Exported search conditions. The relationship between multiple search conditions is OR.

      train_sample_ratio

      +

      train_sample_ratio

      String

      +

      String

      Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

      +

      Split ratio of training set and verification set during specified version release. The default value is 1.00, indicating that all released versions are training sets.

      -
      Table 5 ExportTaskStatusResp

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 5 ExportTaskStatusResp

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      create_time

      +

      create_time

      Long

      +

      Long

      Time when a task is created.

      +

      Time when a task is created.

      error_code

      +

      error_code

      String

      +

      String

      Error code.

      +

      Error code.

      error_msg

      +

      error_msg

      String

      +

      String

      Error message.

      +

      Error message.

      export_format

      +

      export_format

      Integer

      +

      Integer

      Format of the exported directory. The options are as follows: - 1: tree structure. For example: cat/1.jpg,dog/2.jpg. - 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      +

      Format of the exported directory. The options are as follows:

      +
      • 1: tree structure. For example: cat/1.jpg,dog/2.jpg.
      • 2: tile structure. For example: 1.jpg, 1.txt; 2.jpg,2.txt.

      export_params

      +

      export_params

      ExportParams object

      +

      ExportParams object

      Parameters of a dataset export task.

      +

      Parameters of a dataset export task.

      export_type

      +

      export_type

      Integer

      +

      Integer

      Export type. The options are as follows: - 0: labeled - 1: unlabeled - 2: all - 3: conditional search

      +

      Export type. The options are as follows:

      +
      • 0: labeled
      • 1: unlabeled
      • 2: all
      • 3: conditional search

      finished_sample_count

      +

      finished_sample_count

      Integer

      +

      Integer

      Number of completed samples.

      +

      Number of completed samples.

      path

      +

      path

      String

      +

      String

      Export output path.

      +

      Export output path.

      progress

      +

      progress

      Float

      +

      Float

      Percentage of current task progress.

      +

      Percentage of current task progress.

      status

      +

      status

      String

      +

      String

      Task status.

      +

      Task status.

      task_id

      +

      task_id

      String

      +

      String

      Task ID.

      +

      Task ID.

      total_sample_count

      +

      total_sample_count

      Integer

      +

      Integer

      Total number of samples.

      +

      Total number of samples.

      update_time

      +

      update_time

      Long

      +

      Long

      Time when a task is updated.

      +

      Time when a task is updated.

      version_format

      +

      version_format

      String

      +

      String

      Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

      +

      Format of a dataset version. The options are as follows:

      +
      • Default: default format
      • CarbonData: CarbonData (supported only by table datasets)
      • CSV: CSV

      version_id

      +

      version_id

      String

      +

      String

      Dataset version ID.

      +

      Dataset version ID.

      -
      Table 6 SearchCondition

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 6 SearchCondition

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      coefficient

      +

      coefficient

      String

      +

      String

      Filter by coefficient of difficulty.

      +

      Filter by coefficient of difficulty.

      frame_in_video

      +

      frame_in_video

      Integer

      +

      Integer

      A frame in the video.

      +

      A frame in the video.

      hard

      +

      hard

      String

      +

      String

      Whether a sample is a hard sample. The options are as follows: - 0: non-hard sample - 1: hard sample

      +

      Whether a sample is a hard sample. The options are as follows:

      +
      • 0: non-hard sample
      • 1: hard sample

      import_origin

      +

      import_origin

      String

      +

      String

      Filter by data source.

      +

      Filter by data source.

      kvp

      +

      kvp

      String

      +

      String

      CT dosage, filtered by dosage.

      +

      CT dosage, filtered by dosage.

      label_list

      +

      label_list

      SearchLabels object

      +

      SearchLabels object

      Label search criteria.

      +

      Label search criteria.

      labeler

      +

      labeler

      String

      +

      String

      Labeler.

      +

      Labeler.

      metadata

      +

      metadata

      SearchProp object

      +

      SearchProp object

      Search by sample attribute.

      +

      Search by sample attribute.

      parent_sample_id

      +

      parent_sample_id

      String

      +

      String

      Parent sample ID.

      +

      Parent sample ID.

      sample_dir

      +

      sample_dir

      String

      +

      String

      Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

      +

      Directory where data samples are stored (the directory must end with a slash (/)). Only samples in the specified directory are searched for. Recursive search of directories is not supported.

      sample_name

      +

      sample_name

      String

      +

      String

      Search by sample name, including the file name extension.

      +

      Search by sample name, including the file name extension.

      sample_time

      +

      sample_time

      String

      +

      String

      When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows: - month: Search for samples added from 30 days ago to the current day.

      -
      - **day**: Search for samples added from yesterday (one day ago) to the current day. 
      -
      -      - **yyyyMMdd-yyyyMMdd**: Search for samples added in a specified period (at most 30 days), in the format of **Start date-End date**. For example, **20190901-2019091501** indicates that samples generated from September 1 to September 15, 2019 are searched.
      +

      When a sample is added to the dataset, an index is created based on the last modification time (accurate to day) of the sample on OBS. You can search for the sample based on the time. The options are as follows:

      +
      • month: Search for samples added from 30 days ago to the current day.
      • day: Search for samples added from yesterday (one day ago) to the current day.
      • yyyyMMdd-yyyyMMdd: Search for samples added in a specified period (at most 30 days), in the format of Start date-End date. For example, 20190901-20190915 indicates that samples generated from September 1 to September 15, 2019 are searched.

      score

      +

      score

      String

      +

      String

      Search by confidence.

      +

      Search by confidence.

      slice_thickness

      +

      slice_thickness

      String

      +

      String

      DICOM layer thickness. Samples are filtered by layer thickness.

      +

      DICOM layer thickness. Samples are filtered by layer thickness.

      study_date

      +

      study_date

      String

      +

      String

      DICOM scanning time.

      +

      DICOM scanning time.

      time_in_video

      +

      time_in_video

      String

      +

      String

      A time point in the video.

      +

      A time point in the video.

      -
      Table 7 SearchLabels

      Parameter

      +
      - - - - - - - -
      Table 7 SearchLabels

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      labels

      +

      labels

      Array of SearchLabel objects

      +

      Array of SearchLabel objects

      List of label search criteria.

      +

      List of label search criteria.

      op

      +

      op

      String

      +

      String

      If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows: - OR: OR operation - AND: AND operation

      +

      If you want to search for multiple labels, op must be specified. If you search for only one label, op can be left blank. The options are as follows:

      +
      • OR: OR operation
      • AND: AND operation
      -
      Table 8 SearchLabel

      Parameter

      +
      - - - - - - - - - - - - - -
      Table 8 SearchLabel

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      name

      +

      name

      String

      +

      String

      Label name.

      +

      Label name.

      op

      +

      op

      String

      +

      String

      Operation type between multiple attributes. The options are as follows: - OR: OR operation - AND: AND operation

      +

      Operation type between multiple attributes. The options are as follows:

      +
      • OR: OR operation
      • AND: AND operation

      property

      +

      property

      Map<String,Array<String>>

      +

      Map<String,Array<String>>

      Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

      +

      Label attribute, which is in the Object format and stores any key-value pairs. key indicates the attribute name, and value indicates the value list. If value is null, the search is not performed by value. Otherwise, the search value can be any value in the list.

      type

      +

      type

      Integer

      +

      Integer

      Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

      +

      Label type. The options are as follows:

      +
      • 0: image classification
      • 1: object detection
      • 100: text classification
      • 101: named entity recognition
      • 102: text triplet relationship
      • 103: text triplet entity
      • 200: speech classification
      • 201: speech content
      • 202: speech paragraph labeling
      • 600: video classification
      -
      Table 9 SearchProp

      Parameter

      +
      - - - - - - - -
      Table 9 SearchProp

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      op

      +

      op

      String

      +

      String

      Relationship between attribute values. The options are as follows: - AND: AND relationship - OR: OR relationship

      +

      Relationship between attribute values. The options are as follows:

      +
      • AND: AND relationship
      • OR: OR relationship

      props

      +

      props

      Map<String,Array<String>>

      +

      Map<String,Array<String>>

      Search criteria of an attribute. Multiple search criteria can be set.

      +

      Search criteria of an attribute. Multiple search criteria can be set.

      -

      Example Requests

      Querying the Export Task List by Page

      -
      GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/export-tasks
      +

      Example Requests

      Querying the Export Task List by Page

      +
      GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/export-tasks
      -

      Example Responses

      Status code: 200

      -

      OK

      -
      {
      +

      Example Responses

      Status code: 200

      +

      OK

      +
      {
         "total_count" : 2,
         "export_tasks" : [ {
           "task_id" : "rF9NNoB56k5rtYKg2Y7",
      @@ -690,38 +704,38 @@
         } ]
       }
      -

      Status Codes

      -

      Status Code

      +

      Status Codes

      +
      - - - - - - - - -

      Status Code

      Description

      +

      Description

      200

      +

      200

      OK

      +

      OK

      401

      +

      401

      Unauthorized

      +

      Unauthorized

      403

      +

      403

      Forbidden

      +

      Forbidden

      404

      +

      404

      Not Found

      +

      Not Found

      -

      Error Codes

      See Error Codes.

      +

      Error Codes

      See Error Codes.

      diff --git a/docs/modelarts/api-ref/ImportTask.html b/docs/modelarts/api-ref/ImportTask.html index f17732328..477f6e220 100644 --- a/docs/modelarts/api-ref/ImportTask.html +++ b/docs/modelarts/api-ref/ImportTask.html @@ -1,686 +1,700 @@

      Creating an Import Task

      -

      Function

      This API is used to create a dataset import task to import samples and labels from the storage system to the dataset.

      +

      Function

      This API is used to create a dataset import task to import samples and labels from the storage system to the dataset.

      -

      URI

      POST /v2/{project_id}/datasets/{dataset_id}/import-tasks

      +

      URI

      POST /v2/{project_id}/datasets/{dataset_id}/import-tasks

      -
      Table 1 Path Parameters

      Parameter

      +
      - - - - - - - - - - -
      Table 1 Path Parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      dataset_id

      +

      dataset_id

      Yes

      +

      Yes

      String

      +

      String

      Dataset ID.

      +

      Dataset ID.

      project_id

      +

      project_id

      Yes

      +

      Yes

      String

      +

      String

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      +

      Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

      -

      Request Parameters

      -
      Table 2 Request body parameters

      Parameter

      +

      Request Parameters

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 2 Request body parameters

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      annotation_format

      +

      annotation_format

      No

      +

      No

      String

      +

      String

      Format of the labeling information. Currently, only object detection is supported. The options are as follows: - VOC: VOC - COCO: COCO

      +

      Format of the labeling information. Currently, only object detection is supported. The options are as follows:

      +
      • VOC: VOC
      • COCO: COCO

      data_source

      +

      data_source

      No

      +

      No

      DataSource object

      +

      DataSource object

      Data source.

      +

      Data source.

      difficult_only

      +

      difficult_only

      No

      +

      No

      Boolean

      +

      Boolean

      Whether to import only hard examples. The options are as follows: - true: Only difficult samples are imported. - false: All samples are imported. (Default value)

      +

      Whether to import only hard examples. The options are as follows:

      +
      • true: Only difficult samples are imported.
      • false: All samples are imported. (Default value)

      excluded_labels

      +

      excluded_labels

      No

      +

      No

      Array of Label objects

      +

      Array of Label objects

      Do not import samples containing the specified label.

      +

      Do not import samples containing the specified label.

      final_annotation

      +

      final_annotation

      No

      +

      No

      Boolean

      +

      Boolean

      Whether to import data to the final state. The options are as follows: - true: Import data to the final state. (Default value) - false: Do not import data to the final state.

      +

      Whether to import data to the final state. The options are as follows:

      +
      • true: Import data to the final state. (Default value)
      • false: Do not import data to the final state.

      import_annotations

      +

      import_annotations

      No

      +

      No

      Boolean

      +

      Boolean

      Whether to import labels. The options are as follows: - true: Import labels. (Default value) - false: Do not import labels.

      +

      Whether to import labels. The options are as follows:

      +
      • true: Import labels. (Default value)
      • false: Do not import labels.

      import_folder

      +

      import_folder

      No

      +

      No

      String

      +

      String

      Name of the subdirectory in the dataset storage directory after import. You can specify the same subdirectory for multiple import tasks to avoid repeated import of the same samples. This field is invalid for table datasets.

      +

      Name of the subdirectory in the dataset storage directory after import. You can specify the same subdirectory for multiple import tasks to avoid repeated import of the same samples. This field is invalid for table datasets.

      import_origin

      +

      import_origin

      No

      +

      No

      String

      +

      String

      Data source. The options are as follows: - obs: OBS bucket (default value) - dws: GaussDB(DWS) - dli: DLI - rds: RDS - mrs: MRS - inference: Inference service

      +

      Data source. The options are as follows:

      +
      • obs: OBS bucket (default value)
      • dws: GaussDB(DWS)
      • dli: DLI
      • rds: RDS
      • mrs: MRS
      • inference: Inference service

      import_path

      +

      import_path

      No

      +

      No

      String

      +

      String

      OBS path or manifest path to be imported. - When importing a manifest file, ensure that the path is accurate to the manifest file.- When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

      +

      OBS path or manifest path to be imported.

      +
      • When importing a manifest file, ensure that the path is accurate to the manifest file.
      • When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

      import_samples

      +

      import_samples

      No

      +

      No

      Boolean

      +

      Boolean

      Whether to import samples. The options are as follows: - true: Import samples. (Default value) - false: Do not import samples.

      +

      Whether to import samples. The options are as follows:

      +
      • true: Import samples. (Default value)
      • false: Do not import samples.

      import_type

      +

      import_type

      No

      +

      No

      String

      +

      String

      Import mode. The options are as follows: - 0: Import by directory. - 1: Import by manifest file.

      +

      Import mode. The options are as follows:

      +
      • 0: Import by directory.
      • 1: Import by manifest file.

      included_labels

      +

      included_labels

      No

      +

      No

      Array of Label objects

      +

      Array of Label objects

      Import samples containing the specified label.

      +

      Import samples containing the specified label.

      label_format

      +

      label_format

      No

      +

      No

      LabelFormat object

      +

      LabelFormat object

      Label format. This parameter is used only for text datasets.

      +

      Label format. This parameter is used only for text datasets.

      with_column_header

      +

      with_column_header

      No

      +

      No

      Boolean

      +

      Boolean

      Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name. (Default value)

      +

      Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

      +
      • true: The first row in the file is the column name.
      • false: The first row in the file is not the column name. (Default value)
      -
      Table 3 DataSource

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - -
      Table 3 DataSource

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      data_path

      +

      data_path

      No

      +

      No

      String

      +

      String

      Data source path.

      +

      Data source path.

      data_type

      +

      data_type

      No

      +

      No

      Integer

      +

      Integer

      Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

      +

      Data type. The options are as follows:

      +
      • 0: OBS bucket (default value)
      • 1: GaussDB(DWS)
      • 2: DLI
      • 3: RDS
      • 4: MRS
      • 5: AI Gallery
      • 6: Inference service

      schema_maps

      +

      schema_maps

      No

      +

      No

      Array of SchemaMap objects

      +

      Array of SchemaMap objects

      Schema mapping information corresponding to the table data.

      +

      Schema mapping information corresponding to the table data.

      source_info

      +

      source_info

      No

      +

      No

      SourceInfo object

      +

      SourceInfo object

      Information required for importing a table data source.

      +

      Information required for importing a table data source.

      with_column_header

      +

      with_column_header

      No

      +

      No

      Boolean

      +

      Boolean

      Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

      +

      Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

      +
      • true: The first row in the file is the column name.
      • false: The first row in the file is not the column name.
      -
      Table 4 SchemaMap

      Parameter

      +
      - - - - - - - - - - -
      Table 4 SchemaMap

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      dest_name

      +

      dest_name

      No

      +

      No

      String

      +

      String

      Name of the destination column.

      +

      Name of the destination column.

      src_name

      +

      src_name

      No

      +

      No

      String

      +

      String

      Name of the source column.

      +

      Name of the source column.

      -
      Table 5 SourceInfo

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 5 SourceInfo

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      cluster_id

      +

      cluster_id

      No

      +

      No

      String

      +

      String

      ID of an MRS cluster.

      +

      ID of an MRS cluster.

      cluster_mode

      +

      cluster_mode

      No

      +

      No

      String

      +

      String

      Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

      +

      Running mode of an MRS cluster. The options are as follows:

      +
      • 0: normal cluster
      • 1: security cluster

      cluster_name

      +

      cluster_name

      No

      +

      No

      String

      +

      String

      Name of an MRS cluster.

      +

      Name of an MRS cluster.

      database_name

      +

      database_name

      No

      +

      No

      String

      +

      String

      Name of the database to which the table dataset is imported.

      +

      Name of the database to which the table dataset is imported.

      input

      +

      input

      No

      +

      No

      String

      +

      String

      HDFS path of a table dataset.

      +

      HDFS path of a table dataset.

      ip

      +

      ip

      No

      +

      No

      String

      +

      String

      IP address of your GaussDB(DWS) cluster.

      +

      IP address of your GaussDB(DWS) cluster.

      port

      +

      port

      No

      +

      No

      String

      +

      String

      Port number of your GaussDB(DWS) cluster.

      +

      Port number of your GaussDB(DWS) cluster.

      queue_name

      +

      queue_name

      No

      +

      No

      String

      +

      String

      DLI queue name of a table dataset.

      +

      DLI queue name of a table dataset.

      subnet_id

      +

      subnet_id

      No

      +

      No

      String

      +

      String

      Subnet ID of an MRS cluster.

      +

      Subnet ID of an MRS cluster.

      table_name

      +

      table_name

      No

      +

      No

      String

      +

      String

      Name of the table to which a table dataset is imported.

      +

      Name of the table to which a table dataset is imported.

      user_name

      +

      user_name

      No

      +

      No

      String

      +

      String

      Username, which is mandatory for GaussDB(DWS) data.

      +

      Username, which is mandatory for GaussDB(DWS) data.

      user_password

      +

      user_password

      No

      +

      No

      String

      +

      String

      User password, which is mandatory for GaussDB(DWS) data.

      +

      User password, which is mandatory for GaussDB(DWS) data.

      vpc_id

      +

      vpc_id

      No

      +

      No

      String

      +

      String

      ID of the VPC where an MRS cluster resides.

      +

      ID of the VPC where an MRS cluster resides.

      -
      Table 6 Label

      Parameter

      +
      - - - - - - - - - - - - - - - - - - -
      Table 6 Label

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      attributes

      +

      attributes

      No

      +

      No

      Array of LabelAttribute objects

      +

      Array of LabelAttribute objects

      Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

      +

      Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

      name

      +

      name

      No

      +

      No

      String

      +

      String

      Label name.

      +

      Label name.

      property

      +

      property

      No

      +

      No

      LabelProperty object

      +

      LabelProperty object

      Basic attribute key-value pair of a label, such as color and shortcut keys.

      +

      Basic attribute key-value pair of a label, such as color and shortcut keys.

      type

      +

      type

      No

      +

      No

      Integer

      +

      Integer

      Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

      +

      Label type. The options are as follows:

      +
      • 0: image classification
      • 1: object detection
      • 100: text classification
      • 101: named entity recognition
      • 102: text triplet relationship
      • 103: text triplet entity
      • 200: speech classification
      • 201: speech content
      • 202: speech paragraph labeling
      • 600: video classification
      -
      Table 7 LabelAttribute

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - -
      Table 7 LabelAttribute

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      default_value

      +

      default_value

      No

      +

      No

      String

      +

      String

      Default value of a label attribute.

      +

      Default value of a label attribute.

      id

      +

      id

      No

      +

      No

      String

      +

      String

      Label attribute ID.

      +

      Label attribute ID.

      name

      +

      name

      No

      +

      No

      String

      +

      String

      Label attribute name.

      +

      Label attribute name.

      type

      +

      type

      No

      +

      No

      String

      +

      String

      Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

      +

      Label attribute type. The options are as follows:

      +
      • text: text
      • select: single-choice drop-down list

      values

      +

      values

      No

      +

      No

      Array of LabelAttributeValue objects

      +

      Array of LabelAttributeValue objects

      List of label attribute values.

      +

      List of label attribute values.

      -
      Table 8 LabelAttributeValue

      Parameter

      +
      - - - - - - - - - - -
      Table 8 LabelAttributeValue

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      id

      +

      id

      No

      +

      No

      String

      +

      String

      Label attribute value ID.

      +

      Label attribute value ID.

      value

      +

      value

      No

      +

      No

      String

      +

      String

      Label attribute value.

      +

      Label attribute value.

      -
      Table 9 LabelProperty

      Parameter

      +
      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Table 9 LabelProperty

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      @modelarts:color

      +

      @modelarts:color

      No

      +

      No

      String

      +

      String

      Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

      +

      Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

      @modelarts:default_shape

      +

      @modelarts:default_shape

      No

      +

      No

      String

      +

      String

      Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

      +

      Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

      +
      • bndbox: rectangle
      • polygon: polygon
      • circle: circle
      • line: straight line
      • dashed: dotted line
      • point: point
      • polyline: polyline

      @modelarts:from_type

      +

      @modelarts:from_type

      No

      +

      No

      String

      +

      String

      Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

      +

      Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

      @modelarts:rename_to

      +

      @modelarts:rename_to

      No

      +

      No

      String

      +

      String

      Default attribute: The new name of the label.

      +

      Default attribute: The new name of the label.

      @modelarts:shortcut

      +

      @modelarts:shortcut

      No

      +

      No

      String

      +

      String

      Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

      +

      Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

      @modelarts:to_type

      +

      @modelarts:to_type

      No

      +

      No

      String

      +

      String

      Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

      +

      Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

      -
      Table 10 LabelFormat

      Parameter

      +
      - - - - - - - - - - - - - - -
      Table 10 LabelFormat

      Parameter

      Mandatory

      +

      Mandatory

      Type

      +

      Type

      Description

      +

      Description

      label_type

      +

      label_type

      No

      +

      No

      String

      +

      String

      Label type of text classification. The options are as follows: - 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt. - 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

      +

      Label type of text classification. The options are as follows:

      +
      • 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt.
      • 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

      text_label_separator

      +

      text_label_separator

      No

      +

      No

      String

      +

      String

      Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

      +

      Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

      text_sample_separator

      +

      text_sample_separator

      No

      +

      No

      String

      +

      String

      Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

      +

      Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

      -

      Response Parameters

      Status code: 200

      +

      Response Parameters

      Status code: 200

      -
      Table 11 Response body parameters

      Parameter

      +
      - - - - -
      Table 11 Response body parameters

      Parameter

      Type

      +

      Type

      Description

      +

      Description

      task_id

      +

      task_id

      String

      +

      String

      ID of an import task.

      +

      ID of an import task.

      -

      Example Requests

      • Creating an Import Task (Importing Data from OBS)

        -
        {
        +

        Example Requests

        • Creating an Import Task (Importing Data from OBS)
          {
             "import_type" : "dir",
             "import_path" : "s3://test-obs/daoLu_images/cat-dog/",
             "included_tags" : [ ],
             "import_annotations" : false,
             "difficult_only" : false
           }
          -
        • Creating an Import Task (Importing Data from Manifest)

          -
          {
          +
        • Creating an Import Task (Importing Data from Manifest)
          {
             "import_type" : "manifest",
             "import_path" : "s3://test-obs/classify/output/dataset-f9e8-gfghHSokody6AJigS5A/annotation/V002/V002.manifest",
             "included_tags" : [ "cat", "dog", "Cat", "Dog" ],
          @@ -689,44 +703,44 @@
           }
        -

        Example Responses

        Status code: 200

        -

        OK

        -
        {
        +

        Example Responses

        Status code: 200

        +

        OK

        +
        {
           "task_id" : "gfghHSokody6AJigS5A_m1dYqOw8vWCAznw1V28"
         }
        -

        Status Codes

        -
        - - @@ -141,7 +151,10 @@ - - - - - - - - - - - - - - - @@ -482,7 +558,18 @@ - @@ -522,7 +609,10 @@ - -

        Status Code

        +

        Status Codes

        +
        - - - - - - - - -

        Status Code

        Description

        +

        Description

        200

        +

        200

        OK

        +

        OK

        401

        +

        401

        Unauthorized

        +

        Unauthorized

        403

        +

        403

        Forbidden

        +

        Forbidden

        404

        +

        404

        Not Found

        +

        Not Found

        -

        Error Codes

        See Error Codes.

        +

        Error Codes

        See Error Codes.

        diff --git a/docs/modelarts/api-ref/ListDatasetVersions.html b/docs/modelarts/api-ref/ListDatasetVersions.html index 12eddf73a..b221ddc43 100644 --- a/docs/modelarts/api-ref/ListDatasetVersions.html +++ b/docs/modelarts/api-ref/ListDatasetVersions.html @@ -53,7 +53,13 @@

        Integer

        Status of a dataset version. The options are as follows: - 0: creating - 1: running - 2: deleting - 3: deleted - 4: error

        +

        Status of a dataset version. The options are as follows:

        +
        • 0: creating

          +
        • 1: running

          +
        • 2: deleting

          +
        • 3: deleted

          +
        • 4: error

          +

        train_evaluate_ratio

        @@ -71,7 +77,11 @@

        Integer

        Format of a dataset version. The options are as follows: - 0: default format - 1: CarbonData (supported only by table datasets) - 2: CSV

        +

        Format of a dataset version. The options are as follows:

        +
        • 0: default format

          +
        • 1: CarbonData (supported only by table datasets)

          +
        • 2: CSV

          +

        Boolean

        Whether to clear hard example properties during release. The options are as follows: - true: Clear hard example properties. (Default value) - false: Do not clear hard example properties.

        +

        Whether to clear hard example properties during release. The options are as follows:

        +
        • true: Clear hard example properties. (Default value)

          +
        • false: Do not clear hard example properties.

          +

        code

        @@ -162,7 +175,10 @@

        Boolean

        Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows: - true: Crop the image. - false: Do not crop the image. (Default value)

        +

        Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows:

        +
        • true: Crop the image.

          +
        • false: Do not crop the image. (Default value)

          +

        crop_path

        @@ -197,7 +213,10 @@

        Boolean

        Whether data is validated by the validation algorithm before release. The options are as follows: - true: The data has been validated. - false: The data has not been validated.

        +

        Whether data is validated by the validation algorithm before release. The options are as follows:

        +
        • true: The data has been validated.

          +
        • false: The data has not been validated.

          +

        deleted_sample_count

        @@ -225,28 +244,40 @@

        Boolean

        Whether to export images to the version output directory during release. The options are as follows: - true: Export images to the version output directory. - false: Do not export images to the version output directory. (Default value)

        +

        Whether to export images to the version output directory during release. The options are as follows:

        +
        • true: Export images to the version output directory.

          +
        • false: Do not export images to the version output directory. (Default value)

          +

        extract_serial_number

        Boolean

        Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows: - true: Parse the subsample number. - false: Do not parse the subsample number. (Default value)

        +

        Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows:

        +
        • true: Parse the subsample number.

          +
        • false: Do not parse the subsample number. (Default value)

          +

        include_dataset_data

        Boolean

        Whether to include the source data of a dataset during release. The options are as follows: - true: The source data of a dataset is included. - false: The source data of a dataset is not included.

        +

        Whether to include the source data of a dataset during release. The options are as follows:

        +
        • true: The source data of a dataset is included.

          +
        • false: The source data of a dataset is not included.

          +

        is_current

        Boolean

        Whether the current dataset version is used. The options are as follows: - true: The current dataset version is used. - false: The current dataset version is not used.

        +

        Whether the current dataset version is used. The options are as follows:

        +
        • true: The current dataset version is used.

          +
        • false: The current dataset version is not used.

          +

        label_stats

        @@ -260,7 +291,10 @@

        String

        Label type of a released version. The options are as follows: - multi: Multi-label samples are included. - single: All samples are single-labeled.

        +

        Label type of a released version. The options are as follows:

        +
        • multi: Multi-label samples are included.

          +
        • single: All samples are single-labeled.

          +

        manifest_cache_input_path

        @@ -323,21 +357,36 @@

        Integer

        Status of a preprocessing task such as rotation and cropping. The options are as follows: - 0: initialized - 1: running - 2: completed - 3: failed - 4: stopped - 5: timeout - 6: deletion failed - 7: stop failed

        +

        Status of a preprocessing task such as rotation and cropping. The options are as follows:

        +
        • 0: initialized

          +
        • 1: running

          +
        • 2: completed

          +
        • 3: failed

          +
        • 4: stopped

          +
        • 5: timeout

          +
        • 6: deletion failed

          +
        • 7: stop failed

          +

        remove_sample_usage

        Boolean

        Whether to clear the existing usage information of a dataset during release. The options are as follows: - true: Clear the existing usage information of a dataset. (Default value) - false: Do not clear the existing usage information of a dataset.

        +

        Whether to clear the existing usage information of a dataset during release. The options are as follows:

        +
        • true: Clear the existing usage information of a dataset. (Default value)

          +
        • false: Do not clear the existing usage information of a dataset.

          +

        rotate

        Boolean

        Whether to rotate the image. The options are as follows: - true: Rotate the image. - false: Do not rotate the image. (Default value)

        +

        Whether to rotate the image. The options are as follows:

        +
        • true: Rotate the image.

          +
        • false: Do not rotate the image. (Default value)

          +

        rotate_path

        @@ -351,14 +400,34 @@

        String

        Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

        +

        Sample status. The options are as follows:

        +
        • ALL: labeled

          +
        • NONE: unlabeled

          +
        • UNCHECK: pending acceptance

          +
        • ACCEPTED: accepted

          +
        • REJECTED: rejected

          +
        • UNREVIEWED: pending review

          +
        • REVIEWED: reviewed

          +
        • WORKFORCE_SAMPLED: sampled

          +
        • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked

          +
        • WORKFORCE_SAMPLED_CHECKED: sampling checked

          +
        • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted

          +
        • WORKFORCE_SAMPLED_REJECTED: sampling rejected

          +
        • AUTO_ANNOTATION: to be confirmed

          +

        status

        Integer

        Status of a dataset version. The options are as follows: - 0: creating - 1: running - 2: deleting - 3: deleted - 4: error

        +

        Status of a dataset version. The options are as follows:

        +
        • 0: creating

          +
        • 1: running

          +
        • 2: deleting

          +
        • 3: deleted

          +
        • 4: error

          +

        tags

        @@ -407,7 +476,11 @@

        String

        Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

        +

        Format of a dataset version. The options are as follows:

        +
        • Default: default format

          +
        • CarbonData: CarbonData (supported only by table datasets)

          +
        • CSV: CSV

          +

        version_id

        @@ -428,7 +501,10 @@

        Boolean

        Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the released CSV file is a column name. - false: The first row in the released CSV file is not a column name.

        +

        Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows:

        +
        • true: The first row in the released CSV file is a column name.

          +
        • false: The first row in the released CSV file is not a column name.

          +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        @@ -581,7 +671,15 @@

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        diff --git a/docs/modelarts/api-ref/ListDatasets.html b/docs/modelarts/api-ref/ListDatasets.html index fa6b684fa..f519399d3 100644 --- a/docs/modelarts/api-ref/ListDatasets.html +++ b/docs/modelarts/api-ref/ListDatasets.html @@ -1,1597 +1,1640 @@

        Response body for querying the dataset list.

        -

        Function

        This API is used to query the created datasets that meet the search criteria by page.

        +

        Function

        This API is used to query the created datasets that meet the search criteria by page.

        -

        URI

        GET /v2/{project_id}/datasets

        +

        URI

        GET /v2/{project_id}/datasets

        -
        Table 1 Path Parameters

        Parameter

        +
        - - - - - - -
        Table 1 Path Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        project_id

        +

        project_id

        Yes

        +

        Yes

        String

        +

        String

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        +

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        -
        Table 2 Query Parameters

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 2 Query Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        check_running_task

        +

        check_running_task

        No

        +

        No

        Boolean

        +

        Boolean

        Whether to detect tasks (including initialization tasks) that are running in a dataset. The options are as follows: - true: Detect tasks (including initialization tasks) that are running in the dataset. - false: Do not detect tasks (including initialization tasks) that are running in the dataset. (Default value)

        +

        Whether to detect tasks (including initialization tasks) that are running in a dataset. The options are as follows:

        +
        • true: Detect tasks (including initialization tasks) that are running in the dataset.
        • false: Do not detect tasks (including initialization tasks) that are running in the dataset. (Default value)

        contain_versions

        +

        contain_versions

        No

        +

        No

        Boolean

        +

        Boolean

        Whether the dataset contains a version.

        +

        Whether the dataset contains a version.

        dataset_type

        +

        dataset_type

        No

        +

        No

        Integer

        +

        Integer

        Dataset type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

        +

        Dataset type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet
        • 200: sound classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 400: table dataset
        • 600: video labeling
        • 900: custom format

        file_preview

        +

        file_preview

        No

        +

        No

        Boolean

        +

        Boolean

        Whether a dataset supports preview when it is queried. The options are as follows: - true: Preview is supported and the list of four dataset files is returned. - false: Preview is not supported. (Default value)

        +

        Whether a dataset supports preview when it is queried. The options are as follows:

        +
        • true: Preview is supported and the list of four dataset files is returned.
        • false: Preview is not supported. (Default value)

        limit

        +

        limit

        No

        +

        No

        Integer

        +

        Integer

        Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

        +

        Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

        offset

        +

        offset

        No

        +

        No

        Integer

        +

        Integer

        Start page of the paging list. The default value is 0.

        +

        Start page of the paging list. The default value is 0.

        order

        +

        order

        No

        +

        No

        String

        +

        String

        Sorting sequence of the query. The options are as follows: - asc: ascending order - desc: descending order (default value)

        +

        Sorting sequence of the query. The options are as follows:

        +
        • asc: ascending order
        • desc: descending order (default value)

        running_task_type

        +

        running_task_type

        No

        +

        No

        Integer

        +

        Integer

        Type of the running tasks (including initialization tasks) to be detected. The options are as follows: - 0: auto labeling - 1: pre-labeling - 2: export - 3: version switch - 4: manifest file export - 5: manifest file import - 6: version publishing - 7: auto grouping - 10: one-click model deployment (default value)

        +

        Type of the running tasks (including initialization tasks) to be detected. The options are as follows:

        +
        • 0: auto labeling
        • 1: pre-labeling
        • 2: export
        • 3: version switch
        • 4: manifest file export
        • 5: manifest file import
        • 6: version publishing
        • 7: auto grouping
        • 10: one-click model deployment (default value)

        search_content

        +

        search_content

        No

        +

        No

        String

        +

        String

        Fuzzy search keyword. By default, this parameter is left blank.

        +

        Fuzzy search keyword. By default, this parameter is left blank.

        sort_by

        +

        sort_by

        No

        +

        No

        String

        +

        String

        Sorting mode of the query. The options are as follows: - create_time: Sort by creation time. (Default value) - dataset_name: Sort by dataset name.

        +

        Sorting mode of the query. The options are as follows:

        +
        • create_time: Sort by creation time. (Default value)
        • dataset_name: Sort by dataset name.

        support_export

        +

        support_export

        No

        +

        No

        Boolean

        +

        Boolean

        Whether to filter datasets that can be exported only (including datasets of image classification, object detection, and custom format). If this parameter is left blank or the value is set to false, no filtering is performed. The options are as follows: - true: Filter datasets that can be exported only. - false: Do not filter datasets that can be exported only. (Default value)

        +

        Whether to filter datasets that can be exported only (including datasets of image classification, object detection, and custom format). If this parameter is left blank or the value is set to false, no filtering is performed. The options are as follows:

        +
        • true: Filter datasets that can be exported only.
        • false: Do not filter datasets that can be exported only. (Default value)

        train_evaluate_ratio

        +

        train_evaluate_ratio

        No

        +

        No

        String

        +

        String

        Version split ratio for dataset filtering. The numbers before and after the comma indicate the minimum and maximum split ratios, and the versions whose split ratios are within the range are filtered out, for example, 0.0,1.0. Note: If this parameter is left blank or unavailable, the system does not filter datasets based on the version split ratio by default.

        +

        Version split ratio for dataset filtering. The numbers before and after the comma indicate the minimum and maximum split ratios, and the versions whose split ratios are within the range are filtered out, for example, 0.0,1.0. Note: If this parameter is left blank or unavailable, the system does not filter datasets based on the version split ratio by default.

        version_format

        +

        version_format

        No

        +

        No

        Integer

        +

        Integer

        Dataset version format for dataset filtering. This parameter is used to filter datasets that meet the filter criteria. The options are as follows: - 0: default format - 1: CarbonData (supported only by table datasets) - 2: CSV

        +

        Dataset version format for dataset filtering. This parameter is used to filter datasets that meet the filter criteria. The options are as follows:

        +
        • 0: default format
        • 1: CarbonData (supported only by table datasets)
        • 2: CSV

        with_labels

        +

        with_labels

        No

        +

        No

        Boolean

        +

        Boolean

        Whether to return dataset labels. The options are as follows: - true: Return label information. - false: Do not return label information. (Default value)

        +

        Whether to return dataset labels. The options are as follows:

        +
        • true: Return label information.
        • false: Do not return label information. (Default value)

        workspace_id

        +

        workspace_id

        No

        +

        No

        String

        +

        String

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        +

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        -

        Request Parameters

        None

        +

        Request Parameters

        None

        -

        Response Parameters

        Status code: 200

        +

        Response Parameters

        Status code: 200

        -
        Table 3 Response body parameters

        Parameter

        +
        - - - - - - - - - - -
        Table 3 Response body parameters

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        datasets

        +

        datasets

        Array of DatasetAndFilePreview objects

        +

        Array of DatasetAndFilePreview objects

        Dataset list queried by page.

        +

        Dataset list queried by page.

        total_number

        +

        total_number

        Integer

        +

        Integer

        Total number of datasets.

        +

        Total number of datasets.

        workspaceId

        +

        workspaceId

        String

        +

        String

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        +

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        -
        Table 4 DatasetAndFilePreview

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 4 DatasetAndFilePreview

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        annotated_sample_count

        +

        annotated_sample_count

        Integer

        +

        Integer

        Number of labeled samples in a dataset.

        +

        Number of labeled samples in a dataset.

        annotated_sub_sample_count

        +

        annotated_sub_sample_count

        Integer

        +

        Integer

        Number of labeled subsamples.

        +

        Number of labeled subsamples.

        content_labeling

        +

        content_labeling

        Boolean

        +

        Boolean

        Whether to enable content labeling for the speech paragraph labeling dataset. This function is enabled by default.

        +

        Whether to enable content labeling for the speech paragraph labeling dataset. This function is enabled by default.

        create_time

        +

        create_time

        Long

        +

        Long

        Time when a dataset is created.

        +

        Time when a dataset is created.

        current_version_id

        +

        current_version_id

        String

        +

        String

        Current version ID of a dataset.

        +

        Current version ID of a dataset.

        current_version_name

        +

        current_version_name

        String

        +

        String

        Current version name of a dataset.

        +

        Current version name of a dataset.

        data_format

        +

        data_format

        String

        +

        String

        Data format.

        +

        Data format.

        data_sources

        +

        data_sources

        Array of DataSource objects

        +

        Array of DataSource objects

        Data source list.

        +

        Data source list.

        data_statistics

        +

        data_statistics

        Map<String,Object>

        +

        Map<String,Object>

        Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

        +

        Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

        data_update_time

        +

        data_update_time

        Long

        +

        Long

        Time when a sample and a label are updated.

        +

        Time when a sample and a label are updated.

        data_url

        +

        data_url

        String

        +

        String

        Data path for training.

        +

        Data path for training.

        dataset_format

        +

        dataset_format

        Integer

        +

        Integer

        Dataset format. The options are as follows: - 0: file - 1: table

        +

        Dataset format. The options are as follows:

        +
        • 0: file
        • 1: table

        dataset_id

        +

        dataset_id

        String

        +

        String

        Dataset ID.

        +

        Dataset ID.

        dataset_name

        +

        dataset_name

        String

        +

        String

        Dataset name.

        +

        Dataset name.

        dataset_tags

        +

        dataset_tags

        Array of strings

        +

        Array of strings

        Key identifier list of a dataset, for example, ["Image","Object detection"].

        +

        Key identifier list of a dataset, for example, ["Image","Object detection"].

        dataset_type

        +

        dataset_type

        Integer

        +

        Integer

        Dataset type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

        +

        Dataset type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet
        • 200: sound classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 400: table dataset
        • 600: video labeling
        • 900: custom format

        dataset_version_count

        +

        dataset_version_count

        Integer

        +

        Integer

        Version number of a dataset.

        +

        Version number of a dataset.

        deleted_sample_count

        +

        deleted_sample_count

        Integer

        +

        Integer

        Number of deleted samples.

        +

        Number of deleted samples.

        deletion_stats

        +

        deletion_stats

        Map<String,Integer>

        +

        Map<String,Integer>

        Deletion reason statistics.

        +

        Deletion reason statistics.

        description

        +

        description

        String

        +

        String

        Dataset description.

        +

        Dataset description.

        enterprise_project_id

        +

        enterprise_project_id

        String

        +

        String

        Enterprise project ID.

        +

        Enterprise project ID.

        exist_running_task

        +

        exist_running_task

        Boolean

        +

        Boolean

        Whether the dataset contains running (including initialization) tasks. The options are as follows: - true: The dataset contains running tasks. - false: The dataset does not contain running tasks.

        +

        Whether the dataset contains running (including initialization) tasks. The options are as follows:

        +
        • true: The dataset contains running tasks.
        • false: The dataset does not contain running tasks.

        exist_workforce_task

        +

        exist_workforce_task

        Boolean

        +

        Boolean

        Whether the dataset contains team labeling tasks. The options are as follows: - true: The dataset contains team labeling tasks. - false: The dataset does not contain team labeling tasks.

        +

        Whether the dataset contains team labeling tasks. The options are as follows:

        +
        • true: The dataset contains team labeling tasks.
        • false: The dataset does not contain team labeling tasks.

        feature_supports

        +

        feature_supports

        Array of strings

        +

        Array of strings

        List of features supported by the dataset. Currently, only the value 0 is supported, indicating that the OBS file size is limited.

        +

        List of features supported by the dataset. Currently, only the value 0 is supported, indicating that the OBS file size is limited.

        import_data

        +

        import_data

        Boolean

        +

        Boolean

        Whether to import data. The options are as follows: - true: Import data. - false: Do not import data.

        +

        Whether to import data. The options are as follows:

        +
        • true: Import data.
        • false: Do not import data.

        import_task_id

        +

        import_task_id

        String

        +

        String

        ID of an import task.

        +

        ID of an import task.

        inner_annotation_path

        +

        inner_annotation_path

        String

        +

        String

        Path for storing the labeling result of a dataset.

        +

        Path for storing the labeling result of a dataset.

        inner_data_path

        +

        inner_data_path

        String

        +

        String

        Path for storing the internal data of a dataset.

        +

        Path for storing the internal data of a dataset.

        inner_log_path

        +

        inner_log_path

        String

        +

        String

        Path for storing internal logs of a dataset.

        +

        Path for storing internal logs of a dataset.

        inner_task_path

        +

        inner_task_path

        String

        +

        String

        Path for internal task of a dataset.

        +

        Path for internal task of a dataset.

        inner_temp_path

        +

        inner_temp_path

        String

        +

        String

        Path for storing internal temporary files of a dataset.

        +

        Path for storing internal temporary files of a dataset.

        inner_work_path

        +

        inner_work_path

        String

        +

        String

        Output directory of a dataset.

        +

        Output directory of a dataset.

        label_task_count

        +

        label_task_count

        Integer

        +

        Integer

        Number of labeling tasks.

        +

        Number of labeling tasks.

        labels

        +

        labels

        Array of Label objects

        +

        Array of Label objects

        Dataset label list.

        +

        Dataset label list.

        loading_sample_count

        +

        loading_sample_count

        Integer

        +

        Integer

        Number of loading samples.

        +

        Number of loading samples.

        managed

        +

        managed

        Boolean

        +

        Boolean

        Whether a dataset is hosted. The options are as follows: - true: The dataset is hosted. - false: The dataset is not hosted.

        +

        Whether a dataset is hosted. The options are as follows:

        +
        • true: The dataset is hosted.
        • false: The dataset is not hosted.

        next_version_num

        +

        next_version_num

        Integer

        +

        Integer

        Number of next versions of a dataset.

        +

        Number of next versions of a dataset.

        running_tasks_id

        +

        running_tasks_id

        Array of strings

        +

        Array of strings

        ID list of running (including initialization) tasks.

        +

        ID list of running (including initialization) tasks.

        samples

        +

        samples

        Array of AnnotationFile objects

        +

        Array of AnnotationFile objects

        Sample list.

        +

        Sample list.

        schema

        +

        schema

        Array of Field objects

        +

        Array of Field objects

        Schema list.

        +

        Schema list.

        status

        +

        status

        Integer

        +

        Integer

        Dataset status. The options are as follows: - 0: creating dataset - 1: normal dataset - 2: deleting dataset - 3: deleted dataset - 4: abnormal dataset - 5: synchronizing dataset - 6: releasing dataset - 7: dataset in version switching - 8: importing dataset

        +

        Dataset status. The options are as follows:

        +
        • 0: creating dataset
        • 1: normal dataset
        • 2: deleting dataset
        • 3: deleted dataset
        • 4: abnormal dataset
        • 5: synchronizing dataset
        • 6: releasing dataset
        • 7: dataset in version switching
        • 8: importing dataset

        third_path

        +

        third_path

        String

        +

        String

        Third-party path.

        +

        Third-party path.

        total_sample_count

        +

        total_sample_count

        Integer

        +

        Integer

        Total number of dataset samples.

        +

        Total number of dataset samples.

        total_sub_sample_count

        +

        total_sub_sample_count

        Integer

        +

        Integer

        Total number of subsamples generated from the parent samples. For example, the total number of key frame images extracted from the video labeling dataset is that of subsamples.

        +

        Total number of subsamples generated from the parent samples. For example, the total number of key frame images extracted from the video labeling dataset is that of subsamples.

        unconfirmed_sample_count

        +

        unconfirmed_sample_count

        Integer

        +

        Integer

        Number of auto labeling samples to be confirmed.

        +

        Number of auto labeling samples to be confirmed.

        update_time

        +

        update_time

        Long

        +

        Long

        Time when a dataset is updated.

        +

        Time when a dataset is updated.

        versions

        +

        versions

        Array of DatasetVersion objects

        +

        Array of DatasetVersion objects

        Dataset version information. Currently, only the current version information of a dataset is recorded.

        +

        Dataset version information. Currently, only the current version information of a dataset is recorded.

        work_path

        +

        work_path

        String

        +

        String

        Output dataset path, which is used to store output files such as label files. The path is an OBS path in the format of /Bucket name/File path. For example: /obs-bucket.

        +

        Output dataset path, which is used to store output files such as label files. The path is an OBS path in the format of /Bucket name/File path. For example: /obs-bucket.

        work_path_type

        +

        work_path_type

        Integer

        +

        Integer

        Type of the dataset output path. The options are as follows: - 0: OBS bucket (default value)

        +

        Type of the dataset output path. The options are as follows:

        +
        • 0: OBS bucket (default value)

        workforce_descriptor

        +

        workforce_descriptor

        WorkforceDescriptor object

        +

        WorkforceDescriptor object

        Team labeling information.

        +

        Team labeling information.

        workforce_task_count

        +

        workforce_task_count

        Integer

        +

        Integer

        Number of team labeling tasks of a dataset.

        +

        Number of team labeling tasks of a dataset.

        workspace_id

        +

        workspace_id

        String

        +

        String

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        +

        Workspace ID. If no workspace is created, the default value is 0. If a workspace is created and used, use the actual value.

        -
        Table 5 DataSource

        Parameter

        +
        - - - - - - - - - - - - - - - - -
        Table 5 DataSource

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        data_path

        +

        data_path

        String

        +

        String

        Data source path.

        +

        Data source path.

        data_type

        +

        data_type

        Integer

        +

        Integer

        Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

        +

        Data type. The options are as follows:

        +
        • 0: OBS bucket (default value)
        • 1: GaussDB(DWS)
        • 2: DLI
        • 3: RDS
        • 4: MRS
        • 5: AI Gallery
        • 6: Inference service

        schema_maps

        +

        schema_maps

        Array of SchemaMap objects

        +

        Array of SchemaMap objects

        Schema mapping information corresponding to the table data.

        +

        Schema mapping information corresponding to the table data.

        source_info

        +

        source_info

        SourceInfo object

        +

        SourceInfo object

        Information required for importing a table data source.

        +

        Information required for importing a table data source.

        with_column_header

        +

        with_column_header

        Boolean

        +

        Boolean

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

        +

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

        +
        • true: The first row in the file is the column name.
        • false: The first row in the file is not the column name.
        -
        Table 6 SchemaMap

        Parameter

        +
        - - - - - - - -
        Table 6 SchemaMap

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        dest_name

        +

        dest_name

        String

        +

        String

        Name of the destination column.

        +

        Name of the destination column.

        src_name

        +

        src_name

        String

        +

        String

        Name of the source column.

        +

        Name of the source column.

        -
        Table 7 SourceInfo

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 7 SourceInfo

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        cluster_id

        +

        cluster_id

        String

        +

        String

        ID of an MRS cluster.

        +

        ID of an MRS cluster.

        cluster_mode

        +

        cluster_mode

        String

        +

        String

        Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

        +

        Running mode of an MRS cluster. The options are as follows:

        +
        • 0: normal cluster
        • 1: security cluster

        cluster_name

        +

        cluster_name

        String

        +

        String

        Name of an MRS cluster.

        +

        Name of an MRS cluster.

        database_name

        +

        database_name

        String

        +

        String

        Name of the database to which the table dataset is imported.

        +

        Name of the database to which the table dataset is imported.

        input

        +

        input

        String

        +

        String

        HDFS path of a table dataset.

        +

        HDFS path of a table dataset.

        ip

        +

        ip

        String

        +

        String

        IP address of your GaussDB(DWS) cluster.

        +

        IP address of your GaussDB(DWS) cluster.

        port

        +

        port

        String

        +

        String

        Port number of your GaussDB(DWS) cluster.

        +

        Port number of your GaussDB(DWS) cluster.

        queue_name

        +

        queue_name

        String

        +

        String

        DLI queue name of a table dataset.

        +

        DLI queue name of a table dataset.

        subnet_id

        +

        subnet_id

        String

        +

        String

        Subnet ID of an MRS cluster.

        +

        Subnet ID of an MRS cluster.

        table_name

        +

        table_name

        String

        +

        String

        Name of the table to which a table dataset is imported.

        +

        Name of the table to which a table dataset is imported.

        user_name

        +

        user_name

        String

        +

        String

        Username, which is mandatory for GaussDB(DWS) data.

        +

        Username, which is mandatory for GaussDB(DWS) data.

        user_password

        +

        user_password

        String

        +

        String

        User password, which is mandatory for GaussDB(DWS) data.

        +

        User password, which is mandatory for GaussDB(DWS) data.

        vpc_id

        +

        vpc_id

        String

        +

        String

        ID of the VPC where an MRS cluster resides.

        +

        ID of the VPC where an MRS cluster resides.

        -
        Table 8 Label

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 8 Label

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        attributes

        +

        attributes

        Array of LabelAttribute objects

        +

        Array of LabelAttribute objects

        Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

        +

        Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

        name

        +

        name

        String

        +

        String

        Label name.

        +

        Label name.

        property

        +

        property

        LabelProperty object

        +

        LabelProperty object

        Basic attribute key-value pair of a label, such as color and shortcut keys.

        +

        Basic attribute key-value pair of a label, such as color and shortcut keys.

        type

        +

        type

        Integer

        +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet relationship
        • 103: text triplet entity
        • 200: speech classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 600: video classification
        -
        Table 9 LabelProperty

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - -
        Table 9 LabelProperty

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:color

        +

        @modelarts:color

        String

        +

        String

        Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

        +

        Default attribute: Label color, which is a hexadecimal code of the color. By default, this parameter is left blank. Example: #FFFFF0.

        @modelarts:default_shape

        +

        @modelarts:default_shape

        String

        +

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle
        • polygon: polygon
        • circle: circle
        • line: straight line
        • dashed: dotted line
        • point: point
        • polyline: polyline

        @modelarts:from_type

        +

        @modelarts:from_type

        String

        +

        String

        Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

        +

        Default attribute: Type of the head entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

        @modelarts:rename_to

        +

        @modelarts:rename_to

        String

        +

        String

        Default attribute: The new name of the label.

        +

        Default attribute: The new name of the label.

        @modelarts:shortcut

        +

        @modelarts:shortcut

        String

        +

        String

        Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

        +

        Default attribute: Label shortcut key. By default, this parameter is left blank. For example: D.

        @modelarts:to_type

        +

        @modelarts:to_type

        String

        +

        String

        Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

        +

        Default attribute: Type of the tail entity in the triplet relationship label. This attribute must be specified when a relationship label is created. This parameter is used only for the text triplet dataset.

        -
        Table 10 AnnotationFile

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 10 AnnotationFile

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        create_time

        +

        create_time

        Long

        +

        Long

        Time when a sample is created.

        +

        Time when a sample is created.

        dataset_id

        +

        dataset_id

        String

        +

        String

        Dataset ID.

        +

        Dataset ID.

        depth

        +

        depth

        Integer

        +

        Integer

        Number of image sample channels.

        +

        Number of image sample channels.

        file_Name

        +

        file_Name

        String

        +

        String

        Sample name.

        +

        Sample name.

        file_id

        +

        file_id

        String

        +

        String

        Sample ID.

        +

        Sample ID.

        file_type

        +

        file_type

        String

        +

        String

        File type.

        +

        File type.

        height

        +

        height

        Integer

        +

        Integer

        Image sample height.

        +

        Image sample height.

        size

        +

        size

        Long

        +

        Long

        Image sample size.

        +

        Image sample size.

        tags

        +

        tags

        Map<String,String>

        +

        Map<String,String>

        Label information of a sample.

        +

        Label information of a sample.

        url

        +

        url

        String

        +

        String

        OBS address of the preview sample.

        +

        OBS address of the preview sample.

        width

        +

        width

        Integer

        +

        Integer

        Image sample width.

        +

        Image sample width.

        -
        Table 11 Field

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 11 Field

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        description

        +

        description

        String

        +

        String

        Schema description.

        +

        Schema description.

        name

        +

        name

        String

        +

        String

        Schema name.

        +

        Schema name.

        schema_id

        +

        schema_id

        Integer

        +

        Integer

        Schema ID.

        +

        Schema ID.

        type

        +

        type

        String

        +

        String

        Schema value type.

        +

        Schema value type.

        -
        Table 12 DatasetVersion

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 12 DatasetVersion

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        add_sample_count

        +

        add_sample_count

        Integer

        +

        Integer

        Number of added samples.

        +

        Number of added samples.

        annotated_sample_count

        +

        annotated_sample_count

        Integer

        +

        Integer

        Number of samples with labeled versions.

        +

        Number of samples with labeled versions.

        annotated_sub_sample_count

        +

        annotated_sub_sample_count

        Integer

        +

        Integer

        Number of labeled subsamples.

        +

        Number of labeled subsamples.

        clear_hard_property

        +

        clear_hard_property

        Boolean

        +

        Boolean

        Whether to clear hard example properties during release. The options are as follows: - true: Clear hard example properties. (Default value) - false: Do not clear hard example properties.

        +

        Whether to clear hard example properties during release. The options are as follows:

        +
        • true: Clear hard example properties. (Default value)
        • false: Do not clear hard example properties.

        code

        +

        code

        String

        +

        String

        Status code of a preprocessing task such as rotation and cropping.

        +

        Status code of a preprocessing task such as rotation and cropping.

        create_time

        +

        create_time

        Long

        +

        Long

        Time when a version is created.

        +

        Time when a version is created.

        crop

        +

        crop

        Boolean

        +

        Boolean

        Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows: - true: Crop the image. - false: Do not crop the image. (Default value)

        +

        Whether to crop the image. This field is valid only for the object detection dataset whose labeling box is in the rectangle shape. The options are as follows:

        +
        • true: Crop the image.
        • false: Do not crop the image. (Default value)

        crop_path

        +

        crop_path

        String

        +

        String

        Path for storing cropped files.

        +

        Path for storing cropped files.

        crop_rotate_cache_path

        +

        crop_rotate_cache_path

        String

        +

        String

        Temporary directory for executing the rotation and cropping task.

        +

        Temporary directory for executing the rotation and cropping task.

        data_path

        +

        data_path

        String

        +

        String

        Path for storing data.

        +

        Path for storing data.

        data_statistics

        +

        data_statistics

        Map<String,Object>

        +

        Map<String,Object>

        Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

        +

        Sample statistics on a dataset, including the statistics on sample metadata in JSON format.

        data_validate

        +

        data_validate

        Boolean

        +

        Boolean

        Whether data is validated by the validation algorithm before release. The options are as follows: - true: The data has been validated. - false: The data has not been validated.

        +

        Whether data is validated by the validation algorithm before release. The options are as follows:

        +
        • true: The data has been validated.
        • false: The data has not been validated.

        deleted_sample_count

        +

        deleted_sample_count

        Integer

        +

        Integer

        Number of deleted samples.

        +

        Number of deleted samples.

        deletion_stats

        +

        deletion_stats

        Map<String,Integer>

        +

        Map<String,Integer>

        Deletion reason statistics.

        +

        Deletion reason statistics.

        description

        +

        description

        String

        +

        String

        Description of a version.

        +

        Description of a version.

        export_images

        +

        export_images

        Boolean

        +

        Boolean

        Whether to export images to the version output directory during release. The options are as follows: - true: Export images to the version output directory. - false: Do not export images to the version output directory. (Default value)

        +

        Whether to export images to the version output directory during release. The options are as follows:

        +
        • true: Export images to the version output directory.
        • false: Do not export images to the version output directory. (Default value)

        extract_serial_number

        +

        extract_serial_number

        Boolean

        +

        Boolean

        Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows: - true: Parse the subsample number. - false: Do not parse the subsample number. (Default value)

        +

        Whether to parse the subsample number during release. The field is valid for the healthcare dataset. The options are as follows:

        +
        • true: Parse the subsample number.
        • false: Do not parse the subsample number. (Default value)

        include_dataset_data

        +

        include_dataset_data

        Boolean

        +

        Boolean

        Whether to include the source data of a dataset during release. The options are as follows: - true: The source data of a dataset is included. - false: The source data of a dataset is not included.

        +

        Whether to include the source data of a dataset during release. The options are as follows:

        +
        • true: The source data of a dataset is included.
        • false: The source data of a dataset is not included.

        is_current

        +

        is_current

        Boolean

        +

        Boolean

        Whether the current dataset version is used. The options are as follows: - true: The current dataset version is used. - false: The current dataset version is not used.

        +

        Whether the current dataset version is used. The options are as follows:

        +
        • true: The current dataset version is used.
        • false: The current dataset version is not used.

        label_stats

        +

        label_stats

        Array of LabelStats objects

        +

        Array of LabelStats objects

        Label statistics list of a released version.

        +

        Label statistics list of a released version.

        label_type

        +

        label_type

        String

        +

        String

        Label type of a released version. The options are as follows: - multi: Multi-label samples are included. - single: All samples are single-labeled.

        +

        Label type of a released version. The options are as follows:

        +
        • multi: Multi-label samples are included.
        • single: All samples are single-labeled.

        manifest_cache_input_path

        +

        manifest_cache_input_path

        String

        +

        String

        Input path for the manifest file cache during version release.

        +

        Input path for the manifest file cache during version release.

        manifest_path

        +

        manifest_path

        String

        +

        String

        Path for storing the manifest file with the released version.

        +

        Path for storing the manifest file with the released version.

        message

        +

        message

        String

        +

        String

        Task information recorded during release (for example, error information).

        +

        Task information recorded during release (for example, error information).

        modified_sample_count

        +

        modified_sample_count

        Integer

        +

        Integer

        Number of modified samples.

        +

        Number of modified samples.

        previous_annotated_sample_count

        +

        previous_annotated_sample_count

        Integer

        +

        Integer

        Number of labeled samples of parent versions.

        +

        Number of labeled samples of parent versions.

        previous_total_sample_count

        +

        previous_total_sample_count

        Integer

        +

        Integer

        Total samples of parent versions.

        +

        Total samples of parent versions.

        previous_version_id

        +

        previous_version_id

        String

        +

        String

        Parent version ID

        +

        Parent version ID

        processor_task_id

        +

        processor_task_id

        String

        +

        String

        ID of a preprocessing task such as rotation and cropping.

        +

        ID of a preprocessing task such as rotation and cropping.

        processor_task_status

        +

        processor_task_status

        Integer

        +

        Integer

        Status of a preprocessing task such as rotation and cropping. The options are as follows: - 0: initialized - 1: running - 2: completed - 3: failed - 4: stopped - 5: timeout - 6: deletion failed - 7: stop failed

        +

        Status of a preprocessing task such as rotation and cropping. The options are as follows:

        +
        • 0: initialized
        • 1: running
        • 2: completed
        • 3: failed
        • 4: stopped
        • 5: timeout
        • 6: deletion failed
        • 7: stop failed

        remove_sample_usage

        +

        remove_sample_usage

        Boolean

        +

        Boolean

        Whether to clear the existing usage information of a dataset during release. The options are as follows: - true: Clear the existing usage information of a dataset. (Default value) - false: Do not clear the existing usage information of a dataset.

        +

        Whether to clear the existing usage information of a dataset during release. The options are as follows:

        +
        • true: Clear the existing usage information of a dataset. (Default value)
        • false: Do not clear the existing usage information of a dataset.

        rotate

        +

        rotate

        Boolean

        +

        Boolean

        Whether to rotate the image. The options are as follows: - true: Rotate the image. - false: Do not rotate the image. (Default value)

        +

        Whether to rotate the image. The options are as follows:

        +
        • true: Rotate the image.
        • false: Do not rotate the image. (Default value)

        rotate_path

        +

        rotate_path

        String

        +

        String

        Path for storing the rotated file.

        +

        Path for storing the rotated file.

        sample_state

        +

        sample_state

        String

        +

        String

        Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

        +

        Sample status. The options are as follows:

        +
        • ALL: labeled
        • NONE: unlabeled
        • UNCHECK: pending acceptance
        • ACCEPTED: accepted
        • REJECTED: rejected
        • UNREVIEWED: pending review
        • REVIEWED: reviewed
        • WORKFORCE_SAMPLED: sampled
        • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
        • WORKFORCE_SAMPLED_CHECKED: sampling checked
        • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
        • WORKFORCE_SAMPLED_REJECTED: sampling rejected
        • AUTO_ANNOTATION: to be confirmed

        status

        +

        status

        Integer

        +

        Integer

        Status of a dataset version. The options are as follows: - 0: creating - 1: running - 2: deleting - 3: deleted - 4: error

        +

        Status of a dataset version. The options are as follows:

        +
        • 0: creating
        • 1: running
        • 2: deleting
        • 3: deleted
        • 4: error

        tags

        +

        tags

        Array of strings

        +

        Array of strings

        Key identifier list of the dataset. The labeling type is used as the default label when the labeling task releases a version. For example, ["Image","Object detection"].

        +

        Key identifier list of the dataset. The labeling type is used as the default label when the labeling task releases a version. For example, ["Image","Object detection"].

        task_type

        +

        task_type

        Integer

        +

        Integer

        Labeling task type of the released version, which is the same as the dataset type.

        +

        Labeling task type of the released version, which is the same as the dataset type.

        total_sample_count

        +

        total_sample_count

        Integer

        +

        Integer

        Total number of version samples.

        +

        Total number of version samples.

        total_sub_sample_count

        +

        total_sub_sample_count

        Integer

        +

        Integer

        Total number of subsamples generated from the parent samples.

        +

        Total number of subsamples generated from the parent samples.

        train_evaluate_sample_ratio

        +

        train_evaluate_sample_ratio

        String

        +

        String

        Split training and verification ratio during version release. The default value is 1.00, indicating that all labeled samples are split into the training set.

        +

        Split training and verification ratio during version release. The default value is 1.00, indicating that all labeled samples are split into the training set.

        update_time

        +

        update_time

        Long

        +

        Long

        Time when a version is updated.

        +

        Time when a version is updated.

        version_format

        +

        version_format

        String

        +

        String

        Format of a dataset version. The options are as follows: - Default: default format - CarbonData: CarbonData (supported only by table datasets) - CSV: CSV

        +

        Format of a dataset version. The options are as follows:

        +
        • Default: default format
        • CarbonData: CarbonData (supported only by table datasets)
        • CSV: CSV

        version_id

        +

        version_id

        String

        +

        String

        Dataset version ID.

        +

        Dataset version ID.

        version_name

        +

        version_name

        String

        +

        String

        Dataset version name.

        +

        Dataset version name.

        with_column_header

        +

        with_column_header

        Boolean

        +

        Boolean

        Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the released CSV file is a column name. - false: The first row in the released CSV file is not a column name.

        +

        Whether the first row in the released CSV file is a column name. This field is valid for the table dataset. The options are as follows:

        +
        • true: The first row in the released CSV file is a column name.
        • false: The first row in the released CSV file is not a column name.
        -
        Table 13 LabelStats

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - -
        Table 13 LabelStats

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        attributes

        +

        attributes

        Array of LabelAttribute objects

        +

        Array of LabelAttribute objects

        Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

        +

        Multi-dimensional attribute of a label. For example, if the label is music, attributes such as style and artist may be included.

        count

        +

        count

        Integer

        +

        Integer

        Number of labels.

        +

        Number of labels.

        name

        +

        name

        String

        +

        String

        Label name.

        +

        Label name.

        property

        +

        property

        LabelProperty object

        +

        LabelProperty object

        Basic attribute key-value pair of a label, such as color and shortcut keys.

        +

        Basic attribute key-value pair of a label, such as color and shortcut keys.

        sample_count

        +

        sample_count

        Integer

        +

        Integer

        Number of samples containing the label.

        +

        Number of samples containing the label.

        type

        +

        type

        Integer

        +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet relationship
        • 103: text triplet entity
        • 200: speech classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 600: video classification
        -
        Table 14 LabelAttribute

        Parameter

        +
        - - - - - - - - - - - - - - - - -
        Table 14 LabelAttribute

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        default_value

        +

        default_value

        String

        +

        String

        Default value of a label attribute.

        +

        Default value of a label attribute.

        id

        +

        id

        String

        +

        String

        Label attribute ID.

        +

        Label attribute ID.

        name

        +

        name

        String

        +

        String

        Label attribute name.

        +

        Label attribute name.

        type

        +

        type

        String

        +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text
        • select: single-choice drop-down list

        values

        +

        values

        Array of LabelAttributeValue objects

        +

        Array of LabelAttributeValue objects

        List of label attribute values.

        +

        List of label attribute values.

        -
        Table 15 LabelAttributeValue

        Parameter

        +
        - - - - - - - -
        Table 15 LabelAttributeValue

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        id

        +

        id

        String

        +

        String

        Label attribute value ID.

        +

        Label attribute value ID.

        value

        +

        value

        String

        +

        String

        Label attribute value.

        +

        Label attribute value.

        -
        Table 16 WorkforceDescriptor

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 16 WorkforceDescriptor

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        current_task_id

        +

        current_task_id

        String

        +

        String

        ID of a team labeling task.

        +

        ID of a team labeling task.

        current_task_name

        +

        current_task_name

        String

        +

        String

        Name of a team labeling task.

        +

        Name of a team labeling task.

        reject_num

        +

        reject_num

        Integer

        +

        Integer

        Number of rejected samples.

        +

        Number of rejected samples.

        repetition

        +

        repetition

        Integer

        +

        Integer

        Number of persons who label each sample. The minimum value is 1.

        +

        Number of persons who label each sample. The minimum value is 1.

        is_synchronize_auto_labeling_data

        +

        is_synchronize_auto_labeling_data

        Boolean

        +

        Boolean

        Whether to synchronously update auto labeling data. The options are as follows: - true: Update auto labeling data synchronously. - false: Do not update auto labeling data synchronously.

        +

        Whether to synchronously update auto labeling data. The options are as follows:

        +
        • true: Update auto labeling data synchronously.
        • false: Do not update auto labeling data synchronously.

        is_synchronize_data

        +

        is_synchronize_data

        Boolean

        +

        Boolean

        Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows: - true: Synchronize updated data to team members. - false: Do not synchronize updated data to team members.

        +

        Whether to synchronize updated data, such as uploading files, synchronizing data sources, and assigning imported unlabeled files to team members. The options are as follows:

        +
        • true: Synchronize updated data to team members.
        • false: Do not synchronize updated data to team members.

        workers

        +

        workers

        Array of Worker objects

        +

        Array of Worker objects

        List of labeling team members.

        +

        List of labeling team members.

        workforce_id

        +

        workforce_id

        String

        +

        String

        ID of a labeling team.

        +

        ID of a labeling team.

        workforce_name

        +

        workforce_name

        String

        +

        String

        Name of a labeling team.

        +

        Name of a labeling team.

        -
        Table 17 Worker

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 17 Worker

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        create_time

        +

        create_time

        Long

        +

        Long

        Creation time.

        +

        Creation time.

        description

        +

        description

        String

        +

        String

        Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

        +

        Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

        email

        +

        email

        String

        +

        String

        Email address of a labeling team member.

        +

        Email address of a labeling team member.

        role

        +

        role

        Integer

        +

        Integer

        Role. The options are as follows: - 0: labeling personnel - 1: reviewer - 2: team administrator - 3: dataset owner

        +

        Role. The options are as follows:

        +
        • 0: labeling personnel
        • 1: reviewer
        • 2: team administrator
        • 3: dataset owner

        status

        +

        status

        Integer

        +

        Integer

        Current login status of a labeling team member. The options are as follows: - 0: The invitation email has not been sent. - 1: The invitation email has been sent but the user has not logged in. - 2: The user has logged in. - 3: The labeling team member has been deleted.

        +

        Current login status of a labeling team member. The options are as follows:

        +
        • 0: The invitation email has not been sent.
        • 1: The invitation email has been sent but the user has not logged in.
        • 2: The user has logged in.
        • 3: The labeling team member has been deleted.

        update_time

        +

        update_time

        Long

        +

        Long

        Update time.

        +

        Update time.

        worker_id

        +

        worker_id

        String

        +

        String

        ID of a labeling team member.

        +

        ID of a labeling team member.

        workforce_id

        +

        workforce_id

        String

        +

        String

        ID of a labeling team.

        +

        ID of a labeling team.

        -

        Example Requests

        Querying the Dataset List

        -
        GET https://{endpoint}/v2/{project_id}/datasets?offset=0&limit=10&sort_by=create_time&order=desc&dataset_type=0&file_preview=true
        +

        Example Requests

        Querying the Dataset List

        +
        GET https://{endpoint}/v2/{project_id}/datasets?offset=0&limit=10&sort_by=create_time&order=desc&dataset_type=0&file_preview=true
        -

        Example Responses

        Status code: 200

        -

        OK

        -
        {
        +

        Example Responses

        Status code: 200

        +

        OK

        +
        {
           "total_number" : 1,
           "datasets" : [ {
             "dataset_id" : "gfghHSokody6AJigS5A",
        @@ -1634,66 +1677,66 @@
             "dataset_version" : "v1",
             "content_labeling" : true,
             "samples" : [ {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/15.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=tuUo9jl6lqoMKAwNBz5g8dxO%2FdE%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/15.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=tuUo9jl6lqoMKAwNBz5g8dxO%2FdE%3D",
               "create_time" : 1605690596035
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/8.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=NITOdBnkUXtdnKuEgDzZpkQzNfM%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/8.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=NITOdBnkUXtdnKuEgDzZpkQzNfM%3D",
               "create_time" : 1605690596046
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/9.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=%2BwUo1BL38%2F2d7p7anPi4fNzm1VU%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/9.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=%2BwUo1BL38%2F2d7p7anPi4fNzm1VU%3D",
               "create_time" : 1605690596050
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/7.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=tOrHfcWo%2FEJ0wRzfi1M5Wk2MrXg%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/7.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=tOrHfcWo%2FEJ0wRzfi1M5Wk2MrXg%3D",
               "create_time" : 1605690596043
             } ],
             "files" : [ {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/15.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=tuUo9jl6lqoMKAwNBz5g8dxO%2FdE%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/15.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=tuUo9jl6lqoMKAwNBz5g8dxO%2FdE%3D",
               "create_time" : 1605690596035
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/8.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=NITOdBnkUXtdnKuEgDzZpkQzNfM%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/8.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=NITOdBnkUXtdnKuEgDzZpkQzNfM%3D",
               "create_time" : 1605690596046
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/9.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=%2BwUo1BL38%2F2d7p7anPi4fNzm1VU%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/9.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=%2BwUo1BL38%2F2d7p7anPi4fNzm1VU%3D",
               "create_time" : 1605690596050
             }, {
        -      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/7.jpg?AccessKeyId=vprCCTY1NmHudlvC0bXr&Expires=1606100112&Signature=tOrHfcWo%2FEJ0wRzfi1M5Wk2MrXg%3D",
        +      "url" : "https://test-obs.obs.xxx.com:443/classify/input/catDog4/7.jpg?AccessKeyId=vprCCTxxxxxxxxxxbXr&Expires=1606100112&Signature=tOrHfcWo%2FEJ0wRzfi1M5Wk2MrXg%3D",
               "create_time" : 1605690596043
             } ]
           } ]
         }
        -

        Status Codes

        -
        - - - - - @@ -371,7 +395,10 @@ - - @@ -156,7 +167,10 @@ - -

        Status Code

        +

        Status Codes

        +
        - - - - - - - - -

        Status Code

        Description

        +

        Description

        200

        +

        200

        OK

        +

        OK

        401

        +

        401

        Unauthorized

        +

        Unauthorized

        403

        +

        403

        Forbidden

        +

        Forbidden

        404

        +

        404

        Not Found

        +

        Not Found

        -

        Error Codes

        See Error Codes.

        +

        Error Codes

        See Error Codes.

        diff --git a/docs/modelarts/api-ref/ListImportTasks.html b/docs/modelarts/api-ref/ListImportTasks.html index 89007d23c..46a1b4972 100644 --- a/docs/modelarts/api-ref/ListImportTasks.html +++ b/docs/modelarts/api-ref/ListImportTasks.html @@ -181,14 +181,20 @@

        String

        OBS path or manifest path to be imported. - When importing a manifest file, ensure that the path is accurate to the manifest file.- When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

        +

        OBS path or manifest path to be imported.

        +
        • When importing a manifest file, ensure that the path is accurate to the manifest file.

          +
        • When a path is imported as a directory, the dataset type can only support image classification, object detection, text classification, or sound classification.

          +

        import_type

        Integer

        Import mode. The options are as follows: - 0: Import by directory. - 1: Import by manifest file.

        +

        Import mode. The options are as follows:

        +
        • 0: Import by directory.

          +
        • 1: Import by manifest file.

          +

        imported_sample_count

        @@ -223,7 +229,14 @@

        String

        Status of an import task. The options are as follows: - QUEUING: queuing - STARTING: execution started - RUNNING: running - COMPLETED: completed - FAILED: failed - NOT_EXIST: not found

        +

        Status of an import task. The options are as follows:

        +
        • QUEUING: queuing

          +
        • STARTING: execution started

          +
        • RUNNING: running

          +
        • COMPLETED: completed

          +
        • FAILED: failed

          +
        • NOT_EXIST: not found

          +

        task_id

        @@ -298,7 +311,15 @@

        Integer

        Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

        +

        Data type. The options are as follows:

        +
        • 0: OBS bucket (default value)

          +
        • 1: GaussDB(DWS)

          +
        • 2: DLI

          +
        • 3: RDS

          +
        • 4: MRS

          +
        • 5: AI Gallery

          +
        • 6: Inference service

          +

        schema_maps

        @@ -319,7 +340,10 @@

        Boolean

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

        +

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

        +
        • true: The first row in the file is the column name.

          +
        • false: The first row in the file is not the column name.

          +

        String

        Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

        +

        Running mode of an MRS cluster. The options are as follows:

        +
        • 0: normal cluster

          +
        • 1: security cluster

          +

        cluster_name

        diff --git a/docs/modelarts/api-ref/ListLabels.html b/docs/modelarts/api-ref/ListLabels.html index a86b60bf0..8d7b6e774 100644 --- a/docs/modelarts/api-ref/ListLabels.html +++ b/docs/modelarts/api-ref/ListLabels.html @@ -116,7 +116,18 @@

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        @@ -215,7 +229,15 @@

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        @@ -307,7 +329,7 @@
        diff --git a/docs/modelarts/api-ref/ListSamples.html b/docs/modelarts/api-ref/ListSamples.html index cdb92cf77..fa9cb69c1 100644 --- a/docs/modelarts/api-ref/ListSamples.html +++ b/docs/modelarts/api-ref/ListSamples.html @@ -1,719 +1,726 @@

        Querying the Sample List

        -

        Function

        This API is used to query the sample list by page.

        +

        Function

        This API is used to query the sample list by page.

        -

        URI

        GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        +

        URI

        GET /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        -
        Table 1 Path Parameters

        Parameter

        +
        - - - - - - - - - - -
        Table 1 Path Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        dataset_id

        +

        dataset_id

        Yes

        +

        Yes

        String

        +

        String

        Dataset ID.

        +

        Dataset ID.

        project_id

        +

        project_id

        Yes

        +

        Yes

        String

        +

        String

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        +

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        -
        Table 2 Query Parameters

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 2 Query Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        email

        +

        email

        No

        +

        No

        String

        +

        String

        Email address of a labeling team member.

        +

        Email address of a labeling team member.

        high_score

        +

        high_score

        No

        +

        No

        String

        +

        String

        Upper confidence limit. The default value is 1.

        +

        Upper confidence limit. The default value is 1.

        label_name

        +

        label_name

        No

        +

        No

        String

        +

        String

        Label name.

        +

        Label name.

        label_type

        +

        label_type

        No

        +

        No

        Integer

        +

        Integer

        Labeling type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet - 200: sound classification - 201: speech content - 202: speech paragraph labeling - 400: table dataset - 600: video labeling - 900: custom format

        +

        Labeling type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet
        • 200: sound classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 400: table dataset
        • 600: video labeling
        • 900: custom format

        limit

        +

        limit

        No

        +

        No

        Integer

        +

        Integer

        Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

        +

        Maximum number of records returned on each page. The value ranges from 1 to 100. The default value is 10.

        locale

        +

        locale

        No

        +

        No

        String

        +

        String

        Language. The options are as follows: - en-us: English (default value) - zh-cn: Chinese

        +

        Language. The options are as follows:

        +
        • en-us: English (default value)
        • zh-cn: Chinese

        low_score

        +

        low_score

        No

        +

        No

        String

        +

        String

        Lower confidence limit. The default value is 0.

        +

        Lower confidence limit. The default value is 0.

        offset

        +

        offset

        No

        +

        No

        Integer

        +

        Integer

        Start page of the paging list. The default value is 0.

        +

        Start page of the paging list. The default value is 0.

        order

        +

        order

        No

        +

        No

        String

        +

        String

        Sorting sequence of the query. The options are as follows: - asc: ascending order - desc: descending order (default value)

        +

        Sorting sequence of the query. The options are as follows:

        +
        • asc: ascending order
        • desc: descending order (default value)

        preview

        +

        preview

        No

        +

        No

        Boolean

        +

        Boolean

        Whether to support preview. The options are as follows: - true: Preview is supported. - false: Preview is not supported.

        +

        Whether to support preview. The options are as follows:

        +
        • true: Preview is supported.
        • false: Preview is not supported.

        process_parameter

        +

        process_parameter

        No

        +

        No

        String

        +

        String

        Image resizing setting, which is the same as the OBS resizing setting. For details, see . For example, image/resize,m_lfit,h_200 indicates that the target image is resized proportionally and the height is set to 200 pixels.

        +

        Image resizing setting, which is the same as the OBS resizing setting. For details, see . For example, image/resize,m_lfit,h_200 indicates that the target image is resized proportionally and the height is set to 200 pixels.

        sample_state

        +

        sample_state

        No

        +

        No

        String

        +

        String

        Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

        +

        Sample status. The options are as follows:

        +
        • ALL: labeled
        • NONE: unlabeled
        • UNCHECK: pending acceptance
        • ACCEPTED: accepted
        • REJECTED: rejected
        • UNREVIEWED: pending review
        • REVIEWED: reviewed
        • WORKFORCE_SAMPLED: sampled
        • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
        • WORKFORCE_SAMPLED_CHECKED: sampling checked
        • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
        • WORKFORCE_SAMPLED_REJECTED: sampling rejected
        • AUTO_ANNOTATION: to be confirmed

        sample_type

        +

        sample_type

        No

        +

        No

        Integer

        +

        Integer

        Sample file type. The options are as follows: - 0: image - 1: text - 2: audio - 4: table - 6: video - 9: custom format (default value)

        +

        Sample file type. The options are as follows:

        +
        • 0: image
        • 1: text
        • 2: audio
        • 4: table
        • 6: video
        • 9: custom format (default value)

        search_conditions

        +

        search_conditions

        No

        +

        No

        String

        +

        String

        Multi-dimensional search condition after URL encoding. The relationship between multiple search conditions is AND.

        +

        Multi-dimensional search condition after URL encoding. The relationship between multiple search conditions is AND.

        version_id

        +

        version_id

        No

        +

        No

        String

        +

        String

        Dataset version ID.

        +

        Dataset version ID.

        -

        Request Parameters

        None

        +

        Request Parameters

        None

        -

        Response Parameters

        Status code: 200

        +

        Response Parameters

        Status code: 200

        -
        Table 3 Response body parameters

        Parameter

        +
        - - - - - - - -
        Table 3 Response body parameters

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        sample_count

        +

        sample_count

        Integer

        +

        Integer

        Number of samples.

        +

        Number of samples.

        samples

        +

        samples

        Array of DescribeSampleResp objects

        +

        Array of DescribeSampleResp objects

        Sample list.

        +

        Sample list.

        -
        Table 4 DescribeSampleResp

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 4 DescribeSampleResp

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        check_accept

        +

        check_accept

        Boolean

        +

        Boolean

        Whether the acceptance is passed, which is used for team labeling. The options are as follows: - true: The acceptance is passed. - false: The acceptance is not passed.

        +

        Whether the acceptance is passed, which is used for team labeling. The options are as follows:

        +
        • true: The acceptance is passed.
        • false: The acceptance is not passed.

        check_comment

        +

        check_comment

        String

        +

        String

        Acceptance comment, which is used for team labeling.

        +

        Acceptance comment, which is used for team labeling.

        check_score

        +

        check_score

        String

        +

        String

        Acceptance score, which is used for team labeling.

        +

        Acceptance score, which is used for team labeling.

        deletion_reasons

        +

        deletion_reasons

        Array of strings

        +

        Array of strings

        Reason for deleting a sample, which is used for healthcare.

        +

        Reason for deleting a sample, which is used for healthcare.

        hard_details

        +

        hard_details

        Map<String,HardDetail>

        +

        Map<String,HardDetail>

        Details about difficulties, including description, causes, and suggestions of difficult problems.

        +

        Details about difficulties, including description, causes, and suggestions of difficult problems.

        labelers

        +

        labelers

        Array of Worker objects

        +

        Array of Worker objects

        Labeling personnel list of sample assignment. The labelers record the team members to which the sample is allocated for team labeling.

        +

        Labeling personnel list of sample assignment. The labelers record the team members to which the sample is allocated for team labeling.

        labels

        +

        labels

        Array of SampleLabel objects

        +

        Array of SampleLabel objects

        Sample label list.

        +

        Sample label list.

        metadata

        +

        metadata

        SampleMetadata object

        +

        SampleMetadata object

        Key-value pair of the sample metadata attribute.

        +

        Key-value pair of the sample metadata attribute.

        review_accept

        +

        review_accept

        Boolean

        +

        Boolean

        Whether to accept the review, which is used for team labeling. The options are as follows: - true: accepted - false: rejected

        +

        Whether to accept the review, which is used for team labeling. The options are as follows:

        +
        • true: accepted
        • false: rejected

        review_comment

        +

        review_comment

        String

        +

        String

        Review comment, which is used for team labeling.

        +

        Review comment, which is used for team labeling.

        review_score

        +

        review_score

        String

        +

        String

        Review score, which is used for team labeling.

        +

        Review score, which is used for team labeling.

        sample_data

        +

        sample_data

        Array of strings

        +

        Array of strings

        Sample data list.

        +

        Sample data list.

        sample_dir

        +

        sample_dir

        String

        +

        String

        Sample path.

        +

        Sample path.

        sample_id

        +

        sample_id

        String

        +

        String

        Sample ID.

        +

        Sample ID.

        sample_name

        +

        sample_name

        String

        +

        String

        Sample name.

        +

        Sample name.

        sample_size

        +

        sample_size

        Long

        +

        Long

        Sample size or text length, in bytes.

        +

        Sample size or text length, in bytes.

        sample_status

        +

        sample_status

        String

        +

        String

        Sample status. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

        +

        Sample status. The options are as follows:

        +
        • ALL: labeled
        • NONE: unlabeled
        • UNCHECK: pending acceptance
        • ACCEPTED: accepted
        • REJECTED: rejected
        • UNREVIEWED: pending review
        • REVIEWED: reviewed
        • WORKFORCE_SAMPLED: sampled
        • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked
        • WORKFORCE_SAMPLED_CHECKED: sampling checked
        • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted
        • WORKFORCE_SAMPLED_REJECTED: sampling rejected
        • AUTO_ANNOTATION: to be confirmed

        sample_time

        +

        sample_time

        Long

        +

        Long

        Sample time, when OBS is last modified.

        +

        Sample time, when OBS is last modified.

        sample_type

        +

        sample_type

        Integer

        +

        Integer

        Sample type. The options are as follows: - 0: image - 1: text - 2: speech - 4: table - 6: video - 9: custom format

        +

        Sample type. The options are as follows:

        +
        • 0: image
        • 1: text
        • 2: speech
        • 4: table
        • 6: video
        • 9: custom format

        score

        +

        score

        String

        +

        String

        Comprehensive score, which is used for team labeling.

        +

        Comprehensive score, which is used for team labeling.

        source

        +

        source

        String

        +

        String

        Source address of sample data.

        +

        Source address of sample data.

        sub_sample_url

        +

        sub_sample_url

        String

        +

        String

        Subsample URL, which is used for healthcare.

        +

        Subsample URL, which is used for healthcare.

        worker_id

        +

        worker_id

        String

        +

        String

        ID of a labeling team member, which is used for team labeling.

        +

        ID of a labeling team member, which is used for team labeling.

        -
        Table 5 HardDetail

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 5 HardDetail

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        alo_name

        +

        alo_name

        String

        +

        String

        Alias.

        +

        Alias.

        id

        +

        id

        Integer

        +

        Integer

        Reason ID.

        +

        Reason ID.

        reason

        +

        reason

        String

        +

        String

        Reason description.

        +

        Reason description.

        suggestion

        +

        suggestion

        String

        +

        String

        Handling suggestion.

        +

        Handling suggestion.

        -
        Table 6 Worker

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 6 Worker

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        create_time

        +

        create_time

        Long

        +

        Long

        Creation time.

        +

        Creation time.

        description

        +

        description

        String

        +

        String

        Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

        +

        Labeling team member description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"'

        email

        +

        email

        String

        +

        String

        Email address of a labeling team member.

        +

        Email address of a labeling team member.

        role

        +

        role

        Integer

        +

        Integer

        Role. The options are as follows: - 0: labeling personnel - 1: reviewer - 2: team administrator - 3: dataset owner

        +

        Role. The options are as follows:

        +
        • 0: labeling personnel
        • 1: reviewer
        • 2: team administrator
        • 3: dataset owner

        status

        +

        status

        Integer

        +

        Integer

        Current login status of a labeling team member. The options are as follows: - 0: The invitation email has not been sent. - 1: The invitation email has been sent but the user has not logged in. - 2: The user has logged in. - 3: The labeling team member has been deleted.

        +

        Current login status of a labeling team member. The options are as follows:

        +
        • 0: The invitation email has not been sent.
        • 1: The invitation email has been sent but the user has not logged in.
        • 2: The user has logged in.
        • 3: The labeling team member has been deleted.

        update_time

        +

        update_time

        Long

        +

        Long

        Update time.

        +

        Update time.

        worker_id

        +

        worker_id

        String

        +

        String

        ID of a labeling team member.

        +

        ID of a labeling team member.

        workforce_id

        +

        workforce_id

        String

        +

        String

        ID of a labeling team.

        +

        ID of a labeling team.

        -
        Table 7 SampleLabel

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - -
        Table 7 SampleLabel

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        annotated_by

        +

        annotated_by

        String

        +

        String

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows: - human: manual labeling - auto: automatic labeling

        +

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows:

        +
        • human: manual labeling
        • auto: automatic labeling

        id

        +

        id

        String

        +

        String

        Label ID.

        +

        Label ID.

        name

        +

        name

        String

        +

        String

        Label name.

        +

        Label name.

        property

        +

        property

        SampleLabelProperty object

        +

        SampleLabelProperty object

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        +

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        score

        +

        score

        Float

        +

        Float

        Confidence.

        +

        Confidence.

        type

        +

        type

        Integer

        +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet relationship
        • 103: text triplet entity
        • 200: speech classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 600: video classification
        -
        Table 8 SampleLabelProperty

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 8 SampleLabelProperty

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:content

        +

        @modelarts:content

        String

        +

        String

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        +

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        @modelarts:end_index

        +

        @modelarts:end_index

        Integer

        +

        Integer

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows. - If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively. - If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        +

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows.

        +
        • If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively.
        • If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        @modelarts:end_time

        +

        @modelarts:end_time

        String

        +

        String

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:feature

        +

        @modelarts:feature

        Object

        +

        Object

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows: - bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.

        -
        - **polygon**: consists of multiple points that are connected in sequence to form a polygon, for example, **[[0,100],[50,95],[10,60],[500,400]]**. 
        -
        -      - **circle**: consists of the center point and radius, for example, **[[100,100],[50]]**. 
        -
        -      - **line**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **dashed**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **point**: consists of one point, for example, **[[0,100]]**. 
        -
        -      - **polyline**: consists of multiple points, for example, **[[0,100],[50,95],[10,60],[500,400]]**.
        +

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows:

        +
        • bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.
        • polygon: consists of multiple points that are connected in sequence to form a polygon, for example, [[0,100],[50,95],[10,60],[500,400]].
        • circle: consists of the center point and radius, for example, [[100,100],[50]].
        • line: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • dashed: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • point: consists of one point, for example, [[0,100]].
        • polyline: consists of multiple points, for example, [[0,100],[50,95],[10,60],[500,400]].

        @modelarts:from

        +

        @modelarts:from

        String

        +

        String

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        @modelarts:hard

        +

        @modelarts:hard

        String

        +

        String

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        -
        • 0/false: not a hard example

          -
        • 1/true: hard example

          -
        +

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        +
        • 0/false: not a hard example
        • 1/true: hard example

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        String

        +

        String

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        String

        +

        String

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:shape

        +

        @modelarts:shape

        String

        +

        String

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows:

        +
        • bndbox: rectangle
        • polygon: polygon
        • circle: circle
        • line: straight line
        • dashed: dotted line
        • point: point
        • polyline: polyline

        @modelarts:source

        +

        @modelarts:source

        String

        +

        String

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        +

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        @modelarts:start_index

        +

        @modelarts:start_index

        Integer

        +

        Integer

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        +

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        @modelarts:start_time

        +

        @modelarts:start_time

        String

        +

        String

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:to

        +

        @modelarts:to

        String

        +

        String

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        -
        Table 9 SampleMetadata

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 9 SampleMetadata

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:hard

        +

        @modelarts:hard

        Double

        +

        Double

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows: - 0: non-hard sample - 1: hard sample

        +

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows:

        +
        • 0: non-hard sample
        • 1: hard sample

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        Double

        +

        Double

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        Array of integers

        +

        Array of integers

        ID of a hard sample reason, which is a default attribute. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        ID of a hard sample reason, which is a default attribute. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:size

        +

        @modelarts:size

        Array of objects

        +

        Array of objects

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        +

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        -

        Example Requests

        Querying the Sample List by Page

        -
        GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/data-annotations/samples
        +

        Example Requests

        Querying the Sample List by Page

        +
        GET https://{endpoint}/v2/{project_id}/datasets/{dataset_id}/data-annotations/samples
        -

        Example Responses

        Status code: 200

        -

        OK

        -
        {
        +

        Example Responses

        Status code: 200

        +

        OK

        +
        {
           "sample_count" : 2,
           "samples" : [ {
             "sample_id" : "012f99f3cf405860130b6ed2350c2228",
        @@ -723,7 +730,7 @@
               "type" : 0,
               "property" : { }
             } ],
        -    "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36502.jpg?AccessKeyId=RciyO7RHmhNTfOZVryUH&Expires=1606296688&x-image-process=image%2Fresize%2Cm_lfit%2Ch_200&Signature=icyvHhFew9vnmy3zh1uZMP15Mbg%3D",
        +    "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36502.jpg?AccessKeyId=RciyO7xxxxxxxxxxyUH&Expires=1606296688&x-image-process=image%2Fresize%2Cm_lfit%2Ch_200&Signature=icyvHhFew9vnmy3zh1uZMP15Mbg%3D",
             "metadata" : {
               "@modelarts:import_origin" : 0
             },
        @@ -743,7 +750,7 @@
               "type" : 0,
               "property" : { }
             } ],
        -    "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36139.jpg?AccessKeyId=RciyO7RHmhNTfOZVryUH&Expires=1606296688&x-image-process=image%2Fresize%2Cm_lfit%2Ch_200&Signature=RRr9r2cghLCXk%2B0%2BfHtYJi8eZ4k%3D",
        +    "source" : "https://test-obs.obs.xxx.com:443/image/aifood/%E5%86%B0%E6%BF%80%E5%87%8C/36139.jpg?AccessKeyId=RciyO7xxxxxxxxxxyUH&Expires=1606296688&x-image-process=image%2Fresize%2Cm_lfit%2Ch_200&Signature=RRr9r2cghLCXk%2B0%2BfHtYJi8eZ4k%3D",
             "metadata" : {
               "@modelarts:import_origin" : 0
             },
        @@ -758,38 +765,38 @@
           } ]
         }
        -

        Status Codes

        -
        - @@ -147,7 +158,10 @@ - - - - @@ -101,7 +118,10 @@ - - @@ -223,7 +254,15 @@ - - - - @@ -199,7 +210,10 @@ - - - @@ -95,7 +106,15 @@ - - @@ -218,7 +240,7 @@
        diff --git a/docs/modelarts/api-ref/UpdateLabels.html b/docs/modelarts/api-ref/UpdateLabels.html index b86da404d..1107d4ef3 100644 --- a/docs/modelarts/api-ref/UpdateLabels.html +++ b/docs/modelarts/api-ref/UpdateLabels.html @@ -104,7 +104,18 @@ - @@ -154,7 +165,10 @@ - - - @@ -338,7 +363,10 @@ - @@ -398,7 +426,7 @@
        diff --git a/docs/modelarts/api-ref/UpdateSamples.html b/docs/modelarts/api-ref/UpdateSamples.html index 4a549135c..d1c2c340a 100644 --- a/docs/modelarts/api-ref/UpdateSamples.html +++ b/docs/modelarts/api-ref/UpdateSamples.html @@ -1,492 +1,491 @@

        Updating Sample Labels in Batches

        -

        Function

        This API is used to update sample labels in batches, including adding, modifying, and deleting sample labels. If the parameter Labels of a sample in the request body is not specified, the label of the sample is deleted.

        +

        Function

        This API is used to update sample labels in batches, including adding, modifying, and deleting sample labels. If the parameter Labels of a sample in the request body is not specified, the label of the sample is deleted.

        -

        URI

        PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        +

        URI

        PUT /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        -

        Status Code

        +

        Status Codes

        +
        - - - - - - - - -

        Status Code

        Description

        +

        Description

        200

        +

        200

        OK

        +

        OK

        401

        +

        401

        Unauthorized

        +

        Unauthorized

        403

        +

        403

        Forbidden

        +

        Forbidden

        404

        +

        404

        Not Found

        +

        Not Found

        -

        Error Codes

        See Error Codes.

        +

        Error Codes

        See Error Codes.

        diff --git a/docs/modelarts/api-ref/ListSearch.html b/docs/modelarts/api-ref/ListSearch.html index dc39711f5..89feb5e09 100644 --- a/docs/modelarts/api-ref/ListSearch.html +++ b/docs/modelarts/api-ref/ListSearch.html @@ -107,7 +107,18 @@

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        @@ -206,7 +220,15 @@

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        diff --git a/docs/modelarts/api-ref/ListStats.html b/docs/modelarts/api-ref/ListStats.html index ceab0aa7d..76ce5fc4a 100644 --- a/docs/modelarts/api-ref/ListStats.html +++ b/docs/modelarts/api-ref/ListStats.html @@ -62,7 +62,10 @@

        String

        Language. The options are as follows: - zh-cn: Chinese - en-us: English (default value)

        +

        Language. The options are as follows:

        +
        • zh-cn: Chinese

          +
        • en-us: English (default value)

          +

        sample_state

        @@ -71,7 +74,21 @@

        String

        Query statistics on samples in a specified state. The options are as follows: - ALL: labeled - NONE: unlabeled - UNCHECK: pending acceptance - ACCEPTED: accepted - REJECTED: rejected - UNREVIEWED: pending review - REVIEWED: reviewed - WORKFORCE_SAMPLED: sampled - WORKFORCE_SAMPLED_UNCHECK: sampling unchecked - WORKFORCE_SAMPLED_CHECKED: sampling checked - WORKFORCE_SAMPLED_ACCEPTED: sampling accepted - WORKFORCE_SAMPLED_REJECTED: sampling rejected - AUTO_ANNOTATION: to be confirmed

        +

        Query statistics on samples in a specified state. The options are as follows:

        +
        • ALL: labeled

          +
        • NONE: unlabeled

          +
        • UNCHECK: pending acceptance

          +
        • ACCEPTED: accepted

          +
        • REJECTED: rejected

          +
        • UNREVIEWED: pending review

          +
        • REVIEWED: reviewed

          +
        • WORKFORCE_SAMPLED: sampled

          +
        • WORKFORCE_SAMPLED_UNCHECK: sampling unchecked

          +
        • WORKFORCE_SAMPLED_CHECKED: sampling checked

          +
        • WORKFORCE_SAMPLED_ACCEPTED: sampling accepted

          +
        • WORKFORCE_SAMPLED_REJECTED: sampling rejected

          +
        • AUTO_ANNOTATION: to be confirmed

          +

        Boolean

        Whether the dataset can be split into training set and validation set based on the sample labeling statistics. The options are as follows: - true: The dataset can be split into training set and validation set. - false: The dataset cannot be split into training set and validation set.

        +

        Whether the dataset can be split into training set and validation set based on the sample labeling statistics. The options are as follows:

        +
        • true: The dataset can be split into training set and validation set.

          +
        • false: The dataset cannot be split into training set and validation set.

          +

        grouped_label_stats

        @@ -197,7 +217,18 @@

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        @@ -357,7 +396,10 @@

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        diff --git a/docs/modelarts/api-ref/SyncDataSourceState.html b/docs/modelarts/api-ref/SyncDataSourceState.html index 2aba16dae..0cc9e5893 100644 --- a/docs/modelarts/api-ref/SyncDataSourceState.html +++ b/docs/modelarts/api-ref/SyncDataSourceState.html @@ -102,7 +102,14 @@

        String

        Status of a task. The options are as follows: - QUEUING: queuing - STARTING: execution started - RUNNING: running - COMPLETED: completed - FAILED: failed - NOT_EXIST: not found

        +

        Status of a task. The options are as follows:

        +
        • QUEUING: queuing

          +
        • STARTING: execution started

          +
        • RUNNING: running

          +
        • COMPLETED: completed

          +
        • FAILED: failed

          +
        • NOT_EXIST: not found

          +

        task_id

        diff --git a/docs/modelarts/api-ref/UpdateDataset.html b/docs/modelarts/api-ref/UpdateDataset.html index f03ab38e1..04716baf6 100644 --- a/docs/modelarts/api-ref/UpdateDataset.html +++ b/docs/modelarts/api-ref/UpdateDataset.html @@ -149,7 +149,18 @@

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        @@ -272,7 +286,15 @@

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        diff --git a/docs/modelarts/api-ref/UpdateLabel.html b/docs/modelarts/api-ref/UpdateLabel.html index a1cf9dda0..694929b99 100644 --- a/docs/modelarts/api-ref/UpdateLabel.html +++ b/docs/modelarts/api-ref/UpdateLabel.html @@ -62,7 +62,18 @@

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        @@ -166,7 +185,10 @@

        Boolean

        Whether the operation is successful. The options are as follows: - true: successful - false: failed

        +

        Whether the operation is successful. The options are as follows:

        +
        • true: successful

          +
        • false: failed

          +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification

          +
        • 1: object detection

          +
        • 100: text classification

          +
        • 101: named entity recognition

          +
        • 102: text triplet relationship

          +
        • 103: text triplet entity

          +
        • 200: speech classification

          +
        • 201: speech content

          +
        • 202: speech paragraph labeling

          +
        • 600: video classification

          +

        String

        Label attribute type. The options are as follows: - text: text - select: single-choice drop-down list

        +

        Label attribute type. The options are as follows:

        +
        • text: text

          +
        • select: single-choice drop-down list

          +

        values

        @@ -227,7 +241,15 @@

        String

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Default attribute: Default shape of an object detection label (dedicated attribute). By default, this parameter is left blank. The options are as follows:

        +
        • bndbox: rectangle

          +
        • polygon: polygon

          +
        • circle: circle

          +
        • line: straight line

          +
        • dashed: dotted line

          +
        • point: point

          +
        • polyline: polyline

          +

        @modelarts:from_type

        @@ -305,7 +327,10 @@

        Boolean

        Whether the operation is successful. The options are as follows: - true: successful - false: failed

        +

        Whether the operation is successful. The options are as follows:

        +
        • true: successful

          +
        • false: failed

          +

        Boolean

        Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

        +

        Check whether the operation is successful. The options are as follows:

        +
        • true: The operation is successful.

          +
        • false: The operation is failed.

          +
        Table 1 Path Parameters

        Parameter

        +
        - - - - - - - - - - -
        Table 1 Path Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        dataset_id

        +

        dataset_id

        Yes

        +

        Yes

        String

        +

        String

        Dataset ID.

        +

        Dataset ID.

        project_id

        +

        project_id

        Yes

        +

        Yes

        String

        +

        String

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        +

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        -

        Request Parameters

        -
        Table 2 Request body parameters

        Parameter

        +

        Request Parameters

        +
        - - - - - - - - - - -
        Table 2 Request body parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        email

        +

        email

        No

        +

        No

        String

        +

        String

        Email address of a labeling team member.

        +

        Email address of a labeling team member.

        samples

        +

        samples

        No

        +

        No

        Array of SampleLabels objects

        +

        Array of SampleLabels objects

        Updated sample list.

        +

        Updated sample list.

        -
        Table 3 SampleLabels

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 3 SampleLabels

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        labels

        +

        labels

        No

        +

        No

        Array of SampleLabel objects

        +

        Array of SampleLabel objects

        Sample label list. If this parameter is left blank, all sample labels are deleted.

        +

        Sample label list. If this parameter is left blank, all sample labels are deleted.

        metadata

        +

        metadata

        No

        +

        No

        SampleMetadata object

        +

        SampleMetadata object

        Key-value pair of the sample metadata attribute.

        +

        Key-value pair of the sample metadata attribute.

        sample_id

        +

        sample_id

        No

        +

        No

        String

        +

        String

        Sample ID.

        +

        Sample ID.

        sample_type

        +

        sample_type

        No

        +

        No

        Integer

        +

        Integer

        Sample type. The options are as follows: - 0: image - 1: text - 2: speech - 4: table - 6: video - 9: custom format

        +

        Sample type. The options are as follows:

        +
        • 0: image
        • 1: text
        • 2: speech
        • 4: table
        • 6: video
        • 9: custom format

        sample_usage

        +

        sample_usage

        No

        +

        No

        String

        +

        String

        Sample usage. The options are as follows: - TRAIN: training - EVAL: evaluation - TEST: test - INFERENCE: inference

        +

        Sample usage. The options are as follows:

        +
        • TRAIN: training
        • EVAL: evaluation
        • TEST: test
        • INFERENCE: inference

        source

        +

        source

        No

        +

        No

        String

        +

        String

        Source address of sample data.

        +

        Source address of sample data.

        worker_id

        +

        worker_id

        No

        +

        No

        String

        +

        String

        ID of a labeling team member.

        +

        ID of a labeling team member.

        -
        Table 4 SampleLabel

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 4 SampleLabel

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        annotated_by

        +

        annotated_by

        No

        +

        No

        String

        +

        String

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows: - human: manual labeling - auto: automatic labeling

        +

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows:

        +
        • human: manual labeling
        • auto: automatic labeling

        id

        +

        id

        No

        +

        No

        String

        +

        String

        Label ID.

        +

        Label ID.

        name

        +

        name

        No

        +

        No

        String

        +

        String

        Label name.

        +

        Label name.

        property

        +

        property

        No

        +

        No

        SampleLabelProperty object

        +

        SampleLabelProperty object

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        +

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        score

        +

        score

        No

        +

        No

        Float

        +

        Float

        Confidence.

        +

        Confidence.

        type

        +

        type

        No

        +

        No

        Integer

        +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet relationship
        • 103: text triplet entity
        • 200: speech classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 600: video classification
        -
        Table 5 SampleLabelProperty

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 5 SampleLabelProperty

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:content

        +

        @modelarts:content

        No

        +

        No

        String

        +

        String

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        +

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        @modelarts:end_index

        +

        @modelarts:end_index

        No

        +

        No

        Integer

        +

        Integer

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows. - If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively. - If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        +

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows.

        +
        • If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively.
        • If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        @modelarts:end_time

        +

        @modelarts:end_time

        No

        +

        No

        String

        +

        String

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:feature

        +

        @modelarts:feature

        No

        +

        No

        Object

        +

        Object

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows: - bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.

        -
        - **polygon**: consists of multiple points that are connected in sequence to form a polygon, for example, **[[0,100],[50,95],[10,60],[500,400]]**. 
        -
        -      - **circle**: consists of the center point and radius, for example, **[[100,100],[50]]**. 
        -
        -      - **line**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **dashed**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **point**: consists of one point, for example, **[[0,100]]**. 
        -
        -      - **polyline**: consists of multiple points, for example, **[[0,100],[50,95],[10,60],[500,400]]**.
        +

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows:

        +
        • bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.
        • polygon: consists of multiple points that are connected in sequence to form a polygon, for example, [[0,100],[50,95],[10,60],[500,400]].
        • circle: consists of the center point and radius, for example, [[100,100],[50]].
        • line: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • dashed: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • point: consists of one point, for example, [[0,100]].
        • polyline: consists of multiple points, for example, [[0,100],[50,95],[10,60],[500,400]].

        @modelarts:from

        +

        @modelarts:from

        No

        +

        No

        String

        +

        String

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        @modelarts:hard

        +

        @modelarts:hard

        No

        +

        No

        String

        +

        String

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        -
        • 0/false: not a hard example

          -
        • 1/true: hard example

          -
        +

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        +
        • 0/false: not a hard example
        • 1/true: hard example

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        No

        +

        No

        String

        +

        String

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        No

        +

        No

        String

        +

        String

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:shape

        +

        @modelarts:shape

        No

        +

        No

        String

        +

        String

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows:

        +
        • bndbox: rectangle
        • polygon: polygon
        • circle: circle
        • line: straight line
        • dashed: dotted line
        • point: point
        • polyline: polyline

        @modelarts:source

        +

        @modelarts:source

        No

        +

        No

        String

        +

        String

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        +

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        @modelarts:start_index

        +

        @modelarts:start_index

        No

        +

        No

        Integer

        +

        Integer

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        +

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        @modelarts:start_time

        +

        @modelarts:start_time

        No

        +

        No

        String

        +

        String

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:to

        +

        @modelarts:to

        No

        +

        No

        String

        +

        String

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        -
        Table 6 SampleMetadata

        Parameter

        +
        - - - - - - - - - - - - - - - - - - -
        Table 6 SampleMetadata

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:hard

        +

        @modelarts:hard

        No

        +

        No

        Double

        +

        Double

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows: - 0: non-hard sample - 1: hard sample

        +

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows:

        +
        • 0: non-hard sample
        • 1: hard sample

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        No

        +

        No

        Double

        +

        Double

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        No

        +

        No

        Array of integers

        +

        Array of integers

        ID of a hard sample reason, which is a default attribute. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        ID of a hard sample reason, which is a default attribute. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:size

        +

        @modelarts:size

        No

        +

        No

        Array of objects

        +

        Array of objects

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        +

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        -

        Response Parameters

        Status code: 200

        +

        Response Parameters

        Status code: 200

        -
        Table 7 Response body parameters

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 7 Response body parameters

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        error_code

        +

        error_code

        String

        +

        String

        Error code.

        +

        Error code.

        error_msg

        +

        error_msg

        String

        +

        String

        Error message.

        +

        Error message.

        results

        +

        results

        Array of BatchResponse objects

        +

        Array of BatchResponse objects

        Response list for updating sample labels in batches.

        +

        Response list for updating sample labels in batches.

        success

        +

        success

        Boolean

        +

        Boolean

        Whether the operation is successful. The options are as follows: - true: successful - false: failed

        +

        Whether the operation is successful. The options are as follows:

        +
        • true: successful
        • false: failed
        -
        Table 8 BatchResponse

        Parameter

        +
        - - - - - - - - - - -
        Table 8 BatchResponse

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        error_code

        +

        error_code

        String

        +

        String

        Error code.

        +

        Error code.

        error_msg

        +

        error_msg

        String

        +

        String

        Error message.

        +

        Error message.

        success

        +

        success

        Boolean

        +

        Boolean

        Check whether the operation is successful. The options are as follows: - true: The operation is successful. - false: The operation is failed.

        +

        Check whether the operation is successful. The options are as follows:

        +
        • true: The operation is successful.
        • false: The operation is failed.
        -

        Example Requests

        Updating Sample Labels in Batches

        -
        {
        +

        Example Requests

        Updating Sample Labels in Batches

        +
        {
           "samples" : [ {
             "sample_id" : "8b583c44bf249f8ba43ea42c92920221",
             "labels" : [ {
        @@ -500,44 +499,44 @@
           } ]
         }
        -

        Example Responses

        Status code: 200

        -

        OK

        -
        {
        +

        Example Responses

        Status code: 200

        +

        OK

        +
        {
           "success" : true
         }
        -

        Status Codes

        -

        Status Code

        +

        Status Codes

        +
        - - - - - - - - -

        Status Code

        Description

        +

        Description

        200

        +

        200

        OK

        +

        OK

        401

        +

        401

        Unauthorized

        +

        Unauthorized

        403

        +

        403

        Forbidden

        +

        Forbidden

        404

        +

        404

        Not Found

        +

        Not Found

        -

        Error Codes

        See Error Codes.

        +

        Error Codes

        See Error Codes.

        diff --git a/docs/modelarts/api-ref/UploadSamplesJson.html b/docs/modelarts/api-ref/UploadSamplesJson.html index f23a1ff03..102716560 100644 --- a/docs/modelarts/api-ref/UploadSamplesJson.html +++ b/docs/modelarts/api-ref/UploadSamplesJson.html @@ -1,787 +1,790 @@

        Adding Samples in Batches

        -

        Function

        This API is used to add samples in batches.

        +

        Function

        This API is used to add samples in batches.

        -

        URI

        POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        +

        URI

        POST /v2/{project_id}/datasets/{dataset_id}/data-annotations/samples

        -
        Table 1 Path Parameters

        Parameter

        +
        - - - - - - - - - - -
        Table 1 Path Parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        dataset_id

        +

        dataset_id

        Yes

        +

        Yes

        String

        +

        String

        Dataset ID.

        +

        Dataset ID.

        project_id

        +

        project_id

        Yes

        +

        Yes

        String

        +

        String

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        +

        Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

        -

        Request Parameters

        -
        Table 2 Request body parameters

        Parameter

        +

        Request Parameters

        +
        - - - - - - - - - - - - - - -
        Table 2 Request body parameters

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        final_annotation

        +

        final_annotation

        No

        +

        No

        Boolean

        +

        Boolean

        Whether to directly import to the final result. The options are as follows: - true: Import labels to the labeled dataset. (Default value). - false: Import labels to the to-be-confirmed dataset. Currently, to-be-confirmed datasets only support categories of image classification and object detection.

        +

        Whether to directly import to the final result. The options are as follows:

        +
        • true: Import labels to the labeled dataset. (Default value).
        • false: Import labels to the to-be-confirmed dataset. Currently, to-be-confirmed datasets only support categories of image classification and object detection.

        label_format

        +

        label_format

        No

        +

        No

        LabelFormat object

        +

        LabelFormat object

        Label format. This parameter is used only for text datasets.

        +

        Label format. This parameter is used only for text datasets.

        samples

        +

        samples

        No

        +

        No

        Array of Sample objects

        +

        Array of Sample objects

        Sample list.

        +

        Sample list.

        -
        Table 3 LabelFormat

        Parameter

        +
        - - - - - - - - - - - - - - -
        Table 3 LabelFormat

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        label_type

        +

        label_type

        No

        +

        No

        String

        +

        String

        Label type of text classification. The options are as follows: - 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt. - 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

        +

        Label type of text classification. The options are as follows:

        +
        • 0: The label is separated from the text, and they are distinguished by the fixed suffix _result. For example, the text file is abc.txt, and the label file is abc_result.txt.
        • 1: Default value. Labels and texts are stored in the same file and separated by separators. You can use text_sample_separator to specify the separator between the text and label and text_label_separator to specify the separator between labels.

        text_label_separator

        +

        text_label_separator

        No

        +

        No

        String

        +

        String

        Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

        +

        Separator between labels. By default, a comma (,) is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

        text_sample_separator

        +

        text_sample_separator

        No

        +

        No

        String

        +

        String

        Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

        +

        Separator between the text and label. By default, the Tab key is used as the separator. The separator needs to be escaped. The separator can contain only one character, such as a letter, a digit, or any of the following special characters: !@#$%^&*_=|?/':.;,

        -
        Table 4 Sample

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 4 Sample

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        data

        +

        data

        No

        +

        No

        Object

        +

        Object

        Byte data of sample files. The type is java.nio.ByteBuffer. When this parameter is called, the string converted from the byte data is uploaded.

        +

        Byte data of sample files. The type is java.nio.ByteBuffer. When this parameter is called, the string converted from the byte data is uploaded.

        data_source

        +

        data_source

        No

        +

        No

        DataSource object

        +

        DataSource object

        Data source.

        +

        Data source.

        encoding

        +

        encoding

        No

        +

        No

        String

        +

        String

        Encoding type of sample files, which is used to upload .txt or .csv files. The value can be UTF-8, GBK, or GB2312. The default value is UTF-8.

        +

        Encoding type of sample files, which is used to upload .txt or .csv files. The value can be UTF-8, GBK, or GB2312. The default value is UTF-8.

        labels

        +

        labels

        No

        +

        No

        Array of SampleLabel objects

        +

        Array of SampleLabel objects

        Sample label list.

        +

        Sample label list.

        metadata

        +

        metadata

        No

        +

        No

        SampleMetadata object

        +

        SampleMetadata object

        Key-value pair of the sample metadata attribute.

        +

        Key-value pair of the sample metadata attribute.

        name

        +

        name

        No

        +

        No

        String

        +

        String

        Name of sample files. The value contains 0 to 1,024 characters and cannot contain special characters (!<>=&"').

        +

        Name of sample files. The value contains 0 to 1,024 characters and cannot contain special characters (!<>=&"').

        sample_type

        +

        sample_type

        No

        +

        No

        Integer

        +

        Integer

        Sample type. The options are as follows: - 0: image - 1: text - 2: speech - 4: table - 6: video - 9: custom format

        +

        Sample type. The options are as follows:

        +
        • 0: image
        • 1: text
        • 2: speech
        • 4: table
        • 6: video
        • 9: custom format
        -
        -
        Table 5 DataSource

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - -
        Table 5 DataSource

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        data_path

        +

        data_path

        No

        +

        No

        String

        +

        String

        Data source path.

        +

        Data source path.

        data_type

        +

        data_type

        No

        +

        No

        Integer

        +

        Integer

        Data type. The options are as follows: - 0: OBS bucket (default value) - 1: GaussDB(DWS) - 2: DLI - 3: RDS - 4: MRS - 5: AI Gallery - 6: Inference service

        +

        Data type. The options are as follows:

        +
        • 0: OBS bucket (default value)
        • 1: GaussDB(DWS)
        • 2: DLI
        • 3: RDS
        • 4: MRS
        • 5: AI Gallery
        • 6: Inference service

        schema_maps

        +

        schema_maps

        No

        +

        No

        Array of SchemaMap objects

        +

        Array of SchemaMap objects

        Schema mapping information corresponding to the table data.

        +

        Schema mapping information corresponding to the table data.

        source_info

        +

        source_info

        No

        +

        No

        SourceInfo object

        +

        SourceInfo object

        Information required for importing a table data source.

        +

        Information required for importing a table data source.

        with_column_header

        +

        with_column_header

        No

        +

        No

        Boolean

        +

        Boolean

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows: - true: The first row in the file is the column name. - false: The first row in the file is not the column name.

        +

        Whether the first row in the file is a column name. This field is valid for the table dataset. The options are as follows:

        +
        • true: The first row in the file is the column name.
        • false: The first row in the file is not the column name.
        -
        - - - -
        Table 6 SchemaMap

        Parameter

        +
        - - - - - - - - - - -
        Table 6 SchemaMap

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        dest_name

        +

        dest_name

        No

        +

        No

        String

        +

        String

        Name of the destination column.

        +

        Name of the destination column.

        src_name

        +

        src_name

        No

        +

        No

        String

        +

        String

        Name of the source column.

        +

        Name of the source column.

        -
        - - - - - -
        Table 7 SourceInfo

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 7 SourceInfo

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        cluster_id

        +

        cluster_id

        No

        +

        No

        String

        +

        String

        ID of an MRS cluster.

        +

        ID of an MRS cluster.

        cluster_mode

        +

        cluster_mode

        No

        +

        No

        String

        +

        String

        Running mode of an MRS cluster. The options are as follows: - 0: normal cluster - 1: security cluster

        +

        Running mode of an MRS cluster. The options are as follows:

        +
        • 0: normal cluster
        • 1: security cluster

        cluster_name

        +

        cluster_name

        No

        +

        No

        String

        +

        String

        Name of an MRS cluster.

        +

        Name of an MRS cluster.

        database_name

        +

        database_name

        No

        +

        No

        String

        +

        String

        Name of the database to which the table dataset is imported.

        +

        Name of the database to which the table dataset is imported.

        input

        +

        input

        No

        +

        No

        String

        +

        String

        HDFS path of a table dataset.

        +

        HDFS path of a table dataset.

        ip

        +

        ip

        No

        +

        No

        String

        +

        String

        IP address of your GaussDB(DWS) cluster.

        +

        IP address of your GaussDB(DWS) cluster.

        port

        +

        port

        No

        +

        No

        String

        +

        String

        Port number of your GaussDB(DWS) cluster.

        +

        Port number of your GaussDB(DWS) cluster.

        queue_name

        +

        queue_name

        No

        +

        No

        String

        +

        String

        DLI queue name of a table dataset.

        +

        DLI queue name of a table dataset.

        subnet_id

        +

        subnet_id

        No

        +

        No

        String

        +

        String

        Subnet ID of an MRS cluster.

        +

        Subnet ID of an MRS cluster.

        table_name

        +

        table_name

        No

        +

        No

        String

        +

        String

        Name of the table to which a table dataset is imported.

        +

        Name of the table to which a table dataset is imported.

        user_name

        +

        user_name

        No

        +

        No

        String

        +

        String

        Username, which is mandatory for GaussDB(DWS) data.

        +

        Username, which is mandatory for GaussDB(DWS) data.

        user_password

        +

        user_password

        No

        +

        No

        String

        +

        String

        User password, which is mandatory for GaussDB(DWS) data.

        +

        User password, which is mandatory for GaussDB(DWS) data.

        vpc_id

        +

        vpc_id

        No

        +

        No

        String

        +

        String

        ID of the VPC where an MRS cluster resides.

        +

        ID of the VPC where an MRS cluster resides.

        -
        - - - - - -
        Table 8 SampleLabel

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 8 SampleLabel

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        annotated_by

        +

        annotated_by

        No

        +

        No

        String

        +

        String

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows: - human: manual labeling - auto: automatic labeling

        +

        Video labeling method, which is used to distinguish whether a video is labeled manually or automatically. The options are as follows:

        +
        • human: manual labeling
        • auto: automatic labeling

        id

        +

        id

        No

        +

        No

        String

        +

        String

        Label ID.

        +

        Label ID.

        name

        +

        name

        No

        +

        No

        String

        +

        String

        Label name.

        +

        Label name.

        property

        +

        property

        No

        +

        No

        SampleLabelProperty object

        +

        SampleLabelProperty object

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        +

        Attribute key-value pair of the sample label, such as the object shape and shape feature.

        score

        +

        score

        No

        +

        No

        Float

        +

        Float

        Confidence.

        +

        Confidence.

        type

        +

        type

        No

        +

        No

        Integer

        +

        Integer

        Label type. The options are as follows: - 0: image classification - 1: object detection - 100: text classification - 101: named entity recognition - 102: text triplet relationship - 103: text triplet entity - 200: speech classification - 201: speech content - 202: speech paragraph labeling - 600: video classification

        +

        Label type. The options are as follows:

        +
        • 0: image classification
        • 1: object detection
        • 100: text classification
        • 101: named entity recognition
        • 102: text triplet relationship
        • 103: text triplet entity
        • 200: speech classification
        • 201: speech content
        • 202: speech paragraph labeling
        • 600: video classification
        -
        - - - - -
        Table 9 SampleLabelProperty

        Parameter

        +
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
        Table 9 SampleLabelProperty

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:content

        +

        @modelarts:content

        No

        +

        No

        String

        +

        String

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        +

        Speech text content, which is a default attribute dedicated to the speech label (including the speech content and speech start and end points).

        @modelarts:end_index

        +

        @modelarts:end_index

        No

        +

        No

        Integer

        +

        Integer

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows. - If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively. - If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        +

        End position of the text, which is a default attribute dedicated to the named entity label. The end position does not include the character corresponding to the value of end_index. Examples are as follows.

        +
        • If the text content is "Barack Hussein Obama II (born August 4, 1961) is an American attorney and politician.", the start_index and end_index values of "Barack Hussein Obama II" are 0 and 23, respectively.
        • If the text content is "By the end of 2018, the company has more than 100 employees.", the start_index and end_index values of "By the end of 2018" are 0 and 18, respectively.

        @modelarts:end_time

        +

        @modelarts:end_time

        No

        +

        No

        String

        +

        String

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech end time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:feature

        +

        @modelarts:feature

        No

        +

        No

        Object

        +

        Object

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows: - bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.

        -
        - **polygon**: consists of multiple points that are connected in sequence to form a polygon, for example, **[[0,100],[50,95],[10,60],[500,400]]**. 
        -
        -      - **circle**: consists of the center point and radius, for example, **[[100,100],[50]]**. 
        -
        -      - **line**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **dashed**: consists of two points, for example, **[[0,100],[50,95]]**. The first point is the start point, and the second point is the end point. 
        -
        -      - **point**: consists of one point, for example, **[[0,100]]**. 
        -
        -      - **polyline**: consists of multiple points, for example, **[[0,100],[50,95],[10,60],[500,400]]**.
        +

        Shape feature, which is a default attribute dedicated to the object detection label, with type of List. The upper left corner of an image is used as the coordinate origin [0,0]. Each coordinate point is represented by [x, y]. x indicates the horizontal coordinate, and y indicates the vertical coordinate (both x and y are greater than or equal to 0). The format of each shape is as follows:

        +
        • bndbox: consists of two points, for example, [[0,10],[50,95]]. The first point is located at the upper left corner of the rectangle and the second point is located at the lower right corner of the rectangle. That is, the X coordinate of the first point must be smaller than that of the second point, and the Y coordinate of the second point must be smaller than that of the first point.
        • polygon: consists of multiple points that are connected in sequence to form a polygon, for example, [[0,100],[50,95],[10,60],[500,400]].
        • circle: consists of the center point and radius, for example, [[100,100],[50]].
        • line: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • dashed: consists of two points, for example, [[0,100],[50,95]]. The first point is the start point, and the second point is the end point.
        • point: consists of one point, for example, [[0,100]].
        • polyline: consists of multiple points, for example, [[0,100],[50,95],[10,60],[500,400]].

        @modelarts:from

        +

        @modelarts:from

        No

        +

        No

        String

        +

        String

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the head entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        @modelarts:hard

        +

        @modelarts:hard

        No

        +

        No

        String

        +

        String

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        -
        • 0/false: not a hard example

          -
        • 1/true: hard example

          -
        +

        Sample labeled as a hard sample or not, which is a default attribute. Options:

        +
        • 0/false: not a hard example
        • 1/true: hard example

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        No

        +

        No

        String

        +

        String

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each label level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        No

        +

        No

        String

        +

        String

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        Reasons that the sample is a hard sample, which is a default attribute. Use a hyphen (-) to separate every two hard sample reason IDs, for example, 3-20-21-19. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:shape

        +

        @modelarts:shape

        No

        +

        No

        String

        +

        String

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows: - bndbox: rectangle - polygon: polygon - circle: circle - line: straight line - dashed: dotted line - point: point - polyline: polyline

        +

        Object shape, which is a default attribute dedicated to the object detection label and is left empty by default. The options are as follows:

        +
        • bndbox: rectangle
        • polygon: polygon
        • circle: circle
        • line: straight line
        • dashed: dotted line
        • point: point
        • polyline: polyline

        @modelarts:source

        +

        @modelarts:source

        No

        +

        No

        String

        +

        String

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        +

        Speech source, which is a default attribute dedicated to the speech start/end point label and can be set to a speaker or narrator.

        @modelarts:start_index

        +

        @modelarts:start_index

        No

        +

        No

        Integer

        +

        Integer

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        +

        Start position of the text, which is a default attribute dedicated to the named entity label. The start value begins from 0, including the character corresponding to the value of start_index.

        @modelarts:start_time

        +

        @modelarts:start_time

        No

        +

        No

        String

        +

        String

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        +

        Speech start time, which is a default attribute dedicated to the speech start/end point label, in the format of hh:mm:ss.SSS. (hh indicates hour; mm indicates minute; ss indicates second; and SSS indicates millisecond.)

        @modelarts:to

        +

        @modelarts:to

        No

        +

        No

        String

        +

        String

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        +

        ID of the tail entity in the triplet relationship label, which is a default attribute dedicated to the triplet relationship label.

        -
        - - - - -
        Table 10 SampleMetadata

        Parameter

        +
        - - - - - - - - - - - - - - - - - - -
        Table 10 SampleMetadata

        Parameter

        Mandatory

        +

        Mandatory

        Type

        +

        Type

        Description

        +

        Description

        @modelarts:hard

        +

        @modelarts:hard

        No

        +

        No

        Double

        +

        Double

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows: - 0: non-hard sample - 1: hard sample

        +

        Whether the sample is labeled as a hard sample, which is a default attribute. The options are as follows:

        +
        • 0: non-hard sample
        • 1: hard sample

        @modelarts:hard_coefficient

        +

        @modelarts:hard_coefficient

        No

        +

        No

        Double

        +

        Double

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        +

        Coefficient of difficulty of each sample level, which is a default attribute. The value range is [0,1].

        @modelarts:hard_reasons

        +

        @modelarts:hard_reasons

        No

        +

        No

        Array of integers

        +

        Array of integers

        ID of a hard sample reason, which is a default attribute. The options are as follows: - 0: No target objects are identified. - 1: The confidence is low. - 2: The clustering result based on the training dataset is inconsistent with the prediction result. - 3: The prediction result is greatly different from the data of the same type in the training dataset. - 4: The prediction results of multiple consecutive similar images are inconsistent. - 5: There is a large offset between the image resolution and the feature distribution of the training dataset. - 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset. - 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset. - 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset. - 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset. - 10: There is a large offset between the definition of the image and the feature distribution of the training dataset. - 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset. - 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset. - 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset. - 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset. - 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset. - 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset. - 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset. - 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset. - 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image. - 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image. - 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image. - 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image. - 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image. - 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image. - 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image. - 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image. - 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image. - 28: The data enhancement result based on add is inconsistent with the prediction result of the original image. - 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image. - 30: The data is predicted to be abnormal.

        +

        ID of a hard sample reason, which is a default attribute. The options are as follows:

        +
        • 0: No target objects are identified.
        • 1: The confidence is low.
        • 2: The clustering result based on the training dataset is inconsistent with the prediction result.
        • 3: The prediction result is greatly different from the data of the same type in the training dataset.
        • 4: The prediction results of multiple consecutive similar images are inconsistent.
        • 5: There is a large offset between the image resolution and the feature distribution of the training dataset.
        • 6: There is a large offset between the aspect ratio of the image and the feature distribution of the training dataset.
        • 7: There is a large offset between the brightness of the image and the feature distribution of the training dataset.
        • 8: There is a large offset between the saturation of the image and the feature distribution of the training dataset.
        • 9: There is a large offset between the color richness of the image and the feature distribution of the training dataset.
        • 10: There is a large offset between the definition of the image and the feature distribution of the training dataset.
        • 11: There is a large offset between the number of frames of the image and the feature distribution of the training dataset.
        • 12: There is a large offset between the standard deviation of area of image frames and the feature distribution of the training dataset.
        • 13: There is a large offset between the aspect ratio of image frames and the feature distribution of the training dataset.
        • 14: There is a large offset between the area portion of image frames and the feature distribution of the training dataset.
        • 15: There is a large offset between the edge of image frames and the feature distribution of the training dataset.
        • 16: There is a large offset between the brightness of image frames and the feature distribution of the training dataset.
        • 17: There is a large offset between the definition of image frames and the feature distribution of the training dataset.
        • 18: There is a large offset between the stack of image frames and the feature distribution of the training dataset.
        • 19: The data enhancement result based on GaussianBlur is inconsistent with the prediction result of the original image.
        • 20: The data enhancement result based on fliplr is inconsistent with the prediction result of the original image.
        • 21: The data enhancement result based on Crop is inconsistent with the prediction result of the original image.
        • 22: The data enhancement result based on flipud is inconsistent with the prediction result of the original image.
        • 23: The data enhancement result based on scale is inconsistent with the prediction result of the original image.
        • 24: The data enhancement result based on translate is inconsistent with the prediction result of the original image.
        • 25: The data enhancement result based on shear is inconsistent with the prediction result of the original image.
        • 26: The data enhancement result based on superpixels is inconsistent with the prediction result of the original image.
        • 27: The data enhancement result based on sharpen is inconsistent with the prediction result of the original image.
        • 28: The data enhancement result based on add is inconsistent with the prediction result of the original image.
        • 29: The data enhancement result based on invert is inconsistent with the prediction result of the original image.
        • 30: The data is predicted to be abnormal.

        @modelarts:size

        +

        @modelarts:size

        No

        +

        No

        Array of objects

        +

        Array of objects

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        +

        Image size (width, height, and depth of the image), which is a default attribute, with type of List. In the list, the first number indicates the width (pixels), the second number indicates the height (pixels), and the third number indicates the depth (the depth can be left blank and the default value is 3). For example, [100,200,3] and [100,200] are both valid. Note: This parameter is mandatory only when the sample label list contains the object detection label.

        -

        Response Parameters

        Status code: 200

        +

        Response Parameters

        Status code: 200

        -
        - - - - -
        Table 11 Response body parameters

        Parameter

        +
        - - - - - - - - - - - - - -
        Table 11 Response body parameters

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        error_code

        +

        error_code

        String

        +

        String

        Error code.

        +

        Error code.

        error_msg

        +

        error_msg

        String

        +

        String

        Error message.

        +

        Error message.

        results

        +

        results

        Array of UploadSampleResp objects

        +

        Array of UploadSampleResp objects

        Response list for adding samples in batches.

        +

        Response list for adding samples in batches.

        success

        +

        success

        Boolean

        +

        Boolean

        Whether the operation is successful. The options are as follows: - true: successful - false: failed

        +

        Whether the operation is successful. The options are as follows:

        +
        • true: successful
        • false: failed
        -
        Table 12 UploadSampleResp

        Parameter

        +
        - - - - - - - - - - - - - - - - -
        Table 12 UploadSampleResp

        Parameter

        Type

        +

        Type

        Description

        +

        Description

        error_code

        +

        error_code

        String

        +

        String

        Error code.

        +

        Error code.

        error_msg

        +

        error_msg

        String

        +

        String

        Error message.

        +

        Error message.

        info

        +

        info

        String

        +

        String

        Description.

        +

        Description.

        name

        +

        name

        String

        +

        String

        Name of a sample file.

        +

        Name of a sample file.

        success

        +

        success

        Boolean

        +

        Boolean

        Whether the operation is successful. The options are as follows: - true: successful - false: failed

        +

        Whether the operation is successful. The options are as follows:

        +
        • true: successful
        • false: failed
        -

        Example Requests

        Adding Samples in Batches

        -
        {
        +

        Example Requests

        Adding Samples in Batches

        +
        {
           "samples" : [ {
             "name" : "2.jpg",
             "data" : "/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAgGBgcGBQgHBwcJCQgKDBQNDAsLDBkSEw8UHRofHh0aHBwgJC4nICIsIxwcKDcpLDAxNDQ0Hyc5PTgyPC4zNDL/2wBDAQkJCQwLDBgNDRgyIRwhMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjL/wAARCAA1AJUDASIAAhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL"
           } ]
         }
        -

        Example Responses

        Status code: 200

        -

        OK

        -
        {
        +

        Example Responses

        Status code: 200

        +

        OK

        +
        {
           "success" : true,
           "results" : [ {
             "success" : true,
        @@ -790,38 +793,38 @@
           } ]
         }
        -

        Status Codes

        -
        -

        Status Code

        +

        Status Codes

        +
        - - - - - - - - -

        Status Code

        Description

        +

        Description

        200

        +

        200

        OK

        +

        OK

        401

        +

        401

        Unauthorized

        +

        Unauthorized

        403

        +

        403

        Forbidden

        +

        Forbidden

        404

        +

        404

        Not Found

        +

        Not Found

        -

        Error Codes

        See Error Codes.

        +

        Error Codes

        See Error Codes.

        diff --git a/docs/modelarts/api-ref/dataset_management.html b/docs/modelarts/api-ref/dataset_management.html index c29090994..f92a1fc0e 100644 --- a/docs/modelarts/api-ref/dataset_management.html +++ b/docs/modelarts/api-ref/dataset_management.html @@ -19,10 +19,6 @@ - -

        Configuring Authorization

        Configure ModelArts authorization. ModelArts functions such as training management, development environment, data management, and real-time services can be properly used only after required permissions are assigned.

        +

        Configure ModelArts authorization. ModelArts functions such as real-time services can be properly used only after required permissions are assigned.

        Deleting Authorization

        diff --git a/docs/modelarts/api-ref/modelarts_03_0004.html b/docs/modelarts/api-ref/modelarts_03_0004.html index f20fcf6d4..c70e9b1f1 100644 --- a/docs/modelarts/api-ref/modelarts_03_0004.html +++ b/docs/modelarts/api-ref/modelarts_03_0004.html @@ -47,7 +47,7 @@ Content-Type: application/json

        Obtain the API Gateway signing SDK from the enterprise administrator.

        Decompress the downloaded package and reference the obtained JAR files as dependencies, as highlighted in the following figure.

        -
        1. Generate an AK/SK. (If an AK/SK file has already been obtained, skip this step and locate the downloaded AK/SK file. Generally, the file name will be credentials.csv.)

          1. Log in to the console, enter the My Credentials page, and choose Access Keys > Create Access Key.
          2. In the Create Access Key dialog box that is displayed, use the login password for verification.
          3. Click OK, open the credentials.csv file, and save the key file as prompted. The access key file is saved in the default downloads folder of the browser. Then, the access key (Access Key Id and Secret Access Key) is obtained.
          +
          1. Generate an AK/SK. (If an AK/SK file has already been obtained, skip this step and locate the downloaded AK/SK file. Generally, the file name will be credentials.csv.)

            1. Log in to the console, enter the My Credentials page, and choose Access Keys > Create Access Key.
            2. In the Create Access Key dialog box that is displayed, use the login password for verification.
            3. Click OK, open the credentials.csv file, and save the key file as prompted. The access key file is saved in the default downloads folder of the browser. Then, the access key (Access Key Id and Secret Access Key) is obtained.

          2. Download and decompress the demo project.
          3. Import the demo project to Eclipse.

            Figure 1 Selecting Existing Projects into Workspace
            Figure 2 Selecting the demo project
            Figure 3 Structure of the demo project
            diff --git a/docs/modelarts/api-ref/modelarts_03_0005.html b/docs/modelarts/api-ref/modelarts_03_0005.html index d574c9ab0..ea2c5690c 100644 --- a/docs/modelarts/api-ref/modelarts_03_0005.html +++ b/docs/modelarts/api-ref/modelarts_03_0005.html @@ -35,8 +35,7 @@

        For example, to obtain an IAM token in a region, obtain the endpoint of IAM for this region and the resource-path (/v3/auth/tokens) in the URI of the API used to obtain a user token. Then, construct the URI as follows:

        -
        -https://{iam-endpoint}/v3/auth/tokens
        +
        https://{iam-endpoint}/v3/auth/tokens

        To simplify the URI display in this document, each API is provided only with a resource-path and a request method. The URI-scheme of all APIs is HTTPS, and the endpoints of all APIs in the same region are identical.

        @@ -183,8 +182,7 @@ Content-Type: application/json

        If an API is used to obtain a user token, the request parameters and parameter description can be obtained from the API request. The following provides an example request with a body included. Replace user_name, domain_name, and user_password with the actual username, account name, and login password, respectively. project_name is the project name. For details, see Obtaining a Username and ID, Obtaining an Account Name and ID, and Obtaining a Project ID.

        The scope parameter specifies where a token takes effect. In the example, the token takes effect only for the resources in a specified project. ModelArts uses a region-specific endpoint to call this API. Set scope to project. You can set scope to an account or a project under an account. In the following example, the token takes effect only for the resources in a specified project. For more information about this API, see "Obtaining a User Token".

        -
        -POST https://{iam-endpoint}/v3/auth/tokens 
        +
        POST https://{iam-endpoint}/v3/auth/tokens 
         Content-Type:application/json
         {
           "auth": {
        diff --git a/docs/modelarts/api-ref/modelarts_03_0045.html b/docs/modelarts/api-ref/modelarts_03_0045.html
        index 360a7b276..1468f5a6d 100644
        --- a/docs/modelarts/api-ref/modelarts_03_0045.html
        +++ b/docs/modelarts/api-ref/modelarts_03_0045.html
        @@ -543,7 +543,7 @@
         
         
        -

        Samples

        1. The following shows how to create training job TestModelArtsJob with This is a ModelArts job as its description.
          • Sample request
            POST    https://endpoint/v1/{project_id}/training-jobs
            +

            Samples

            • Sample request
              1. The following shows how to create training job TestModelArtsJob with This is a ModelArts job as its description.
                POST    https://endpoint/v1/{project_id}/training-jobs
                 {
                     "job_name": "TestModelArtsJob",
                     "job_desc": "This is a ModelArts job",
                @@ -570,10 +570,7 @@
                         "log_url": "/usr/log/"
                     }
                 }
                -
            -
          • The following shows how to create training job TestModelArtsJob2 with a custom image.
        -
        -
        • Sample request
          POST    https://endpoint/v1/{project_id}/training-jobs
          +
        • The following shows how to create training job TestModelArtsJob2 with a custom image.
          POST    https://endpoint/v1/{project_id}/training-jobs
           {
               "job_name": "TestModelArtsJob2",
               "job_desc": "This is a ModelArts job",
          @@ -595,9 +592,7 @@
                   "log_url": "/usr/log/"
               }
           }
          -
        -

        3. The following shows how to create training job TestModelArtsJob3 using a storage volume.

        -
        • Sample request
          POST    https://endpoint/v1/{project_id}/training-jobs
          +
        • The following shows how to create training job TestModelArtsJob3 using a storage volume.
          POST    https://endpoint/v1/{project_id}/training-jobs
           {
               "job_name": "TestModelArtsJob3",
               "job_desc": "This is a ModelArts job",
          @@ -641,7 +636,9 @@
                   ]
               }
           }
          +
        +
        • Successful sample response
          {
               "is_success": true,
               "job_id": "10",
          diff --git a/docs/modelarts/api-ref/modelarts_03_0047.html b/docs/modelarts/api-ref/modelarts_03_0047.html
          index 8fb10d54b..f3bc1a1ab 100644
          --- a/docs/modelarts/api-ref/modelarts_03_0047.html
          +++ b/docs/modelarts/api-ref/modelarts_03_0047.html
          @@ -111,7 +111,8 @@
           
           

        Integer

        Engine type of a training job. The mapping between engine_type and engine_name is as follows: engine_type: 13, engine_name: Ascend-Powered-Engine

        +

        Engine type of a training job. The mapping between engine_type and engine_name is as follows:

        +
        • engine_type: 1, engine_name: TensorFlow
        • engine_type: 2, engine_name: MXNet
        • engine_type: 3, engine_name: Ray
        • engine_type: 4, engine_name: Caffe
        • engine_type: 5, engine_name: Spark_MLlib
        • engine_type: 9, engine_name: XGBoost-Sklearn
        • engine_type: 10, engine_name: PyTorch
        • engine_type: 12, engine_name: Horovod

        engine_name

        @@ -119,7 +120,7 @@

        String

        Name of the engine selected for a training job. Currently, the following engines are supported:

        -
        • Ascend-Powered-Engine
        • PyTorch
        • Spark_MLlib
        • Scikit_Learn
        • TensorFlow
        • XGBoost-Sklearn
        • MindSpore-GPU
        +
        • TensorFlow
        • MXNet
        • Ray
        • Caffe
        • Spark_MLlib
        • XGBoost-Sklearn
        • PyTorch
        • Horovod

        engine_id

        @@ -781,7 +782,7 @@ "version_id": 10, "version_name": "jobVersion", "pre_version_id": 5, - "engine_type": , + "engine_type": 1, "engine_name": "TensorFlow", "engine_id": 1, "engine_version": "TF-1.4.0-python2.7", diff --git a/docs/modelarts/api-ref/modelarts_03_0058.html b/docs/modelarts/api-ref/modelarts_03_0058.html index ac00b76fa..d0c6ae283 100644 --- a/docs/modelarts/api-ref/modelarts_03_0058.html +++ b/docs/modelarts/api-ref/modelarts_03_0058.html @@ -318,7 +318,7 @@ -

        Samples

        1. The following shows how to create a training job configuration whose name is testConfig and description is This is config.
          • Sample request
            POST    https://endpoint/v1/{project_id}/training-job-configs
            +

            Samples

            The following shows how to create a training job configuration whose name is testConfig and description is This is config.
            • Sample request
              POST    https://endpoint/v1/{project_id}/training-job-configs
               {
                   "config_name": "testConfig",
                   "config_desc": "This is config",
              @@ -343,7 +343,7 @@
                   "log_url": "/usr/log/"
               }
            -
        +
        • Successful sample response
          {
               "is_success": true
          diff --git a/docs/modelarts/api-ref/modelarts_03_0073.html b/docs/modelarts/api-ref/modelarts_03_0073.html
          index 7405d2f00..a9d9a1ce4 100644
          --- a/docs/modelarts/api-ref/modelarts_03_0073.html
          +++ b/docs/modelarts/api-ref/modelarts_03_0073.html
          @@ -112,7 +112,7 @@
           

        Integer

        Engine type of a training job

        -
        • 1: TensorFlow
        • 5: Spark_MLlib
        • 6: Scikit Learn
        • 9: XGBoost-Sklearn
        • 10: PyTorch
        • 13: Ascend-Powered-Engine
        • 17: MindSpore-GPU
        +
        • 1: TensorFlow
        • 5: Spark_MLlib
        • 6: Scikit Learn
        • 9: XGBoost-Sklearn
        • 10: PyTorch
        • 17: MindSpore-GPU

        engine_id

        diff --git a/docs/modelarts/api-ref/modelarts_03_0077.html b/docs/modelarts/api-ref/modelarts_03_0077.html index 20ac29ec2..b60997971 100644 --- a/docs/modelarts/api-ref/modelarts_03_0077.html +++ b/docs/modelarts/api-ref/modelarts_03_0077.html @@ -317,7 +317,6 @@

        String array

        Model deployment type, determining which service a model can be deployed as. Possible values are real-time (real-time service) and batch (batch service).

        -

        Model deployment type, determining which service a model can be deployed as. The example value is real-time (real-time service).

        subscription_id

        @@ -375,13 +374,6 @@

        Minimum memory capacity

        min_ascend

        -

        String

        -

        Minimal Ascend specifications

        -
        diff --git a/docs/modelarts/api-ref/modelarts_03_0078.html b/docs/modelarts/api-ref/modelarts_03_0078.html index 54836c144..0bc53dd88 100644 --- a/docs/modelarts/api-ref/modelarts_03_0078.html +++ b/docs/modelarts/api-ref/modelarts_03_0078.html @@ -130,7 +130,7 @@

        String

        Model type. The value can be TensorFlow, MXNet, Spark_MLlib, Scikit_Learn, XGBoost, MindSpore, Image, or PyTorch.

        +

        Model type. The value can be TensorFlow, MXNet, Spark_MLlib, Scikit_Learn, XGBoost, Image, or PyTorch.

        model_size

        @@ -579,13 +579,6 @@

        Minimum memory capacity

        min_ascend

        -

        String

        -

        Minimum Ascend

        -
        diff --git a/docs/modelarts/api-ref/modelarts_03_0082.html b/docs/modelarts/api-ref/modelarts_03_0082.html index be6d0955b..aa2a600f0 100644 --- a/docs/modelarts/api-ref/modelarts_03_0082.html +++ b/docs/modelarts/api-ref/modelarts_03_0082.html @@ -405,15 +405,6 @@

        Number of GPUs, which can be decimals. This parameter is optional. By default, it is not used.

        ascend_a310

        -

        No

        -

        Integer

        -

        Number of NPUs, which can be decimals. This parameter is optional. By default, it is not used.

        -
        @@ -500,7 +491,7 @@ "cpu": 1.5, "memory": 7500, "gpu_p4": 0, - "ascend_a310": 0 + }, "instance_count": 1 }] diff --git a/docs/modelarts/api-ref/modelarts_03_0084.html b/docs/modelarts/api-ref/modelarts_03_0084.html index d8c1c4092..cfaf34c7b 100644 --- a/docs/modelarts/api-ref/modelarts_03_0084.html +++ b/docs/modelarts/api-ref/modelarts_03_0084.html @@ -326,7 +326,7 @@

        String

        Resource flavor. Options: modelarts.vm.cpu.2u, modelarts.vm.gpu.p4, and modelarts.vm.ai1.a310Options: modelarts.vm.gpu.v100 and modelarts.vm.cpu.2u To use other flavors, contact the system administrator.

        +

        Resource flavor. Options: modelarts.vm.gpu.v100 and modelarts.vm.cpu.2u To use other flavors, contact the system administrator.

        custom_spec

        @@ -416,7 +416,7 @@

        String

        Resource flavor. Options: modelarts.vm.cpu.2u, modelarts.vm.gpu.p4, and modelarts.vm.ai1.a310Options: modelarts.vm.gpu.v100 and modelarts.vm.cpu.2u To use other flavors, contact the system administrator

        +

        Resource flavor. Options: modelarts.vm.gpu.v100 and modelarts.vm.cpu.2u To use other flavors, contact the system administrator

        custom_spec

        @@ -718,13 +718,6 @@

        Number of GPUs

        ascend_a310

        -

        Integer

        -

        Number of Ascend chips

        -
        diff --git a/docs/modelarts/api-ref/modelarts_03_0086.html b/docs/modelarts/api-ref/modelarts_03_0086.html index 9bb3b9b00..ee7930741 100644 --- a/docs/modelarts/api-ref/modelarts_03_0086.html +++ b/docs/modelarts/api-ref/modelarts_03_0086.html @@ -202,7 +202,7 @@

        String

        Resource flavor. Options: modelarts.vm.cpu.2u and modelarts.vm.gpu.p4

        +

        Resource flavor.

        instance_count

        @@ -364,15 +364,6 @@

        Number of GPUs, which can be decimals. This parameter is optional. By default, it is not used.

        ascend_a310

        -

        No

        -

        Integer

        -

        Number of NPUs, which can be decimals. This parameter is optional. By default, it is not used.

        -
        diff --git a/docs/modelarts/api-ref/modelarts_03_0088.html b/docs/modelarts/api-ref/modelarts_03_0088.html index 757f8dc8c..d425e592e 100644 --- a/docs/modelarts/api-ref/modelarts_03_0088.html +++ b/docs/modelarts/api-ref/modelarts_03_0088.html @@ -297,13 +297,6 @@

        Number of GPUs

        ascend_a310

        -

        Integer

        -

        Number of Ascend chips

        -
        diff --git a/docs/modelarts/api-ref/modelarts_03_0095.html b/docs/modelarts/api-ref/modelarts_03_0095.html index 0a95a4915..1b8b37e12 100644 --- a/docs/modelarts/api-ref/modelarts_03_0095.html +++ b/docs/modelarts/api-ref/modelarts_03_0095.html @@ -3697,7 +3697,7 @@

        Chip type {0} is not supported.

        Check whether the chip is of Ascend, GPU, Arm, or general type.

        +

        Check whether the chip is of GPU, Arm, or general type.

        500

        diff --git a/docs/modelarts/api-ref/modelarts_03_0097.html b/docs/modelarts/api-ref/modelarts_03_0097.html index 082758443..8eba7e2ae 100644 --- a/docs/modelarts/api-ref/modelarts_03_0097.html +++ b/docs/modelarts/api-ref/modelarts_03_0097.html @@ -2,15 +2,15 @@

        Change History

        -

        Released On

        +
        - - - diff --git a/docs/modelarts/api-ref/modelarts_03_0110.html b/docs/modelarts/api-ref/modelarts_03_0110.html index babb3fbcc..fa3f11ff1 100644 --- a/docs/modelarts/api-ref/modelarts_03_0110.html +++ b/docs/modelarts/api-ref/modelarts_03_0110.html @@ -58,7 +58,7 @@ - - @@ -521,7 +521,7 @@ - @@ -376,7 +376,7 @@ - @@ -480,7 +480,7 @@ -

        Released On

        Description

        +

        Description

        2021-04-30

        +

        2021-04-30

        This is the first official release.

        +

        This is the first official release.

        String

        Configuration ID. The options are as follows:

        -
        • Ascend-Power-Engine 1.0(python3)
        • Multi-Engine 1.0 (python3)-cpu
        • Multi-Engine 1.0 (python3)-gpu
        • Multi-Engine 2.0 (python3)
        +
        • Multi-Engine 1.0 (python3)-cpu
        • Multi-Engine 1.0 (python3)-gpu
        • Multi-Engine 2.0 (python3)

        description

        @@ -561,7 +561,7 @@

        String

        Hardware, which can be CPU, GPU, or Ascend.

        +

        Hardware, which can be CPU, GPU.

        provision

        @@ -733,7 +733,7 @@

        String

        Flavor status. The options are as follows:

        -
        • GPU
        • CPU
        • ASCEND
        +
        • GPU
        • CPU

        params

        diff --git a/docs/modelarts/api-ref/modelarts_03_0111.html b/docs/modelarts/api-ref/modelarts_03_0111.html index eeaa331e8..b415b9ed7 100644 --- a/docs/modelarts/api-ref/modelarts_03_0111.html +++ b/docs/modelarts/api-ref/modelarts_03_0111.html @@ -357,7 +357,7 @@

        String

        Hardware, which can be CPU, GPU, or Ascend.

        +

        Hardware, which can be CPU, GPU.

        String

        Flavor status. The options are as follows:

        -
        • GPU
        • CPU
        • ASCEND
        +
        • GPU
        • CPU

        params

        diff --git a/docs/modelarts/api-ref/modelarts_03_0112.html b/docs/modelarts/api-ref/modelarts_03_0112.html index a6eb492bc..45cf74dcd 100644 --- a/docs/modelarts/api-ref/modelarts_03_0112.html +++ b/docs/modelarts/api-ref/modelarts_03_0112.html @@ -219,7 +219,7 @@

        String

        Hardware, which can be CPU, GPU, or Ascend.

        +

        Hardware, which can be CPU, GPU.

        String

        Flavor status. The options are as follows:

        -
        • GPU
        • CPU
        • ASCEND
        +
        • GPU
        • CPU

        params

        diff --git a/docs/modelarts/api-ref/modelarts_03_0113.html b/docs/modelarts/api-ref/modelarts_03_0113.html index 4cde10a68..150024bb5 100644 --- a/docs/modelarts/api-ref/modelarts_03_0113.html +++ b/docs/modelarts/api-ref/modelarts_03_0113.html @@ -322,7 +322,7 @@

        String

        Hardware, which can be CPU, GPU, or Ascend.

        +

        Hardware, which can be CPU, GPU.

        String

        Flavor status. The options are as follows:

        -
        • GPU
        • CPU
        • ASCEND
        +
        • GPU
        • CPU

        params

        @@ -715,7 +715,7 @@

        String

        Storage type. Only obs and evs are supported.

        +

        Storage type.

        location

        diff --git a/docs/modelarts/api-ref/modelarts_03_0200.html b/docs/modelarts/api-ref/modelarts_03_0200.html index e8165ecc1..caeba80be 100644 --- a/docs/modelarts/api-ref/modelarts_03_0200.html +++ b/docs/modelarts/api-ref/modelarts_03_0200.html @@ -157,8 +157,8 @@
        • Sample response
          {
               "specifications": [
                   {
          -            "specification": "modelarts.vm.gpu.p4" "modelarts.vm.gpu.v100",
          -            "billing_spec": "modelarts.vm.gpu.p4" "modelarts.vm.gpu.v100",
          +            "specification":  "modelarts.vm.gpu.v100",
          +            "billing_spec":  "modelarts.vm.gpu.v100",
                       "is_open": true,
                       "spec_status": "normal",
                       "is_free": false,
          diff --git a/docs/modelarts/api-ref/modelarts_03_0202.html b/docs/modelarts/api-ref/modelarts_03_0202.html
          index 8707f0206..062ddeff0 100644
          --- a/docs/modelarts/api-ref/modelarts_03_0202.html
          +++ b/docs/modelarts/api-ref/modelarts_03_0202.html
          @@ -12,18 +12,10 @@
           
        • - - - - -
        • The status code 200 OK is returned. The response body is as follows:
          {
             "engines": [
          -    {
          -      "engine_type": 13,
          -      "engine_name": "Ascend-Powered-Engine",
          -      "engine_id": 130,
          -      "engine_version": "TF-1.15-python3.7-aarch64"
          -    },
          -    ......
               {
                 "engine_type": 1,
                 "engine_name": "TensorFlow",
          diff --git a/docs/modelarts/api-ref/public_sys-resources/commonrtl.css b/docs/modelarts/api-ref/public_sys-resources/commonrtl.css
          index 947a9a033..f261da752 100644
          --- a/docs/modelarts/api-ref/public_sys-resources/commonrtl.css
          +++ b/docs/modelarts/api-ref/public_sys-resources/commonrtl.css
          @@ -1,2 +1,2 @@
          -.msgph{font-family:Courier New}.unresolved{background-color:#87ceeb}.noTemplate{background-color:#ff0}.base{background-color:#fff}/*!  Add space for top level topics */.nested0,.p{margin-top:1em}/*!  div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid *//*!  Default of italics to set apart figure captions */.figcap,.italic,.var{font-style:italic}.figdesc{font-style:normal}/*!  Use @frame to create frames on figures */.figborder{padding-left:3px;padding-right:3px;margin-top:1em;border:2px solid Silver}.figsides{margin-top:1em;padding-left:3px;padding-right:3px;border-left:2px solid Silver;border-right:2px solid Silver}.figtop{border-top:2px solid Silver;margin-top:1em}.figbottom{border-bottom:2px solid Silver}.figtopbot{border-top:2px solid Silver;border-bottom:2px solid Silver;margin-top:1em}/*!  Most link groups are created with 
          . Ensure they have space before and after. */.ullinks,ul.simple{list-style-type:none}.attention,.danger,.ddexpand,.dlexpand,.example,.fastpath,.important,.liexpand,.linklist,.note,.notice,.olchildlink,.relconcepts,.relinfo,.relref,.reltasks,.remember,.restriction,.section,.sliexpand,.stepexpand,.substepexpand,.tip,.ulchildlink,.warning{margin-top:1em;margin-bottom:1em}.linklistwithchild,.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-right:20px}/*! Set heading sizes, getting smaller for deeper nesting */.topictitle1{font-size:1.34em;margin-top:0;margin-bottom:.1em}.topictitle2,.topictitle3,.topictitle4,.topictitle5,.topictitle6,.sectiontitle{font-size:1.17em}.topictitle2{margin-top:1pc;margin-bottom:.45em}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-weight:700}.topictitle4{margin-top:.83em;font-weight:700}.topictitle5{font-weight:700}.topictitle6{font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:0;color:#000;font-weight:700}/*! All note formats have the same default presentation */.attentiontitle,.bold,.cautiontitle,.dangertitle,.dlterm,.fastpathtitle,.firstcol,.importanttitle,.notelisttitle,.notetitle,.noticetitle,.parmname,.remembertitle,.restrictiontitle,.tiptitle,.uicontrol,.warningtitle{font-weight:700}.caution{font-weight:700;margin-bottom:1em}/*! Simple lists do not get a bullet *//*! Used on the first column of a table, when rowheader="firstcol" is used *//*! Various basic phrase styles */.boldItalic{font-weight:700;font-style:italic}.shortcut,.underlined{text-decoration:underline}/*! 2008-10-27 keyword采用跟随上下文的样式 +/*! Copyright (c) Huawei Technologies Co., Ltd. 2020-2022. All rights reserved. */.msgph{font-family:Courier New}.unresolved{background-color:#87ceeb}.noTemplate{background-color:#ff0}.base{background-color:#fff}/*! Add space for top level topics */.nested0,.p{margin-top:1em}/*! div with class=p is used for paragraphs that contain blocks, to keep the XHTML valid *//*! Default of italics to set apart figure captions */.figcap,.italic,.var{font-style:italic}.figdesc{font-style:normal}/*! Use @frame to create frames on figures */.figborder{padding-left:3px;padding-right:3px;margin-top:1em;border:2px solid Silver}.figsides{margin-top:1em;padding-left:3px;padding-right:3px;border-left:2px solid Silver;border-right:2px solid Silver}.figtop{border-top:2px solid Silver;margin-top:1em}.figbottom{border-bottom:2px solid Silver}.figtopbot{border-top:2px solid Silver;border-bottom:2px solid Silver;margin-top:1em}/*! Most link groups are created with
          . Ensure they have space before and after. */.ullinks,ul.simple{list-style-type:none}.attention,.danger,.ddexpand,.dlexpand,.example,.fastpath,.important,.liexpand,.linklist,.note,.notice,.olchildlink,.relconcepts,.relinfo,.relref,.reltasks,.remember,.restriction,.section,.sliexpand,.stepexpand,.substepexpand,.tip,.ulchildlink,.warning{margin-top:1em;margin-bottom:1em}.linklistwithchild,.sublinklist{margin-top:1em;margin-right:1.5em;margin-bottom:1em}.breadcrumb{font-size:smaller;margin-bottom:1em}.prereq{margin-right:20px}/*! Set heading sizes, getting smaller for deeper nesting */.topictitle1{font-size:1.34em;margin-top:0;margin-bottom:.1em}.topictitle2,.topictitle3,.topictitle4,.topictitle5,.topictitle6,.sectiontitle{font-size:1.17em}.topictitle2{margin-top:1pc;margin-bottom:.45em}.topictitle3{margin-top:1pc;margin-bottom:.17em;font-weight:700}.topictitle4{margin-top:.83em;font-weight:700}.topictitle5{font-weight:700}.topictitle6{font-style:italic}.sectiontitle{margin-top:1em;margin-bottom:0;color:#000;font-weight:700}/*! All note formats have the same default presentation */.attentiontitle,.bold,.cautiontitle,.dangertitle,.dlterm,.fastpathtitle,.firstcol,.importanttitle,.notelisttitle,.notetitle,.noticetitle,.parmname,.remembertitle,.restrictiontitle,.tiptitle,.uicontrol,.warningtitle{font-weight:700}.caution{font-weight:700;margin-bottom:1em}/*! Simple lists do not get a bullet *//*! Used on the first column of a table, when rowheader="firstcol" is used *//*! Various basic phrase styles */.boldItalic{font-weight:700;font-style:italic}.shortcut,.underlined{text-decoration:underline}/*! 2008-10-27 keyword采用跟随上下文的样式 *//*! Default of bold for definition list terms *//*! Use CSS to expand lists with @compact="no" */.dltermexpand{font-weight:700;margin-top:1em}[compact="yes"]>li{margin-top:0}[compact="no"]>li{margin-top:.53em}/*! Align images based on @align on topic/image */div.imageleft,.text-align-left{text-align:left}div.imagecenter,.text-align-center{text-align:center}div.imageright,.text-align-right{text-align:right}div.imagejustify,.text-align-justify{text-align:justify}.cellrowborder{border-right:0;border-top:0;border-left:1px solid;border-bottom:1px solid}.row-nocellborder{border-left:hidden;border-right:0;border-top:0;border-bottom:1px solid}.cell-norowborder{border-top:0;border-bottom:hidden;border-right:0;border-left:1px solid}.nocellnorowborder{border:0;border-left:hidden;border-bottom:hidden}pre.codeblock,pre.screen{padding:5px;border:outset;background-color:#ccc;margin-top:2px;margin-bottom:2px;white-space:pre} \ No newline at end of file diff --git a/docs/modelarts/api-ref/sample_management.html b/docs/modelarts/api-ref/sample_management.html index 2d51b1707..bc625c011 100644 --- a/docs/modelarts/api-ref/sample_management.html +++ b/docs/modelarts/api-ref/sample_management.html @@ -15,10 +15,6 @@
        • - -