我尝试了以下代码:
`with tf.Session() as sess:
model = MY_Model(sess, len(vocab_embed_object.vocab_dict)-2)
selected_modelpath="./pretrained/model.ckpt.epoch-11"
print("Reading model parameters from %s" % selected_modelpath)
model.saver.restore(sess, selected_modelpath)
print("Model loaded.")`
遇到此错误
Unable to open table file ./pretrained/model.ckpt.epoch-11:
Data loss: block checksum mismatch: perhaps your file is in a
different file format and you need to use a different restore
operator?
使用python 2和tensorflow 0.10.0rc0