-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logging filled with "Warning recognize Exception Movinet does not support WASM mode" eventhough it is not enabled #1209
Comments
Hello 👋 Thank you for taking the time to open this issue with recognize. I know it's frustrating when software I look forward to working with you on this issue |
Same problem here with Nextcloud All-in-One. {
"reqId": "M77KbARyLafsexL0GNyp",
"level": 3,
"time": "2024-10-18T17:12:06+00:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "",
"url": "--",
"message": "Error while running background job OCA\\Recognize\\BackgroundJobs\\ClassifyMovinetJob (id: 783951, arguments: {\"storageId\":8,\"rootId\":4221846})",
"userAgent": "--",
"version": "29.0.8.1",
"exception": {
"Exception": "OCA\\Recognize\\Exception\\Exception",
"Message": "Movinet does not support WASM mode",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyMovinetJob.php",
"line": 42,
"function": "classify",
"class": "OCA\\Recognize\\Classifiers\\Video\\MovinetClassifier",
"type": "->",
"args": [
[
[
"OCA\\Recognize\\Db\\QueueFile",
2839
],
[
"OCA\\Recognize\\Db\\QueueFile",
2840
],
[
"OCA\\Recognize\\Db\\QueueFile",
2841
]
]
]
},
{
"file": "/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifierJob.php",
"line": 73,
"function": "classify",
"class": "OCA\\Recognize\\BackgroundJobs\\ClassifyMovinetJob",
"type": "->",
"args": [
[
[
"OCA\\Recognize\\Db\\QueueFile",
2839
],
[
"OCA\\Recognize\\Db\\QueueFile",
2840
],
[
"OCA\\Recognize\\Db\\QueueFile",
2841
]
]
]
},
{
"file": "/var/www/html/custom_apps/recognize/lib/BackgroundJobs/ClassifyMovinetJob.php",
"line": 33,
"function": "runClassifier",
"class": "OCA\\Recognize\\BackgroundJobs\\ClassifierJob",
"type": "->",
"args": [
"movinet",
[
8,
4221846
]
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/Job.php",
"line": 80,
"function": "run",
"class": "OCA\\Recognize\\BackgroundJobs\\ClassifyMovinetJob",
"type": "->",
"args": [
[
8,
4221846
]
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
"line": 102,
"function": "start",
"class": "OCP\\BackgroundJob\\Job",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/var/www/html/lib/public/BackgroundJob/TimedJob.php",
"line": 92,
"function": "start",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
},
{
"file": "/var/www/html/cron.php",
"line": 177,
"function": "execute",
"class": "OCP\\BackgroundJob\\TimedJob",
"type": "->",
"args": [
[
"OC\\BackgroundJob\\JobList"
]
]
}
],
"File": "/var/www/html/custom_apps/recognize/lib/Classifiers/Video/MovinetClassifier.php",
"Line": 37,
"message": "Error while running background job OCA\\Recognize\\BackgroundJobs\\ClassifyMovinetJob (id: 783951, arguments: {\"storageId\":8,\"rootId\":4221846})",
"exception": [],
"CustomMessage": "Error while running background job OCA\\Recognize\\BackgroundJobs\\ClassifyMovinetJob (id: 783951, arguments: {\"storageId\":8,\"rootId\":4221846})"
},
"id": "67129720c7102"
} My configuration:
My settings: |
And it cannot be manually disabled because the checkbox is grayed out when using WASM mode ( recognize/src/components/ViewAdmin.vue Lines 181 to 183 in 3db9784
The solution is to either temporarily disable WASM mode, disable video recognition, re-enable WASM mode, or just run the following
|
Ah, that makes sense, I'll change this to allow disabling even when movinet cannot be enabled. |
fixes #1209 Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Which version of recognize are you using?
8.1.1
Enabled Modes
Object recognition, Face recognition, Music recognition
TensorFlow mode
WASM mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
30.0.0
Which Operating system do you have installed?
Debian 12 (Linux 6.1.0-26-amd64 x86_64)
Which database are you running Nextcloud on?
MariaDB 11.4.3
Which Docker container are you using to run Nextcloud? (if applicable)
v30.0.0
How much RAM does your server have?
8GB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
I recently set up Nextcloud from scratch (using https://github.com/crazy-max/docker-nextcloud) and set up Recognize after fixing all setup errors. I enabled everything except for Video Recognition, but my log is still flooded with warnings about Movinet not being supported in WASM mode. I can't even enable or disable it in the administration settings for recognize so I'm assuming this is a bug.
Expected Behavior
When I don't enable Video Recognition, I shouldn't get a warning in the logs about it not being supported.
To Reproduce
Run Recognize in WASM mode, I guess.
Debug log
No response
The text was updated successfully, but these errors were encountered: