gpt4 book ai didi

google-cloud-automl - AutoML 视觉 : Error: ImportData stopped due to too many errors

转载 作者:行者123 更新时间:2023-12-05 07:12:57 26 4
gpt4 key购买 nike

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

enter image description here

enter image description here

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

enter image description here

请注意,它告诉我我的 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"
}
]
}
]
}
}

哪个必填字段无效?

最佳答案

我在 GUI 上使用上传的 CSV 时出现同样的错误。试图从一个视频上传单个注释。出现以下错误:

Cannot move files across regions. Please use a regional bucket in thesame location and with same storage class as AutoML. RequiredLocation: us-central1, required location type: Region, requiredstorage class: Standard.

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

关于google-cloud-automl - AutoML 视觉 : Error: ImportData stopped due to too many errors,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60270069/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com