Skip to content

Error when installing Cannot find model with path 'web-model' in IndexedDB. #42

@troutgirl

Description

@troutgirl

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:

  1. The layer is defined in Python, in which case it needs to be ported to TensorFlow.js or your JavaScript code.
  2. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions