tensorflow / tfjs

A WebGL accelerated JavaScript library for training and deploying ML models.
https://js.tensorflow.org
Apache License 2.0
18.51k stars 1.94k forks source link

tfjs@latest:2 Uncaught (in promise) Error #2989

Closed arshadshk closed 4 years ago

arshadshk commented 4 years ago

following error is shown in console - tfjs@latest:2 Uncaught (in promise) Error: Provided weight data has no target variable: bidirectional_1/forward_lstm_1/lstm_cell_4/kernel at new e (tfjs@latest:2) at e.loadWeights (tfjs@latest:2) at tfjs@latest:2 at tfjs@latest:2 at Object.next (tfjs@latest:2) at o (tfjs@latest:2) e @ tfjs@latest:2 e.loadWeights @ tfjs@latest:2 (anonymous) @ tfjs@latest:2 (anonymous) @ tfjs@latest:2 (anonymous) @ tfjs@latest:2 o @ tfjs@latest:2 async function (async) run @ l2.html:7 (anonymous) @ l2.html:14

TensorFlow.js version

using pretrained model using keras, and chrome browser

lina128 commented 4 years ago

Hi @arshadshk, does it happen on other versions too? You can change this line to:

arshadshk commented 4 years ago

Hey @lina128 same problem with 1.7.0

arshadshk commented 4 years ago

Resolved. Used tensorflowjs_wizard and selected Keras HDF5 with 2x compression.

Githubissues.
  • Githubissues is a development platform for aggregating issues.