pydnet icon indicating copy to clipboard operation
pydnet copied to clipboard

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

Open Prakadeeswaran05 opened this issue 3 years ago • 1 comments

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

Prakadeeswaran05 avatar Mar 30 '21 10:03 Prakadeeswaran05

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

mattpoggi avatar Mar 30 '21 21:03 mattpoggi