π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
More logging
laurenspriemc6734a5cb7a9
diff --git a/mobile/apps/photos/lib/services/machine_learning/similar_images_service.dart b/mobile/apps/photos/lib/services/machine_learning/similar_images_service.dartindex da050a0153..f9d9fceb02 100644--- a/mobile/apps/photos/lib/services/machine_learning/similar_images_service.dart+++ b/mobile/apps/photos/lib/services/machine_learning/similar_images_service.dart@@ -88,6 +88,13 @@ class SimilarImagesService {// Load cached datafinal SimilarFilesCache? cachedData = await _readCachedSimilarFiles();+ if (cachedData == null) {+ _logger.warning("No cached similar files found");+ } else {+ _logger.info(+ "Cached similar files found with ${cachedData.similarFilesJsonStringList.length} groups",+ );+ }// Determine if we need full refreshbool needsFullRefresh = false;@@ -164,6 +171,7 @@ class SimilarImagesService {double distanceThreshold,bool exact,) async {+ _logger.info("Performing incremental update for similar files");final existingGroups = await cachedData.similarFilesList();final cachedFileIDs = cachedData.allCheckedFileIDs;final currentFileIDsSet = currentFileIDs.map((id) => id.toInt()).toSet();@@ -300,6 +308,7 @@ class SimilarImagesService {double distanceThreshold,bool exact,) async {+ _logger.info("Performing full search for similar files");final w = (kDebugMode ? EnteWatch('getSimilarFiles') : null)?..start();// Run bulk vector searchfinal (keys, vectorKeys, distances) =