laurenspriem
e84c9e604a
[mob][photos] misplaced comment
2024-07-02 17:37:28 +05:30
laurenspriem
16e6812319
[mob][photos] Embedding normalization function
2024-07-02 17:34:22 +05:30
laurenspriem
53d5625499
[mob][photos] Move ONNX model initialization in abstract class
2024-07-02 17:18:40 +05:30
laurenspriem
55858eba0b
[mob][photos] Small cleanup of FaceMlService
2024-07-02 15:45:42 +05:30
laurenspriem
351d5f85ac
[mob][photos] Minor change
2024-07-02 14:27:37 +05:30
laurenspriem
6c3ba60b1b
[mob][photos] Create separate FaceRecognitionService
2024-07-02 14:01:23 +05:30
laurenspriem
f77a33a2c0
[mob][photos] Remove old todo
2024-07-02 13:31:00 +05:30
laurenspriem
9e76c31655
[mob][photos] Move cosine function
2024-07-02 13:30:23 +05:30
laurenspriem
4871755140
[mob][photos] FileML for faces cleanup unused clip embedding attribute
2024-07-02 13:20:09 +05:30
laurenspriem
b0c92f8fe0
[mob][photos] Some debug prints
2024-06-29 19:25:13 +05:30
laurenspriem
0fe85390d3
[mob][photos] Temp lower minimum similarity threshold
2024-06-29 19:22:55 +05:30
laurenspriem
6d1c73d90e
[mob][photos] Enable only clip embedding push again
2024-06-29 19:20:48 +05:30
laurenspriem
5eb02c242c
[mob][photos] Small fix
2024-06-29 19:17:47 +05:30
laurenspriem
dcb90f9e59
[mob][photos] Only do tokenizer init in computer
2024-06-29 15:29:24 +05:30
laurenspriem
4764fddd61
[mob][photos] Get tokenizer from remote instead of assets
2024-06-29 14:49:11 +05:30
laurenspriem
9f1ed16364
[mob][photos] Rename score to similarity for clarity
2024-06-29 13:54:58 +05:30
laurenspriem
f75b8b9950
[mob][photos] Logging
2024-06-29 12:14:58 +05:30
laurenspriem
9b41180b2d
[mob][photos] Run clip in separate isolate
2024-06-29 12:13:41 +05:30
laurenspriem
9610abadbe
[mob][photos] Use unquantized text encoder for clip
2024-06-28 18:51:32 +05:30
laurenspriem
63b55f2759
[mob][photos] Make clip use full file
2024-06-28 18:49:28 +05:30
laurenspriem
8381598944
[mob][photos] Refactor getting file path
2024-06-28 18:47:50 +05:30
laurenspriem
21483eacb4
[mob][photos] Remove computer for clip for now
2024-06-28 18:22:33 +05:30
laurenspriem
d7e1b737d8
[mob][photos] Use existing image utils for clip preprocessing
2024-06-28 18:20:35 +05:30
laurenspriem
f03cea7252
[mob][photos] Inline
2024-06-28 15:56:27 +05:30
laurenspriem
06774aeb61
[mob][photos] Fix stupid error
2024-06-28 15:53:48 +05:30
laurenspriem
a16bf196b3
[mob][photos] Temporarily turn off clip embedding sync
2024-06-28 15:43:41 +05:30
laurenspriem
cfca11a628
[mob][photos] Improve readability
2024-06-27 21:49:53 +05:30
laurenspriem
c5bcc1992c
[mob][photos] Small fix
2024-06-26 23:53:48 +05:30
laurenspriem
2c9b0e77ba
[mob][photos] Force run on ML page
2024-06-26 23:11:23 +05:30
laurenspriem
ca7096b87c
[mob][photos] Rename
2024-06-26 23:09:27 +05:30
laurenspriem
3a8b2cf7b8
[mob][photos] Small fix
2024-06-26 23:06:10 +05:30
laurenspriem
69bfaf2033
[mob][photos] Only load models when actually indexing locally
2024-06-26 22:00:31 +05:30
laurenspriem
0d12f17576
[mob][photos] Remove cooldown
2024-06-26 18:58:53 +05:30
Ashil
f67dc4893f
[mob][photos] Cache results for Magic section (only visible to internal users) ( #2282 )
...
## Description
- Use cached results for magic section so that it does't anymore have to
wait for ML framework to be initialised and doesn't have to re-compute
results every time, which means faster loading of the search tab.
- For internal users, all results in
[here](https://discover.ente.io/v1.json ) will show up.
- For non-internal users, once available, results will be limited to 4.
- 4 random prompts are selected from
[here](https://discover.ente.io/v1.json ) with non-empty results and are
cached.
- The cache updates when the data updates
[here](https://discover.ente.io/v1.json ) (checks size to compare) or in
3 days since the last update.
2024-06-25 12:33:39 +05:30
laurenspriem
33ab69e2d8
Merge branch 'main' into face_cleanup
2024-06-24 17:50:16 +05:30
ashilkn
69bd1c8670
Merge branch 'main' into cache_magic_section
2024-06-24 17:31:58 +05:30
laurenspriem
6ea449bd83
[mob][photos] Move ml exceptions
2024-06-24 17:29:21 +05:30
laurenspriem
47128ab52d
[mob][photos] Store local empty clip result on errors
2024-06-24 15:04:01 +05:30
laurenspriem
ef0396983b
[mob][photos] Remove unused method
2024-06-24 10:59:57 +05:30
ashilkn
f5873d2ade
[mob][photos] MagicCache model and MagicCacheService
2024-06-24 10:19:36 +05:30
Neeraj Gupta
b2f13c4b3d
[photos] Fix late init error
2024-06-23 13:12:13 +05:30
Neeraj Gupta
f30d1fe45f
[photos] Skip sending handled error to sentry
2024-06-23 13:10:49 +05:30
Neeraj Gupta
f8d1851311
[mob] Fix range error in getUploadedFiles
2024-06-23 12:24:44 +05:30
laurenspriem
897245d6c1
[mob][photos] Cleanup alignment
2024-06-22 18:23:53 +05:30
laurenspriem
99e4d098e3
[mob][photos] Cleanup detection
2024-06-22 18:20:53 +05:30
laurenspriem
b276344f1e
[mob][photos] Cleanup face result
2024-06-22 18:17:38 +05:30
laurenspriem
87e2a32d49
[mob][photos] Remove old mlVersions
2024-06-22 13:54:42 +05:30
laurenspriem
af11ff21f4
[mob][photos] Cleanup exceptions
2024-06-22 13:02:23 +05:30
laurenspriem
aab7e39ab3
[mob][photos] Cleanup feedback
2024-06-22 12:53:35 +05:30
laurenspriem
7c535adff1
[mob][photos] Make blur detection static method
2024-06-22 00:36:07 +05:30