Patching the model thresholds

The steps below will soon be automatic. But they are still currently required to set the optimal thresholds of a detection model and easily access the model ID to deploy your application.

We will run a script to set the model optimal thresholds and access the model ID.

First, install the correct Python dependencies with:

pip install requests deepomatic-api

Then download the script from

Now, you will need to run this script on all the detection models. Go on the performance page of the model you want to patch and copy the URL :

Now run the script by passing this URL as first argument: