Closed dasmehdix closed 1 year ago
As I understand model is corrupted, how can I convert this model to frozen?
I don't know that the model is broken. There is a way in TFJS to save a model to local storage (i.e. in the browser's DB) that uses the weightSpec
field instead of weightManifest
. That's because the browser's local storage doesn't have file paths, whereas weight manifest does.
You can try and load the model using TFJS in the browser and see whether that works first. To be of any further help I would need to take a look at the model.json.
Hi. I am trying to convert a TFJS Graph model to TF Frozen model. Inside TFJS Graph model(
model.json
) there is not aweightsManifest
attribute. There isweightSpecs
attribute instead ofweightsManifest
. So, I convertedweigthSpecs
toweightsManifest
and add apath
attribute insideweightsManifest
as shown in below image.After, I have tried to convert TFJS Graph model to frozen model but I get this error.
As I understand model is corrupted, how can I convert this model to frozen?