Open manojhacklabs opened 1 week ago
Yes, it is possible to change the threshold value for a model integrated using Nuclio in CVAT Here's how you can modify the threshold:
Steps :-
Open your Nuclio dashboard in a web browser. Typically, this is accessible via a URL like http://
Log in using your Nuclio credentials.
Locate the Nuclio function corresponding to your model (e.g., "object-detection").
Click on the function name to open its configuration and details.
Go to the "Code" section.
Locate the part of the code where the threshold value is defined. This is often set as a constant or passed as a parameter. Look for variables like threshold, confidence_threshold, or similar.
Update the threshold value to your desired level. For example, change:
threshold = 0.5 # Example original value
to:
threshold = 0.7 # New threshold value
After editing the code, click "Save" or "Deploy" to apply the changes.
Wait for the deployment process to complete.
Alternative: Using Environment Variables In some Nuclio functions, thresholds can be configured through environment variables. If this is the case: Go to the "Configuration" tab of the function in the Nuclio dashboard. Look for environment variables like THRESHOLD, CONFIDENCE_THRESHOLD, or similar. Update the value and redeploy the function.
Remember :-
Make sure you have appropriate permissions to edit and deploy Nuclio functions.
If you cannot locate the threshold in the code, refer to the model's documentation or the function's configuration scripts.
Is it possible to change the threshold value of the model integrated using nuclio? If so kindly let me know the steps.