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년 전425회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠