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 use this library for a talk I'm giving, and it looks dope! However when I try to install everything looks cool until I try to actually start up the service, at which point I get this:
Error: Cannot find model with path 'web-model' in IndexedDB.
at s.onsuccess (tf-core.esm.js:14876:1)
tf-layers.esm.js:192 Uncaught (in promise) Error: Unknown layer: Functional. This may be due to one of the following reasons:
The layer is defined in Python, in which case it needs to be ported to TensorFlow.js or your JavaScript code.
The custom layer is defined in JavaScript, but is not registered properly with tf.serialization.registerClass().
at new t (tf-layers.esm.js:192:1)
at deserializeKerasObject (tf-layers.esm.js:297:1)
at deserialize (tf-layers.esm.js:2419:1)
at tf-layers.esm.js:4941:1
at tf-layers.esm.js:149:1
at Object.next (tf-layers.esm.js:161:1)
at o (tf-layers.esm.js:50:1)
I asked a friend to try installing according to the instructions and he got the same thing. Googling around suggests that perhaps the issue is that the model was not trained on the same versions of tensorflowjs and keras as I'm using, but I don't know how to find these versions. Thanks!
The text was updated successfully, but these errors were encountered:
troutgirl
changed the title
Error when installing
Error when installing Cannot find model with path 'web-model' in IndexedDB.
Aug 28, 2022
I'm trying to use this library for a talk I'm giving, and it looks dope! However when I try to install everything looks cool until I try to actually start up the service, at which point I get this:
Error: Cannot find model with path 'web-model' in IndexedDB.
at s.onsuccess (tf-core.esm.js:14876:1)
tf-layers.esm.js:192 Uncaught (in promise) Error: Unknown layer: Functional. This may be due to one of the following reasons:
at new t (tf-layers.esm.js:192:1)
at deserializeKerasObject (tf-layers.esm.js:297:1)
at deserialize (tf-layers.esm.js:2419:1)
at tf-layers.esm.js:4941:1
at tf-layers.esm.js:149:1
at Object.next (tf-layers.esm.js:161:1)
at o (tf-layers.esm.js:50:1)
I asked a friend to try installing according to the instructions and he got the same thing. Googling around suggests that perhaps the issue is that the model was not trained on the same versions of tensorflowjs and keras as I'm using, but I don't know how to find these versions. Thanks!
The text was updated successfully, but these errors were encountered: