We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
请问这个模型应该怎么存,我想写一个单独的预测函数,在训练位置saver.save(sess, '../save_model/atttn_lstm_hierarchical/') 在预测的地方加载模型的时候使用
saver.save(sess, '../save_model/atttn_lstm_hierarchical/')
with tf.Session()as sess: saver = tf.train.import_meta_graph('./save_model/atttn_lstm_hierarchical/-1000.meta') saver.restore(sess, tf.train.latest_checkpoint('./save_model/atttn_lstm_hierarchical'))
但是报错如下: 请问是什么问题呢
The text was updated successfully, but these errors were encountered:
No branches or pull requests
请问这个模型应该怎么存,我想写一个单独的预测函数,在训练位置
saver.save(sess, '../save_model/atttn_lstm_hierarchical/')
在预测的地方加载模型的时候使用
但是报错如下:
请问是什么问题呢
The text was updated successfully, but these errors were encountered: