4

I have already converted keras model to tensorflowjs model. But when I am trying to load the same in browser it gives error which says that

Uncaught (in promise) Error: Provided weight data has no target variable: block1_conv1_1/kernel.

I have used transfer learning on vgg16 model in keras.

chintuyadavsara
  • 1,509
  • 1
  • 12
  • 23
Hardik Modi
  • 312
  • 4
  • 16
  • Could you please post the code you are using to load the model in tensorflow.js ? – edkeveked Nov 01 '18 at 09:06
  • code i am using to load the model is model = await tf.loadModel('http://localhost:8080/plant_diseases/model.json',strict=false); – Hardik Modi Nov 03 '18 at 11:53
  • Can you please update the question with the keras model ? There is an open issue related to the question: https://github.com/tensorflow/tfjs/issues/755 – edkeveked Nov 03 '18 at 16:25

0 Answers0