Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Small changes

laurenspriema48c8b481e1e
diff --git a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart
index 7272d3ee67..8567e88685 100644
--- a/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart
+++ b/mobile/lib/services/machine_learning/face_ml/feedback/cluster_feedback.dart
@@ -342,10 +342,12 @@ class ClusterFeedbackService {
await FaceClusteringService.instance.predictWithinClusterComputer(
embeddings,
fileIDToCreationTime: fileIDToCreationTime,
- distanceThreshold: 0.14,
+ distanceThreshold: 0.22,
);
- if (clusterResult == null || clusterResult.isEmpty) {
+ if (clusterResult == null ||
+ clusterResult.newClusterIdToFaceIds == null ||
+ clusterResult.isEmpty) {
_logger.warning(
'[CheckMixedClusters] Clustering did not seem to work for cluster $clusterID of size ${allClusterToFaceCount[clusterID]}',
);