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.

2 Risposte
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
con risposta 2 anni fa
  • 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
ESPERTO
Alex_T
con risposta 2 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande