1.1 On MAC: Refer https://qiita.com/7110/items/1aa5968022373e99ae28
- Install python
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install python3
python3 -V
pip3 install virtualenv
- Create virtual enviroment
virtualenv --python=/usr/local/bin/python3 --no-site-packages ~/python_env/default_py3
- Activate created
virtual enviroment
source ~/python_env/default_py3/bin/activate
- Install
numpy
pip install numpy
- Install
tensorflow
andkeras
pip install keras tensorflow
- Install
matplotlib
pip install matplotlib
- Install
Jupyter notebook
pip install jupyter
git clone https://github.com/minatu2d/keras_handson.git
- Activate created
virtual enviroment
if not yet
source ~/python_env/default_py3/bin/activate
- Change directory to
source code
cd keras_handson
- Run
Jupyter
underkeras_handson
directory
jupyter notebook