Skip to content

Validate Inferences and Annotate Datasets Using Production Models

This tutorial guides you through the process of validating model inferences on a dataset using production models. This workflow allows you to assess the model's behavior on new data or auto-annotate a dataset using a trained model (these annotations can be later refined/reviewed to help the model improve in specific edge cases after re-training).

Note: Before starting, ensure you have access to the dataset and the relevant models configured for inference.

1. Select Your Dataset

We select the data set that we want to work with.

Select Your Dataset

2. Open Dataset Details

Click the chosen dataset to open its details and access its images and models.

Open Dataset Details

3. Navigate to Images Section

We go to the images.

Navigate to Images Section

4. Choose Unannotated Image

We need to choose an image that's hasn't been annotated.

Choose Unannotated Image

5. Filter Pending Images

We can click the "Pending" filter to view images awaiting annotation.

Filter Pending Images

6. Open Image View

Select an image that hasn't been annotated

Open Image View

7. Open Inference Tool

Click here to open the inference tool for the selected image.

Open Inference Tool

8. Choose Model for Inference

This floating menu will pop-up.

Choose Model for Inference

9. Search Models

Click the search field to find the model you want to use.
Enter the model name to filter available models.

Search Models

10. Select Desired Model

Select your model from the filtered list to use for inference.

Select Desired Model

11. View Model Classes

And here the different. Classes from the model will appear in this table. We need to map them.

This table will contain one row per model-class, the name of the classes from the selected model willl appear on the left column, next to it there will be a dropdown that will allow us to choose a class from the dataset, and on the right column a slider will allow us to choose the model-specific confidence (this acts as a filter to only select those results the model is most confident of, being the closer to 1 the most confident).

View Model Classes

12. Confirm Class Mapping

In this example we have only 1 class on the model and 1 class on the dataset, as they are the same so they are automatically mapped.

Confirm Class Mapping

13. Set Confidence Level

Then we need to choose the confidence level.

Set Confidence Level

14. Run Model Inference

Click the Run inference button to start the model prediction process.

Run Model Inference

15. Evaluate Inference Results

The results are dependent on these confidence levels we previsly setted, we can change them and repeat the inference to retrieve new results.

Evaluate Inference Results

16. Open Threshold Settings

We can modify the confidence threshold by modifying both the general minimum and class specific confidences.

Click here to adjust the confidence threshold settings.

Open Threshold Settings

17. Run Inference Again

Click the Run inference button to apply the new settings and generate updated results.

Run Inference Again

18. Complete Inference Process

By lowering the confidence threshold we have retrieved more results.

Here we could continue tweaking the confidence levels until finding the optimal results for out application.

We could also decide to refine the segmentations by manually correcting those places where the model has made an error, to later re-train a model and improve its performance

Complete Inference Process

19. Close Inference Tool

Click here to close the inference tool after completing the process.

Close Inference Tool

20. Apply Process to Object Detection

This same process can also be run for. For object detection models. The procedure is the same.

Apply Process to Object Detection

21. Search Detection Model

Enter the detection model name to find it in the list, and select it.

Search Detection Model

22. Map Detection Classes

And, we need to map again the model classes and the dataset classes. (this got automatically mapped because the model and dataset have the same classes)
We can also set a low confidence threshold to see all model predictions

Map Detection Classes

23. Run Detection Inference

Click the Run inference button to start the detection model inference.

Run Detection Inference

24. Wait for Detection Results

Once the model run we can observe, accept or edit them and move into a new image.

Wait for Detection Results