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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user