Hi I would like to know how to update the TensorFlow js saved model in node js,
I created a basic neural network in TensorFlow js using NodeJS and saved the trained model and it produced model.json and weights.bin file.
I've seen that we can update the trained model in keras in Python.
But there is no example for updating the model in TensorFlow js, NodeJS and JS.
Please someone help to update the trained model.
model load and update code
var tf = require('@tensorflow/tfjs-node')
async funtion load(){
const model = await tf.loadLayersModel(url);
}
load().then(() => {
model.predict(tf.tensor1d([5]))
model.predict(tf.tensor1d([5]), tf.tensor1d([15]));
model.predict(tf.tensor1d([5]))
})