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
demandé il y a 2 ans425 vues
2 réponses
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
répondu il y a 2 ans
  • 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
EXPERT
Alex_T
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions