π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Inline
Manav Rathicfbd7806c874
diff --git a/web/apps/photos/src/services/machineLearning/faceService.ts b/web/apps/photos/src/services/machineLearning/faceService.tsindex 6318650f6f..a8957d4b22 100644--- a/web/apps/photos/src/services/machineLearning/faceService.ts+++ b/web/apps/photos/src/services/machineLearning/faceService.ts@@ -245,12 +245,9 @@ class FaceService {) {// await this.init();- const clusteringConfig = DEFAULT_ML_SYNC_CONFIG.faceClustering;-- if (!allFaces || allFaces.length < clusteringConfig.minInputSize) {+ if (!allFaces || allFaces.length < 50) {log.info(- "[MLService] Too few faces to cluster, not running clustering: ",- allFaces.length,+ `Skipping clustering since number of faces (${allFaces.length}) is less than the clustering threshold (50)`,);return;}diff --git a/web/apps/photos/src/services/machineLearning/hdbscanClusteringService.ts b/web/apps/photos/src/services/machineLearning/hdbscanClusteringService.tsindex 0671b0bde1..bf39cd5303 100644--- a/web/apps/photos/src/services/machineLearning/hdbscanClusteringService.ts+++ b/web/apps/photos/src/services/machineLearning/hdbscanClusteringService.ts@@ -26,11 +26,11 @@ class HdbscanClusteringService implements ClusteringService {const hdbscan = new Hdbscan({input,- minClusterSize: config.minClusterSize,- minSamples: config.minSamples,- clusterSelectionEpsilon: config.clusterSelectionEpsilon,- clusterSelectionMethod: config.clusterSelectionMethod,- debug: config.generateDebugInfo,+ minClusterSize: 3,+ minSamples: 5,+ clusterSelectionEpsilon: 0.6,+ clusterSelectionMethod: "leaf",+ debug: true,});return {