Deep learning with keras (Hand-ons)
1. Install python and virtual enviroment tools
/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
2. Install requirement library into "virtual enviroment"
- Activate created
virtual enviroment
source ~/python_env/default_py3/bin/activate
- Install
tensorflow
and keras
pip install keras tensorflow
git clone https://github.com/minatu2d/keras_handson.git
4. Run code on Jupyter notebook
- Activate created
virtual enviroment
if not yet
source ~/python_env/default_py3/bin/activate
- Change directory to
source code
- Run
Jupyter
under keras_handson
directory