Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotFoundError: Key Variable not found in checkpoint [[{{node save/RestoreV2}}]] (Not able to retrain from checkpoint provided in IROS18) #20

Open
Prakadeeswaran05 opened this issue Mar 30, 2021 · 1 comment

Comments

@Prakadeeswaran05
Copy link

Hey! while trying to retrain(followed the training steps in the readme) using the checkpoint provided inside IROS18 I faced this error! NotFoundError: Key Variable not found in checkpoint [[{{node save/RestoreV2}}]] What could be the reason for this error? Can we only train from scratch?

I look forward to your response!
Prakadeeswaran M

@mattpoggi
Copy link
Owner

Hi @Prakadeeswaran05
that's weird, the weights should be compatible with monodepth training scripts.
You can have a look here to selectively restore only a portion of the variables from the checkpoint:
https://github.com/CVLAB-Unibo/Real-time-self-adaptive-deep-stereo/blob/master/Data_utils/weights_utils.py

let me know if this works for you ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants