|
@@ -39,15 +39,40 @@ This often happens when using a reverse proxy or cloudflare tunnel in front of I
|
|
|
|
|
|
### Why is Immich slow on low-memory systems like the Raspberry Pi?
|
|
|
|
|
|
-Immich uses optional machine-learning features to enhance search results. This feature, however, can be too heavy to run on a Raspberry Pi. To disable machine learning, comment out the `immich-machine-learning` section of your docker-compose.yml and set `IMMICH_MACHINE_LEARNING_ENABLED=false` in your .env file.
|
|
|
+Immich optionally uses machine learning for several features. However, it can be too heavy to run on a Raspberry Pi. You can [mitigate](/docs/FAQ.md#how-can-i-disable-machine-learning#how-can-i-lower-immichs-cpu-usage) this or [disable](/docs/FAQ.md#how-can-i-disable-machine-learning) machine learning entirely.
|
|
|
|
|
|
-### How to disable machine-learning and TypeSense?
|
|
|
+### How can I lower Immich's CPU usage?
|
|
|
|
|
|
-:::warning
|
|
|
-Disabling both will result in poor search experience and typesense utilizes CLIP embeddings which are generated by machine-learning.
|
|
|
+The initial backup is the most intensive due to the number of jobs running. The most CPU-intensive ones are transcoding and machine learning jobs (Tag Images, Encode CLIP, Recognize Faces), and to a lesser extent thumbnail generation. Here are some ways to lower their CPU usage:
|
|
|
+
|
|
|
+- Lower the job concurrency for these jobs to 1.
|
|
|
+- Under Settings > Transcoding Settings > Threads, set the number of threads to a low number like 1 or 2.
|
|
|
+- Set the `TYPESENSE_THREAD_POOL_SIZE` environmental variable and restart the Typesense container. For instance, `TYPESENSE_THREAD_POOL_SIZE=8` will limit it to 8 threads.
|
|
|
+- Under Settings > Machine Learning Settings > Facial Recognition > Model Name, you can change the facial recognition model to `buffalo_s` instead of `buffalo_l`. The former is a smaller and faster model, albeit not as good.
|
|
|
+ - You _must_ re-run the Recognize Faces job for all images after this for facial recognition on new images to work properly.
|
|
|
+- If these changes are not enough, see [below](/docs/FAQ.md#how-can-i-disable-machine-learning) for how you can disable machine learning.
|
|
|
+
|
|
|
+### How can I disable machine learning?
|
|
|
+
|
|
|
+:::info
|
|
|
+Disabling machine learning will result in a poor experience for searching and the 'Explore' page, as these are reliant on it to work as intended.
|
|
|
:::
|
|
|
|
|
|
-These features can be disabled by commenting out `immich-typesense` and `immich-machine-learning` sections of the docker-compose.yml and setting `IMMICH_MACHINE_LEARNING_ENABLED=false` & `TYPESENSE_ENABLED=false` in your .env file.
|
|
|
+Machine learning can be disabled under Settings > Machine Learning Settings, either entirely or by model type. For instance, you can choose to disable smart search with CLIP, but keep facial recognition enabled. This means that the machine learning service will only process the enabled jobs.
|
|
|
+
|
|
|
+However, disabling all jobs will not disable the machine learning service itself. To prevent it from starting up at all in this case, you can comment out the `immich-machine-learning` section of the docker-compose.yml.
|
|
|
+
|
|
|
+### How can I disable TypeSense?
|
|
|
+
|
|
|
+:::info
|
|
|
+Disabling Typesense will result in a poor search experience since searching is reliant on it.
|
|
|
+:::
|
|
|
+
|
|
|
+You can disable Typesense by commenting out the `immich-typesense` section of the docker-compose.yml and setting `TYPESENSE_ENABLED=false` in your .env file.
|
|
|
+
|
|
|
+### I'm getting errors about models being corrupt or failing to download. What do I do?
|
|
|
+
|
|
|
+You can delete the model cache volume, which is where models are downloaded. This will give the service a clean environment to download the model again.
|
|
|
|
|
|
### What happens to existing files after I choose a new [Storage Template](/docs/administration/storage-template.mdx)?
|
|
|
|
|
@@ -59,7 +84,7 @@ This is fixed by running the storage migration job.
|
|
|
|
|
|
### Why is object detection not very good?
|
|
|
|
|
|
-The model we used for machine learning is a prebuilt model, so the accuracy is not very good. It will hopefully be replaced with a better solution in the future.
|
|
|
+The default image tagging model is relatively small. You can change this for a larger model like `google/vit-base-patch16-224` by setting the model name under Settings > Machine Learning Settings > Image Tagging. You can then re-run the Image Tagging job to get improved tags.
|
|
|
|
|
|
### How can I see Immich logs?
|
|
|
|