fix: Enhance ONNX model logging to include feature count and threshold values for improved debugging and monitoring. This change provides more detailed information about the loaded model's configuration.

This commit is contained in:
erik
2026-07-09 03:42:14 -05:00
parent ff9abfc753
commit cf0ebc72ba
@@ -24,7 +24,8 @@ func main() {
predictor = nil
} else {
defer predictor.Close()
log.Printf("modelo ONNX cargado: %s", cfg.ModelPath)
log.Printf("modelo ONNX cargado: %s (features=%d, threshold=%.2f)",
cfg.ModelPath, predictor.FeatureCount(), predictor.Threshold())
}
poolSize := cfg.OCRPoolSize