classify.js:40 Uncaught TypeError: model.predict is not a function code example
Example: Uncaught TypeError: model.predict is not a function
tf.loadModel('file://./model-1a/model.json').then(model => {
model.predict();
});
tf.loadModel('file://./model-1a/model.json').then(model => {
model.predict();
});