I am searching for two days on how to load a trained TensorFlow JSON format model from a local computer. I am using JavaScript as a front-end language. Also, I want to use my model in the front end.
Hi @fahim_faisal, Once you have saved the model using await model.save('file:///path/to/my-model');
you can load the saved model using const model = await tf.loadLayersModel('localstorage://my-model');
. For more details please refer to this document. Thank You.