Model Evaluation
Evaluating an Image model
Read your model's scores, test it on new images and try it live with a webcam or device.
Try it in StudioOn this page
Goal
By the end of this page you will know how good your model is and how to test its predictions.
Read the scores on the Evaluation page
Open Evaluation in the left menu. At the top you can pick which version of the trained model to look at. Quantized (int8) is shown by default; you can also choose Unoptimized (float32). Each version is scored separately, so you can see how much accuracy the smaller INT8 version keeps.
The scores depend on the model:
| Model | Main score | Other scores | Confusion matrix |
|---|---|---|---|
| Vision Pro, EdgeDetect Lite | mAP@[IoU=50] | mAP, mAP@[IoU=75], mAP by object size, Recall@1/10/100 detections | No |
| NanoVision | F1 Score (non-background) | Precision and Recall (non-background), false detections on background images | No |
| FaceRec-Edge | Precision, recall and F1 per person | — | Yes |
Select Training graphs to see how the loss changed during training.
Test on your testing images: Model testing
- Open Model testing.
- Select Classify all. Studio runs the model on every image in the testing set.
- Read the Metrics for Object detection table and open individual images to compare the predicted boxes with your labels.
Testing images were never used for training, so this is the fairest check of your model.
Try it live: Live classification
Open Live classification. You can classify in three ways:
| Option | How |
|---|---|
| Use webcam | Uses your computer's camera. Pick the camera, and adjust the Confidence Threshold to hide weak detections. The mirror button flips the picture. |
| Start sampling | Runs the model on data from a connected device. Choose the Device and Sensor first. |
| Classify existing test sample | Pick a Test sample and select Load sample. |
What do good results look like?
- Scores close to 1.0 are good. Very low scores usually mean too few images, inconsistent boxes or an image size that is too small for your objects.
- Similar scores for Unoptimized (float32) and Quantized (int8) mean the smaller INT8 model is safe to use.
- Many false detections on empty scenes: add background images (see Labeling images).