Skip to content

Latest commit

 

History

History
38 lines (37 loc) · 756 Bytes

File metadata and controls

38 lines (37 loc) · 756 Bytes
title 深度学习整理
date 2017.01.03
tags
TensorFlow
DeepLearning

环境

Anaconda(包涵Ipython NoteBook,)

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

ipython notebook

python, centOS 7,MAC自带

sudo easy_install pip

TensorFlow

  • 安装
 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