title | date | tags | ||
---|---|---|---|---|
深度学习整理 |
2017.01.03 |
|
curl -O https://repo.continuum.io/archive/Anaconda2-4.2.0-Linux-x86_64.sh
sh Anaconda2-4.2.0-Linux-x86_64.sh
ipython notebook
sudo easy_install pip
- 安装
pip install tensorflow
pip install tensorflow-gpu
- 使用Anaconda操作Tensorflow
# 创建名为tensflow的环境,python
conda create -n tensorflow python=2.7
# 激活
source activate tensorflow
# 执行文件
# 关闭
source deactivate
- TensBoard可视化
python tensorflow/tensorboard/tensorboard.py --logdir=path/to/log-directory