2021年4月23日
摘要: 问题产生的原因:无法执行sess.run()的原因是tensorflow版本不同导致的,tensorflow版本2.0无法兼容版本1.0.解决办法:tf.compat.v1.disable_eager_execution() import tensorflow as tftf.compat.v1.d 阅读全文
posted @ 2021-04-23 22:55 swxj 阅读(248) 评论(0) 推荐(0) 编辑