原文:RuntimeError: The Session graph is empty. Add operations to the graph before calling run().解決方法

問題產生的原因:無法執行sess.run 的原因是tensorflow版本不同導致的,tensorflow版本 . 無法兼容版本 . . 解決辦法:tf.compat.v .disable eager execution ...

2020-03-26 10:53 0 4436 推薦指數:

查看詳情

TensorFlow學習之graphsession

',而測試(執行)相應模塊都需要開一個session,上面有很多模塊可以調試,也就是說一個graph可以 ...

Sat Dec 28 01:08:00 CST 2019 0 1031
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM