Ubuntu的一些设置
修改pip源
mkdir ~/.pip
vim ~/.pip/pip.conf
[global]
index-url = http://mirrors.aliyun.com/pypi/simple/
[install]
trusted-host = mirrors.aliyun.com
修改完在cmd 输入 sudo apt-get update
张量(Tensor) 计算图(Graph) 会话(Session)
cd ~ 回到主目录Pwd 看目前位置 mkdir创建文件夹
在Ubuntu中运算
vim ~/.bashrc
在最后加这行
export TF_CPP_MIN_LOG_LEVEL=2
把TensorFlow提示等级降低
这样子就不会有那么多Warning。那些是用来加速运算的没有用到。