Commit Graph

2258 Commits

Author SHA1 Message Date
Laurens Priem
024aa0a41d Ml fixes (#3752)
## Description

Various small fixes and improvements

## Tests

Tested in debug mode on my Pixel 8.
2024-10-18 17:17:36 +05:30
laurenspriem
8f0dc8b8dc [mob][photos] Move name banner to top 2024-10-18 14:50:02 +05:30
Neeraj Gupta
6a2166809f [mob] Schedule sync after runApp 2024-10-18 14:04:17 +05:30
laurenspriem
cc1866893e [mob][photos] Extract to string 2024-10-17 22:07:21 +05:30
laurenspriem
53cb48b87c [mob][photos] Make merge clearer 2024-10-17 22:02:40 +05:30
laurenspriem
fefd785e50 [mob][photos] Extract string 2024-10-17 20:58:27 +05:30
laurenspriem
773188db90 [mob][photos] Extract string 2024-10-17 20:56:43 +05:30
laurenspriem
a3140d9d76 Merge branch 'main' into ml_fixes 2024-10-17 17:29:54 +05:30
Neeraj Gupta
a398f7e19e [mob] Switch to better pkg for user-agent 2024-10-17 17:15:03 +05:30
laurenspriem
89d6b0d92f [mob][photos] Logs 2024-10-17 17:11:16 +05:30
laurenspriem
2b338a3c63 [mob][photos] Check and remove old models 2024-10-17 17:10:32 +05:30
Neeraj Gupta
b3243be90a [mob] Add utility to quickly measure time taken from previous step 2024-10-17 16:26:32 +05:30
Neeraj Gupta
d66ab0b24e [mob] Generated strings 2024-10-17 15:56:26 +05:30
Neeraj Gupta
a7daf36a57 [mob] Lint fix 2024-10-17 15:56:20 +05:30
laurenspriem
2b8c93ec1b Merge branch 'main' into ml_fixes 2024-10-17 15:45:17 +05:30
Neeraj Gupta
787f2908da [mob] ServiceLocator for EntityService 2024-10-17 15:44:34 +05:30
laurenspriem
edae970e8c [mob][photos] Move up remove option for cluster 2024-10-17 15:34:36 +05:30
Neeraj Gupta
08b07cdcf1 Merge remote-tracking branch 'origin/main' into clean_up 2024-10-17 15:31:52 +05:30
Neeraj Gupta
5cff4357ee [mob] ServiceLocator for updateService 2024-10-17 15:31:28 +05:30
laurenspriem
cc1332856d [mob][photos] Surface hide within person cluster 2024-10-17 15:30:12 +05:30
Neeraj Gupta
230f0b63d6 [mob] Fix typo 2024-10-17 15:11:50 +05:30
Crowdin Bot
39c98b1e6f New Crowdin translations by GitHub Action 2024-10-17 09:17:27 +00:00
Neeraj Gupta
b9e5b10ed6 [mob] Use service locator for storage bonus 2024-10-17 14:33:00 +05:30
Neeraj Gupta
46e3faeb46 [mob] refactor 2024-10-17 14:09:18 +05:30
Neeraj Gupta
54461453eb [mob] Remove unused method 2024-10-17 13:33:08 +05:30
Neeraj Gupta
b4d076d44c [mob] Hide storage bonus banner after single tap 2024-10-17 11:38:48 +05:30
laurenspriem
f2849b3daf [mob][photos] Show smaller people clusters for small libraries 2024-10-17 10:31:32 +05:30
ashilkn
c62a3258ad [mob][photos] Refactor 2024-10-16 16:00:23 +05:30
ashilkn
deef7ac290 [mob][photos] Wrap with unawaited 2024-10-16 15:55:15 +05:30
ashilkn
15074c1945 [mob][photos] Make return type more correct 2024-10-16 15:49:02 +05:30
laurenspriem
7df6872579 [mob][photos] Show suggestions more often 2024-10-16 15:47:42 +05:30
ashilkn
182972ce4a [mob][photos] Add delay before calling setHideAppContent in init of LockScreenSettings to check whether 'lateinit property activity has not been initialized' PlatformExecption goes away 2024-10-16 15:47:42 +05:30
laurenspriem
2f7515f9e3 [mob][photos] Clarify ml debug options 2024-10-16 14:58:54 +05:30
laurenspriem
e6af91e9e3 [mob][photos] Comment 2024-10-16 12:28:55 +05:30
laurenspriem
04688225fa [mob][photos] Option for disabling remote fetch 2024-10-16 12:28:45 +05:30
Ashil
7dbc1f9389 [mob][photos] Fix system back gesture closing the app when triggered after closing a modal (#3723)
Closes #3613 
Resolves issues in #3524 which are reproducible after a modal is closed
(like bottom sheets, dialogs etc).
2024-10-16 09:49:14 +05:30
ashilkn
0a8d403ea0 [mob][photos] Fix system back gesture closing the app when triggered after closing a modal 2024-10-16 09:09:07 +05:30
Ashil
745ff262da [mob][photos] fix video editor back button (#3695)
## Description
Back doesn't work when in video editor.
## Tests
2024-10-15 17:55:59 +05:30
Neeraj Gupta
2b147c1a87 [mob] Minor improvements for ml sync 2024-10-15 16:34:38 +05:30
Neeraj Gupta
270aa4301e [mob] Fix query for getPersonToClusterIdToFaceIds 2024-10-15 15:41:24 +05:30
Neeraj Gupta
81d9cc6e7f Merge remote-tracking branch 'origin/main' into face_parse 2024-10-15 15:19:03 +05:30
Neeraj Gupta
2e15cb35bc [mob] Handle invalid logger name 2024-10-15 15:18:26 +05:30
Neeraj Gupta
bee9694f34 [mob] Add mount check 2024-10-15 15:13:14 +05:30
Neeraj Gupta
9f1a3ad7d6 [mob] Handle int value for face[blur] json 2024-10-15 15:06:32 +05:30
Neeraj Gupta
5e401cc9a8 [mob] Add missing await 2024-10-15 14:59:50 +05:30
Neeraj Gupta
2e36ea788c [mob] Fix init for discovery section 2024-10-15 14:52:36 +05:30
ashilkn
97fad5962e [mob][photos] Fix build error due to 'other' missing in translation 2024-10-15 12:01:44 +05:30
Aman Raj Singh Mourya
73ee5a8131 [mob][photos] fix video editor back button 2024-10-14 19:02:15 +05:30
Crowdin Bot
c89efebf7a New Crowdin translations by GitHub Action 2024-10-14 01:05:03 +00:00
Laurens Priem
b9dd0bc3b7 ONNX changes (#3654)
## Description

- Quantized the CLIP text encoder
- Moved preprocessing and postprocessing of face detection inside the
model
- Optimised the ONNX models more wherever possible
- Created a place in infra for ML version control of sorts

## Tests

Have tested the changes on mobile, but not on desktop. Please carefully
review the changes on desktop, especially regarding the face detection
post-processing, more specifically the image (re-)size correction.
2024-10-11 10:02:11 +05:30