GeoNet icon indicating copy to clipboard operation
GeoNet copied to clipboard

ckpt file problem

Open dexter2406 opened this issue 5 years ago • 2 comments

Hi I wonder why your pretrained model doens't have "checkpoint number". Normally the ckpt for new-version tensorflow, the previous name should be changed to model.ckpt-<number>.data-00000-of-00001. In an other model this rename works, but when I rename your models, there is still error report "bad magic number"... Could you give me some hint on how to rename the model file?

dexter2406 avatar Nov 24 '20 14:11 dexter2406

Seems like you are using a newer version of tf? If that's the case, I won't recommend directly renaming the ckpt file. Maybe you can refer to this solution (https://stackoverflow.com/questions/57816305/how-to-restore-tensorflow-v1-1-0-saved-model-in-v1-13-1)?

yzcjtr avatar Nov 24 '20 19:11 yzcjtr

Hello, When I am trying to restore the model I am getting the following error. Please can you help me with this. Tensorflow version=1.15.0 used geonet_error ValueError: Can't load save_path when it is None.

mrinaliniP avatar Jun 04 '23 16:06 mrinaliniP