π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Log clustering time for each bucket
laurenspriemc783735e86ce
diff --git a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dartindex b0aa9218f2..67cff11369 100644--- a/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart+++ b/mobile/lib/services/machine_learning/face_ml/face_ml_service.dart@@ -317,6 +317,7 @@ class FaceMlService {int bucket = 1;while (true) {+ final bucketStartTime = DateTime.now();final faceInfoForClustering =await FaceMLDataDB.instance.getFaceInfoForClustering(minScore: minFaceScore,@@ -354,7 +355,7 @@ class FaceMlService {await FaceMLDataDB.instance.clusterSummaryUpdate(clusteringResult.newClusterSummaries!);_logger.info(- 'Done with clustering ${offset + faceInfoForClustering.length} embeddings (${(100 * (offset + faceInfoForClustering.length) / totalFaces).toStringAsFixed(0)}%) in bucket $bucket, offset: $offset',+ 'Done with clustering ${offset + faceInfoForClustering.length} embeddings (${(100 * (offset + faceInfoForClustering.length) / totalFaces).toStringAsFixed(0)}%) in bucket $bucket, offset: $offset, in ${DateTime.now().difference(bucketStartTime).inSeconds} seconds',);if (offset + bucketSize >= totalFaces) {_logger.info('All faces clustered');