- Newest
- Most votes
- Most comments
Hello, if you can open a customer support ticket and provide us with:
- your account ID
- your Project Version ARN
- the TestingDataResult/Input GT manifest
- the TestingDataResult/Output GT manifest
- the TestingDataResult/Validation GT manifest
then we can take a closer look at your model and give you more specialized information. Thank you.
Hi CGarces,
Thanks for reaching out for this problem. DetectCustomLabels does not return any labels/predictions with a confidence value that is lower than the MinConfidence
value given in DetectCustomLabels API call. If you specify a value of 0, DetectCustomLabels returns all labels, regardless of the assumed threshold applied to each label. If you don't specify a value for MinConfidence, DetectCustomLabels returns labels based on the assumed threshold of each label. The assumed threshold is calculated based on the best F1 score achieved on the test dataset during model training for each label. You are probably not specifying a MinConfidence/threshold value.
Please specify MinConfidence
parameter as 0, or a lower value to get some or all of predictions. Please also refer to the following resources for more information:
- https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/im-metrics-use.html
- https://docs.aws.amazon.com/rekognition/latest/APIReference/API_DetectCustomLabels.html#rekognition-DetectCustomLabels-request-MinConfidence
Please let us know if this problem continues for you. Thanks.
I'm training the model, the messaged is raise by the AWS web interface. There is no option to set the confidence during training.
can you provide details about your training time and region ?
Training was done in eu-west-1 last one was 2022-07-06T17.41.23
Hi, If this happens in training, this means that your training or test dataset have not much enough samples. I understand that your training succeeded but possibly performance of trained model is not good. Please try again with a larger dataset. Thanks.
In my opinion is a bug. If the test dataset has a item labeled and the model can't detect it (due enough samples as you said), it must be set as "False Negative", according to the AWS documentation. "False negative – The Amazon Rekognition Custom Labels model doesn't predict that a custom label is present in the image, but the "ground truth" for that image includes this label" https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/im-metrics-use.html
Relevant content
- asked 6 months ago
- asked a year ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 6 months ago
Done, Case ID 10468907661