2017年8月15日 星期二

[python] tensorflow and keras

## Install ```py pip install tensorflow pip install keras ``` ## Create virtual env ```py conda create --name tensorflow python=3.5 anaconda ``` ## Use virtual env ```py activate tensorflow ``` ## Close virtual env ```py deactivate tensorflow ``` ## Import module * tensorflow ```py import tensorflow as tf tf.__version__ ``` * keras ```py import keras keras.__version__ ```