Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
is_my_face代码注意事项 473 Bytes
Copy Edit Raw Blame History
anqi authored 2019-03-22 15:17 . is_my_face代码注意事项
init = tf.global_variables_initializer()
sess = tf.Session()
saver = tf.train.Saver()
saver.restore(sess, tf.train.latest_checkpoint('.'))
此部分代码编写时请注意先后顺序,顺序错乱会导致以下错误:
1.Can not load save_path when it is None
2.FailedPreconditionError
3.RuntimeError:Attempted to use a closed Session
每行代码前请注意格式,若格式混乱会导致IndentationError:unindent does not match any outer indentation level
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化