
tensorflow
文章平均质量分 70
qq_40758284
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
tensorboard网址打不开:No dashboards are active for the current data set.
在运行tensorboard的时候,首先要编辑一段代码生成日志文件 import tensorflow as tf #清除default graph和不断增加的结点 tf.reset_default_graph() #Logdir改为自己机器上的合适路径 logdir='D:/logs' #定义一个简单的计算图,实现向量加法的操作 input1 = tf.constant([1.0,2....原创 2019-12-05 09:59:21 · 246 阅读 · 0 评论 -
RuntimeError: The Session graph is empty. Add operations to the graph before calling run().
安装tensorflow后,进行测试 import tensorflow as tf hello = tf.constant('hello,tensorflow!') sess = tf.Session() print(sess.run(hello)) 但是发现有错误,因为版本问题,我的tensorflow版本是2.0.0,比较新 可以通过下面的方法查看tensorflow版本 所以...原创 2019-11-29 23:30:45 · 925 阅读 · 6 评论