EFS-OpenSource / calibration-framework

The net:cal calibration framework is a Python 3 library for measuring and mitigating miscalibration of uncertainty estimates, e.g., by a neural network.
https://efs-opensource.github.io/calibration-framework/
Apache License 2.0
347 stars 42 forks source link

inference with calibrated model #47

Closed Niko-k98 closed 1 year ago

Niko-k98 commented 1 year ago

Once i have calibrated my model, how can i use the calibrated model to run inference on an image

fabiankueppers commented 1 year ago

Hi @Niko-k98 , once you have trained a calibration method, you can use its "transform(...)" method to convert the uncalibrated confidence estimates to calibrated ones. Hope this helps.