【问题标题】:AutoML Vision: Error: ImportData stopped due to too many errorsAutoML Vision:错误:ImportData 由于错误太多而停止
【发布时间】:2020-06-01 20:02:40
【问题描述】:

我选择在 AutoML Vision UI 中创建一个数据集,如下所示:

我明白了:错误:ImportData 由于错误太多而停止。

请注意,它告诉我我的 csv 文件中有错误,但它没有告诉我错误是什么,那么我该如何调试?

我试过了:

>cat operation-get-status.sh 
#!/bin/bash

if [ $# -ne 1 ]; then
  printf "usage: get-training-status.sh [operation-id]\n"
  exit 1
fi

export OPERATION_ID="$1"

#export OPERATION_ID="ICN21697762462531584"
source set-vars.sh

curl -X GET \
-H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \
https://automl.googleapis.com/v1beta1/projects/$PROJECT_ID/locations/$REGION_NAME/operations/operation-id

但是响应不是很有帮助:

>./operation-get-status.sh IOD2963854538949263360
{
  "error": {
    "code": 400,
    "message": "List of found errors:\t1.Field: name; Message: Required field is invalid\t",
    "status": "INVALID_ARGUMENT",
    "details": [
      {
        "@type": "type.googleapis.com/google.rpc.BadRequest",
        "fieldViolations": [
          {
            "field": "name",
            "description": "Required field is invalid"
          }
        ]
      }
    ]
  }
}

哪个必填字段无效?

【问题讨论】:

标签: google-cloud-automl


【解决方案1】:

我在上传 CSV 的 GUI 上出现了同样的错误。尝试从一个视频上传单个注释。得到以下错误:

无法跨区域移动文件。请在 与 AutoML 相同的位置和相同的存储类。必需的 位置:us-central1,必填位置类型:地区,必填 存储类:标准。

将bucket类型改为推荐设置后,上传成功。

【讨论】:

  • 另外,如果 start 或 time 在逗号后面有太多数字(例如 1.11111111),导入失败。
猜你喜欢
  • 2019-07-14
  • 2020-12-07
  • 1970-01-01
  • 2018-07-15
  • 2020-02-03
  • 2021-01-09
  • 1970-01-01
  • 1970-01-01
  • 2023-03-08
相关资源
最近更新 更多