-
Does anyone have any advice for enabling the recognize plugin (for object detection, faces, etc... in images) on a kubernetes hosted instance of nextcloud. Everything appears to install correctly and I can't make out any log entries that would claim otherwise, but the recognize settings always indicate that "The machine learning models still need to be downloaded". Looking at the code, it appears that it is looking for modelsDownloaded in the vue state: And modelsDownloaded is set by checking the models path which, in the case of the container, doesn't exist. Is there somewhere to download these models manually and place them in the container or is that supposed to be done when the plugin is enabled? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hoi! Sorry for the delay. I actually just ran into this recently, so fear not! You can download them like this: # $NEXTCLOUD_POD should be the name of *your* nextcloud pod :) (change /bin/bash to /bin/sh if using an alpine image)
kubectl exec $NEXTCLOUD_POD -- su -s /bin/bash www-data -c "php occ recognize:download-models" |
Beta Was this translation helpful? Give feedback.
Hoi! Sorry for the delay. I actually just ran into this recently, so fear not! You can download them like this: