【发布时间】: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 auto ml 示例代码时遇到同样的错误。你弄清楚问题了吗?链接:github.com/GoogleCloudPlatform/java-docs-samples/blob/master/…
-
没有。我改用 GUI。