You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to write a Chrome extension using the latest NSFW.js and TF.js. All models I try to use, though, return an error along the lines of "Kernel 'Slice'" or "Kernel 'Multiply' isn't registered for backend 'cpu' (or 'webgl', or whatever).
I've tried the models included in the repo, and also the models in GantMan/nsfw_model and TeSheng93/tfjs-mobilenetv3. I'm sure I'm doing something wrong, but I'm lost.
Uncaught (in promise) Error: Kernel 'Slice' not registered for backend 'cpu'
at Engine.runKernel (content.js:24596:13)
at slice_ (content.js:27129:17)
at slice__op (content.js:25190:22)
at slice4d_ (content.js:29498:10)
at slice4d__op (content.js:25190:22)
at content.js:37521:16
at content.js:24551:16
at Engine.scopedRun (content.js:24561:19)
at Engine.tidy (content.js:24550:17)
at tidy (content.js:25417:17)
The text was updated successfully, but these errors were encountered:
gboere
changed the title
Kernel 'Slice' ou 'Multiply' "not registered" for any backend, tried multiple models.
Kernel 'Slice' or 'Multiply' "not registered" for any backend, tried multiple models.
Aug 14, 2024
I'm trying to write a Chrome extension using the latest NSFW.js and TF.js. All models I try to use, though, return an error along the lines of "Kernel 'Slice'" or "Kernel 'Multiply' isn't registered for backend 'cpu' (or 'webgl', or whatever).
I've tried the models included in the repo, and also the models in
GantMan/nsfw_model
andTeSheng93/tfjs-mobilenetv3
. I'm sure I'm doing something wrong, but I'm lost.Error:
The text was updated successfully, but these errors were encountered: