1.错误类型:
AttributeError: "'NoneType' object has no attribute 'model_checkpoint_path'"...
...error at save/lstm/4l2r50d0f ignoring
上下文如下:
-> try:
(Pdb) n
> /data/小明/ChangeDetectionRNN_master/train.py(107)train_rnn()
-> ckpt = tf.train.get_checkpoint_state(init_from)
(Pdb) n
> /data/小明/ChangeDetectionRNN_master/train.py(108)train_rnn()
-> print("restoring model from %s" % ckpt.model_checkpoint_path)
(Pdb) n
AttributeError: "'NoneType' object has no attribute 'model_checkpoint_path'"
> /data/小明/ChangeDetectionRNN_master/train.py(108)train_rnn()
-> print("restoring model from %s" % ckpt.model_checkpoint_path)
(Pdb) n
> /data/小明/ChangeDetectionRNN_master/train.py(113)train_rnn()
-> except:
(Pdb) n
> /data/小明/ChangeDetectionRNN_master/train.py(114)train_rnn()
-> print "error at {}