yzcjtr / GeoNet

Code for GeoNet: Unsupervised Learning of Dense Depth, Optical Flow and Camera Pose (CVPR 2018)
MIT License
723 stars 181 forks source link

ckpt file problem #70

Open dexter2406 opened 3 years ago

dexter2406 commented 3 years ago

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?

yzcjtr commented 3 years ago

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)?

mrinaliniP commented 1 year ago

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.