Commit graph

25515 commits

Author SHA1 Message Date
Manav Rathi
da5edc610f
Remove more tf 2024-04-11 12:24:03 +05:30
Manav Rathi
1f8ebc0bca
Inline 2024-04-11 12:22:09 +05:30
Manav Rathi
e57e44c139
Inline 2024-04-11 12:14:59 +05:30
Manav Rathi
6ba5852876
Prune 2024-04-11 12:10:02 +05:30
Manav Rathi
38e9e901f6
Inline 2024-04-11 12:06:50 +05:30
Manav Rathi
79a975a281
Remove various unused util methods 2024-04-11 12:05:09 +05:30
Manav Rathi
ce566f522d
Prune 2024-04-11 11:59:36 +05:30
Manav Rathi
d2e7925c63
Prune 2024-04-11 11:47:07 +05:30
Manav Rathi
006ea085fe
Prune 2024-04-11 11:43:05 +05:30
Manav Rathi
03df858dcc
Remove ssdMobileNetV2 2024-04-11 11:23:23 +05:30
Manav Rathi
da3b58661a
Remove blazeface 2024-04-11 11:21:19 +05:30
Manav Rathi
e6905577c6
Remove blazeface-back 2024-04-11 11:17:15 +05:30
Manav Rathi
e7902c5d83
Remove more tf 2024-04-11 11:15:15 +05:30
Manav Rathi
3182d67ca1
Remove tf utils 2024-04-11 11:13:52 +05:30
Manav Rathi
1ad5cb83f9
Remove object detection related code 2024-04-11 11:09:32 +05:30
Neeraj Gupta
830483ca68 [server] Remove existing scheduledDelete entries if account is recovered 2024-04-11 11:03:57 +05:30
Manav Rathi
24a4c73351
[server] Reduce noise from error logs (#1409)
## Description

## Tests
2024-04-11 10:56:00 +05:30
Neeraj Gupta
02e8861e96 [server] Remove entry from data cleanup on account recovery 2024-04-11 10:54:38 +05:30
Neeraj Gupta
339d728774 [server] Handle no user err gracefully 2024-04-11 10:29:39 +05:30
Neeraj Gupta
fa195af971 [server]Change log level to warning 2024-04-11 10:26:19 +05:30
Neeraj Gupta
ed69de9875 [server]Log invalid password at warn level 2024-04-11 10:21:56 +05:30
Manav Rathi
6079ebbc05
[docs] Enteception (#1408)
Add FAQ about storing Ente 2FA in Ente Auth.
2024-04-11 09:28:16 +05:30
Manav Rathi
17f84398b7
Enteception 2024-04-11 09:26:45 +05:30
Manav Rathi
26c528f359
yarn pretty 2024-04-11 09:03:51 +05:30
Manav Rathi
b6e1c4d3da
Inline 2024-04-10 21:36:43 +05:30
Manav Rathi
0ee416c91b
git rm -r apps/photos/public/js/{tesseract,tfjs,tflite} 2024-04-10 21:32:22 +05:30
Manav Rathi
3e8d88caf2
git rm -r apps/photos/public/models 2024-04-10 21:31:06 +05:30
Manav Rathi
52342a23cb
Remove tensorflow packages
yarn workspace photos remove "@tensorflow-models/coco-ssd" "@tensorflow/tfjs-backend-cpu" "@tensorflow/tfjs-backend-webgl" "@tensorflow/tfjs-converter" "@tensorflow/tfjs-core" "@tensorflow/tfjs-tflite"
2024-04-10 21:29:23 +05:30
Manav Rathi
f6c47138e1
Addedfaq-v1 (#1404) 2024-04-10 21:13:51 +05:30
Manav Rathi
549ad77ac6
[desktop] Various improvements (#1407)
- Restore macOS icon
- Remove unnecessary require
- Spruce dependencies docs
- Use standard import for jpeg-js
- Rearrange files
- Import onnxruntime with TypeScript types
2024-04-10 21:13:01 +05:30
Manav Rathi
500022d4b9
Import onnxruntime with TypeScript types
Refs:
- https://github.com/microsoft/onnxruntime/issues/17979
2024-04-10 21:01:30 +05:30
Manav Rathi
2da9565dcb
Rearrange files 2024-04-10 20:44:52 +05:30
Manav Rathi
8f8d93d11e
Use standard import for jpeg-js 2024-04-10 20:36:46 +05:30
Manav Rathi
008b6d5186
Spruce dependencies docs 2024-04-10 20:36:46 +05:30
Manav Rathi
d913cbeae5
Remove unnecessary require 2024-04-10 20:32:32 +05:30
Manav Rathi
11451efffd
Restore macOS icon
git checkout 42679bc9daa4108681683079f4cb1f2832f4578c~ -- build/icon.icns
2024-04-10 20:32:32 +05:30
Manav Rathi
66c06c7601
[desktop] Build ARM64 variant of Windows (#1405)
Fixes https://github.com/ente-io/ente/issues/1374

A customer reported that the app fails to run on Windows ARM. The error
is coming when trying to load ONNX.

ONNX runtime supports Windows ARM, e.g. see
-
https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32
- https://github.com/microsoft/onnxruntime/issues/18078

The issue then seems to be that we're not actually building for Windows
ARM. I'm not sure about this (don't have a Windows ARM machine at hand),
but my theory is that since we don't ask Electron Builder to build for
win arm64, it doesn't copy the corresponding ONNX binary into the
generated bundle.

Other refs:
- https://www.electron.build/cli.html
2024-04-10 19:34:35 +05:30
Manav Rathi
ecf40a70cf
[desktop] Build ARM64 variant of Windows
Fixes https://github.com/ente-io/ente/issues/1374

A customer reported that the app fails to run on Windows ARM. The error is
coming when trying to load ONNX.

ONNX runtime supports Windows ARM, e.g. see
- https://www.jsdelivr.com/package/npm/onnxruntime-node?tab=files&path=bin%2Fnapi-v3%2Fwin32
- https://github.com/microsoft/onnxruntime/issues/18078

The issue then seems to be that we're not actually building for Windows ARM. I'm
not sure about this (don't have a Windows ARM machine at hand), but my theory is
that since we don't ask Electron Builder to build for win arm64, it doesn't copy
the corresponding ONNX binary into the generated bundle.

Other refs:
- https://www.electron.build/cli.html
2024-04-10 19:33:37 +05:30
Manav Rathi
4a69e9260c
[web] Import the scaffolding to sync face embeddings from web_face_v2 (#1402)
This PR cherry picks Neeraj's ML related changes from the web_face_v2
branch.

Similar to https://github.com/ente-io/ente/pull/1399, this gets us one
step closer to integrating ONNX-YOLO with our desktop app. But it is not
currently in a usable state (The web app's functionality remains
untouched).
2024-04-10 16:53:48 +05:30
Manav Rathi
18937581a5
Lint fixes 2024-04-10 16:41:26 +05:30
Neeraj Gupta
eefac7fd01
[web] Import the scaffolding to sync face embeddings from web_face_v2
This PR cherry picks Neeraj's ML related changes from the web_face_v2 branch.

Similar to https://github.com/ente-io/ente/pull/1399, this gets us one step
closer to integrating ONNX-YOLO with our desktop app. But it is not currently in
a usable state (The web app's functionality remains untouched).
2024-04-10 16:38:12 +05:30
Manav Rathi
334fd61ea3
[desktop] Code tweaks (#1401)
- Remove top level wrapper
- Document the tray icon
- Update to the new product name where possible
2024-04-10 16:30:54 +05:30
Ashil
3542c8eeff
[Mobile][Photos] Bump up version to 0.8.78 (#1400) 2024-04-10 16:10:54 +05:30
Manav Rathi
c73c674ee4
Update to the new product name where possible
(without breaking auto-updates)
2024-04-10 16:07:25 +05:30
Manav Rathi
e57e6845a5
Product name 2024-04-10 16:06:04 +05:30
Manav Rathi
3123caea92
Document the tray icon 2024-04-10 16:05:52 +05:30
Manav Rathi
4e3cce51de
Inline 2024-04-10 15:59:57 +05:30
Manav Rathi
127bb9988f
Remove top level wrapper 2024-04-10 15:55:58 +05:30
Manav Rathi
6fc82ff062
[web] Import ONNX-YOLO face changes from the web_face branch (#1399)
Laurens has made the relevant changes to get ONNX-YOLO face detection
working in a manner where the generated embeddings are the same as what
get generated by the corresponding ML stack in the mobile client.

This PR cherry picks his ML related changes from the branch he was
working in, but leaves out the surrounding scaffolding (We cannot merge
that branch directly because it relies on wasm that we don't need and
don't want to commit to main).

At this point this functionality is correct but not usable - the next
step will be to tie this to the ONNX runtime that we already have on the
Node.js layer of our desktop app.

**Tests**

- yarn dev + smoke test
- yarn build + smoke test
- yarn lint
2024-04-10 15:36:03 +05:30
Manav Rathi
45d22d5863
Undo concurrency change 2024-04-10 15:34:21 +05:30