spacedrive/apps/mobile
Ericson "Fogo" Soares 7c90bcb95b
[ENG-1479] AI Prototype (#1845)
* First draft on image labeling

* Fixing execution providers for other OSs

* Better error handling and shutdown

* Working with shallow media processor

* bruh

* Fix warnings

* Now hooked to media processor job

* Link desktop app with libonnxruntime to avoid TLS error during startup

* Be able to change models on runtime
Revert to use labels table instead of tags

* A bug on a model-less inference

* Show AI labels on Inspector
 - Change yolo inference to use half precision
 - Add labels api to core

* Remove LD_PRELOAD

* Fix race condition on model executor shutdown

* Don't load all images in memory moron

* Embeed yolo model in prod build
 - Change yolo model path to new one relative to executable

* Disable volume watcher on linux, it was crashing the app
 - Invalidate labels when they are updated

* Rust fmt

* Minor changes

* Gate onnxruntime linking to the ai-models feature

* Add build script to sd-server to handle onnxruntime linking workaround

* Move AI stuff to its own crate and normalize deps

* Rust fmt

* Don't regenerate labels unless asked to

* Now blazingly fast

* Bad merge

* Fix

* Fix

* Add backend logic to download extra yolo models

* Add models api route
 - Add api call to get available model version
 - Add api call to change the model version

* Improve new model download logic
 - Add frontend to change image labeler model

* Fix new model downloader

* Fix model select width

* invalidate labels count after media_processor generates a new output

* Rename AI crate and first draft on download notifications

* fix types

---------

Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com>
Co-authored-by: Brendan Allan <brendonovich@outlook.com>
2023-12-19 09:28:57 +00:00
..
assets [MOB-2] Job Manager (#1114) 2023-08-25 21:40:07 +00:00
modules/sd-core [ENG-1479] AI Prototype (#1845) 2023-12-19 09:28:57 +00:00
scripts Mobile design changes (#1886) 2023-12-12 22:14:59 +00:00
src [ENG-1479] AI Prototype (#1845) 2023-12-19 09:28:57 +00:00
tests Mobile design changes (#1886) 2023-12-12 22:14:59 +00:00
.eslintrc.js [ENG-469] Make Prettier and ESLint work together (#706) 2023-04-14 21:21:21 +00:00
.gitattributes Mobile app (#352) 2022-08-08 20:29:14 -07:00
.gitignore Fix Android bridge + drop IOS and Android projects (#1336) 2023-09-13 10:07:26 +00:00
.svgrrc.js [ENG-971] More File Icons (code extensions) (#1217) 2023-08-22 14:45:31 +00:00
app.json Mobile design changes (#1886) 2023-12-12 22:14:59 +00:00
babel.config.js Change relative path to ~ 2022-09-05 00:30:34 +03:00
index.js [ENG-1067] Update phosphor to new package & update sort imports (#1330) 2023-09-11 15:26:44 +00:00
metro.config.js [MOB-22] Fix mobile dev build (#875) 2023-05-29 08:34:47 +00:00
package.json Mobile design changes (#1886) 2023-12-12 22:14:59 +00:00
README.md Mobile Explorer (#512) 2023-01-11 14:39:19 +03:00
tailwind.config.js [MOB-1] Theme support for Mobile (#755) 2023-05-04 08:10:31 +00:00
tsconfig.json Mobile CI with Tests (#631) 2023-04-03 08:12:28 +00:00

  • Make sure to run pnpm i if you make any change to the package mobile uses like assets.
  • If iOS build fails with node not found error, run echo "export NODE_BINARY=$(command -v node)" >> .xcode.env.local on mobile/ios/ directory.
  • If XCode can't find node, run ln -s "$(which node)" /usr/local/bin/node