[Bug] Test screen Model threshold not filtering correctly

Created by: KostadinovShalon

🧩 Issue type

Bug 🐞

📄 Description

When adjusting the model score threshold, most of the predictions in the 'Above threshold' panel are lower than the model score threshold. For instance, my model threshold is 95% and only one prediction with 82% confidence is in the Below Threshold panel while the rest of the predictions are in the Above threshold panel although their prediction score are mostly below the 95% threshold. Even setting the model score threshold up to 100% doesn't move the predictions to the Below Threshold panel. I see that when I hover the mouse over the thumbnails it says 100% but the bounding box predictions are below the threshold.

📋 Steps to reproduce (if applicable)

  1. Train a DFine-X model
  2. Run a test, with OpenVINO INT8 optimisation on the test set.
  3. Go to the test details and modify the Model Score Threshold slider.

💻 Expected behavior

The images with predictions below the model score threshold should be in the belown threshold panel. For reference, all of the images have only one object.

🖼️ Screenshots, video recordings or logs

media_attachment

📦 Geti version

2.12.1

Hardware

No response

🖥️ Operating System

Ubuntu 24.04

Browser (if applicable)

Chrome, Version 140.0.7339.128 (Official Build) (64-bit)

Python Version (if relevant)

No response

Additional context

No response