![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
大熊の笔记
物理系毕业,计算机在读。
展开
-
【Tensorflow】Linux下Tensorflow报错:AttributeError: module ‘tensorflow‘ has no attribute ‘xxxx‘
文章目录问题描述解决办法参考链接问题描述Linux 下使用 tensorflow-gpu 出现如下报错:import tensorflow as tfhello = tf.constant('Hello, TensorFlow!')sess = tf.Session()print(sess.run(hello))Traceback (most recent call last): File "<ipython-input-2-25b92e4d5dec>", line 2, i原创 2020-07-13 14:59:57 · 781 阅读 · 0 评论 -
【Linux】Tensorflow2.0 报错 AttributeError module tensorflow has no attribute Session 的解决办法
文章目录问题描述解决办法参考链接问题描述>>> import tensorflow as tf>>> hello = tf.constant('Hello, TensorFlow!')>>> sess = tf.Session()Traceback (most recent call last): File "<stdin>", line 1, in <module>AttributeError: module '原创 2020-06-28 17:17:33 · 263 阅读 · 0 评论 -
【Linux】CentOS搭建Tensorflow环境
文章目录步骤安装Anaconda3参考链接步骤安装Anaconda3wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/Anaconda3-2020.02-Linux-x86_64.sh如果提示没有wget,使用yum安装:yum -y install wget在下载目录中执行该文件,根据下载的版本不同,名称会有不同:bash Anaconda3-2020.02-Linux-x86_64.sh接下来会出现一堆的Licen原创 2020-06-28 15:14:48 · 541 阅读 · 0 评论 -
【Python】安装Anaconda环境
Python软件基金会已经宣布Python2 将会被逐步淘汰,并且只支持到2020年。验证是否安装成功:Anaconda 自带 IDLE,调用方法 :IDLE是交互式界面。新建文件,出现文本式界面:保存:运行文本式文件有两种方式:使用命令行进入文件所在目录,复制路径:命令行中输入命令,改变路径,进入该目录。可以先查看目录:运行.py文件:在IDL...原创 2019-06-23 20:41:37 · 293 阅读 · 0 评论