1 在代码中添加这样一句:
tf.compat.v1.disable_eager_execution()
2 在代码中所有用 placeholder的地方修改为
tf.compat.v1.placeholder
参考
https://blog.csdn.net/weixin_43763859/article/details/104537392
1 在代码中添加这样一句:
tf.compat.v1.disable_eager_execution()
2 在代码中所有用 placeholder的地方修改为
tf.compat.v1.placeholder
参考
https://blog.csdn.net/weixin_43763859/article/details/104537392