tensorflow
liuyunshengsir
全栈工程师
展开
-
keras使用过程中的问题总结
1.1问题报错:AttributeError: module ‘tensorflow.python.keras.backend’ has no attribute ‘get_graph’AttributeError: module 'tensorflow.python.keras.backend' has no attribute 'get_graph'1.2解决办法造成这种问题的原因是你安装的tensorflow版本和keras版本不匹配https://docs.floydhub.com/gui原创 2020-05-23 10:07:55 · 676 阅读 · 0 评论 -
tensorflow 利用TensorBoard查看计算图
使用TensorFlow的基本步骤一般为:定义计算图,执行计算图,查看计算图import tensorflow as tf#定义计算图g = tf.Graph()with g.as_default(): hello = tf.constant('hello',name = 'hello') world = tf.constant('world',name = 'world...原创 2020-04-26 21:50:07 · 2150 阅读 · 0 评论 -
tensorflow 环境的安装
1.使用conda 安装前置条件Anaconda3安装教程及配置(全)https://blog.csdn.net/liuyunshengsir/article/details/77671767conda create --name python35 python=3.5conda activate python35 conda install jupyterlab conda...原创 2020-04-25 20:58:15 · 209 阅读 · 0 评论