markthorpe
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
yes.. changing the GPU to the APU and using the default CPU-based smartsearch works. Sad... but that failed setup trying to use the RTX 3060 (which is still physically installed) and CUDA for smart search/machine learning took forever to run because it was failing on every image. This was relatively quick for 47K images and I now see PEOPLE as a choice in EXPLORE in Immich. I can now start identifying people and, I expect, other search terms will work also.
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
Quick FYI:
After numerous attempts with Microsoft Copilot to debug and help, it mostly concluded with Copilot suggesting some kind of package installation for NVIDIA support that TrueNAS ElectricEel prevents. Additionally, I noticed that the logs showing requests to "http://machine-learning:32002/" just weren't happening, which I assume is a setup issue that I couldn’t overcome.
As a result, I switched the GPU selection to an AMD APU and changed the CUDA option in the Immich setup to the default CPU. Now, the machine-learning logs seem to be functioning properly. The AMD chip is performing well; the Minisforum BD790i essentially has a nice laptop motherboard in a mini-ITX form. With 64GB of memory, it has a significant cache, and I’ve assigned 4 of the 8 cores to Immich.
If this setup proves successful, I may opt to ditch the GPU for a proper SATA extension card instead of the odd 6-SATA port NVMe adapter. This would indicate that the issues with my setup were related to the NVIDIA GPU. I even joined the HexOS beta, only to discover that they don’t support GPUs and machine learning yet. I’ll keep an eye on their progress for the future.
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
one thing I was unclear on was the "bypass" setting on install.. it said (non-nvidia gpus).. now.. there is an AMD APU on the mobo but I also have a 3060 that shows up as recognized. I was unsure what to do there. But that might not be the issue. There is also a setting for whether to use Cuda and also a setting somewhere for video for the NVENC.. I aussmed I wanted Cuda and NVENC and. I think I see in the log that it sets execution providers to ['CUDAExecutionProvider', 'CPUExecutionProvider'], after loading the model 'ViT-B-32__openai'
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
I just watched a video that showed off Explore-People... I only see Places under Explore option. Now, I know smart search is still running.. this time around. I have reinstalled immich from scratch and had the same results last time after smart search and everything else "completed". It took many days to complete.. way too many images uploaded before I realized something was wrong. I think the process to machine learn every image is called upon.. and fails each time. So more images just adds time before you realize it did nothing. So I am hoping someone can see what's wrong in the setup and suggest how to fix it.
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
[01/03/25 20:38:16] DEBUG Could not load ANN shared libraries, using ONNX:
libmali.so: cannot open shared object file: No such file or directory
libmali.so: cannot open shared object file: No such file or directory
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
Right now Smart Search thinks it is running, going through 47K images 1 at a time (I read something about someone failing with it set to 2).. but teh machine leaning log shows this:
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
Zeus.. let me ask you this.. how do you know smart search is working? How do I know face detection has worked? As far as I can tell from looking this up.. I should be able to go to INFO on an image and identify the face in the image... then, presumably, it will update teh database of photos with that same face. No such interface presents itself to me.
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
for example.. I first uploaded just a few images.. some people and dogs.. yet I saw nowhere to identify the people after smartsearch allegedly completed. And searching for "dog" or "dogs" in context failed to search. Search fails. I think the clip of the machine learning log shows that machine learning, and thus smart search, is failing on every image.. therefore there is no database of identified images to search.. that is a guess
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
they do not work... nor does face detection which requires smart search to run first
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
I have read the checklist and provided clips of all the relevant logs, afaik. Immich does function. I can go to 192.168.50.199:30041 and get the web interface. I have used tailscale and duckdns.org to access from the app on mobile.. though, mobile app on my local net cannot get to teh 198. local ipaddress in the app.. it does work in a browser on mobile. I will tackle the whole HTTPS issue later.. but I need smart search and machine leaning to work.
18 replies
IImmich
•Created by markthorpe on 1/3/2025 in #help-desk-support
Machine Learning and Smart Search Immich on Truenas Scale
18 replies
IImmich
•Created by Amir on 1/3/2025 in #help-desk-support
Missing .imch file in clean install on Windows
I had this problem and solved it by deleting the dataset (in my case library) and recreating it. I also read about using shell to to do "touch .immich" to create the file in the directory. In my case the error was caused because I first installed immich without creating all the proper datasets.. so it went inside the ix_* volume. I wanted it in the proper structure so I tried MV (moving) all teh images into library and then deleting and reinstalling immich. I then again moved all the files I stuck into library into a seperate dataset I called Media.. outside the immich structure... then wiped library and recreated it. All took time. Now I am going to start a support item on smart search and machine learning which I cannot seem to get to work.
29 replies