Amazon rekognition custom labels LabelsDetection() returns empty value

0

I trained a model in rekognition and run in aws cli. But ı call the method return empty list like this: "CustomLabels": [] How can I solve ıt. Thank you.

cagatay
已提问 2 年前424 查看次数
2 回答
0

Hi,

To make a better debug, could you please let me know what is the script of the aws cli you called or provide the return response with empty value? Also, please let me know the arn of you model.

Thanks,

AWS
Jady
已回答 2 年前
  • Hi, aws rekognition detect-custom-labels
    --project-version-arn "arn:aws:rekognition:us-east-1:680335478196:project/dugme/version/dugme.2022-08-25T11.39.37/1661416777799"
    --image '{"S3Object": {"Bucket": "dugme-model","Name": "NXT_12_Aug_2022_14_11_00_853.jpg"}}'
    --region us-east-1 This is aws's advice script for use model. And this is my model's arn: arn:aws:rekognition:us-east-1:680335478196:project/dugme/version/dugme.2022-08-25T11.39.37/1661416777799

    Thank you for answer

0

As discussed further on this page, Rekognition applies confidence thresholding on returned labels - using assumed thresholds by default unless you specifically configure something different. Probably for this test image your model is not confidently detecting any labels, so all detections are being thresholded out.

You can try specifying MinConfidence in your DetectCustomLabels API call to 0 to return all labels regardless of detected confidence?

AWS
专家
Alex_T
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则