Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Clean up logs

laurenspriem8ef673fe5878
diff --git a/mobile/lib/services/face_ml/face_detection/yolov5face/onnx_face_detection.dart b/mobile/lib/services/face_ml/face_detection/yolov5face/onnx_face_detection.dart
index f117a7c21d..e46a5db482 100644
--- a/mobile/lib/services/face_ml/face_detection/yolov5face/onnx_face_detection.dart
+++ b/mobile/lib/services/face_ml/face_detection/yolov5face/onnx_face_detection.dart
@@ -373,10 +373,6 @@ class YoloOnnxFaceDetection {
final relativeDetections = _yoloPostProcessOutputs(outputs, newSize);
- dev.log(
- '${relativeDetections.length} faces detected, with scores ${relativeDetections.map((e) => e.score).toList()}',
- );
-
stopwatch.stop();
_logger.info(
'predict() face detection executed in ${stopwatch.elapsedMilliseconds}ms',
diff --git a/mobile/lib/services/face_ml/face_ml_service.dart b/mobile/lib/services/face_ml/face_ml_service.dart
index 9d4de7ad0b..a75182b1fb 100644
--- a/mobile/lib/services/face_ml/face_ml_service.dart
+++ b/mobile/lib/services/face_ml/face_ml_service.dart
@@ -219,7 +219,7 @@ class FaceMlService {
);
dev.log(
- "${faceDetectionResult.length} faces detected: completed `detectFacesSync` function, in "
+ "${faceDetectionResult.length} faces detected with scores ${faceDetectionResult.map((e) => e.score).toList()}: completed `detectFacesSync` function, in "
"${stopwatch.elapsedMilliseconds} ms");
// If no faces were detected, return a result with no faces. Otherwise, continue.