我选择在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"
}
]
}
]
}
}
哪个必填字段无效?
答案 0 :(得分:0)
我在我的 GUI 上使用上传的 CSV 出现了同样的错误。尝试从一个视频上传单个注释。出现以下错误:
<块引用>无法跨区域移动文件。请在 与 AutoML 相同的位置和相同的存储类别。必需的 位置:us-central1,必填位置类型:区域,必填 存储等级:标准。
将bucket类型改为推荐设置后,上传成功。