Keras With Theano Backend 설치
Keras를 Theano를 Backend로 해서 설치하는 방법입니다.
아래와 같이 gcc를 설치하고, 이를 파이썬에서 이용할 라이브러리들을 설치한후,
Theano와 Keras를 차례대로 설치하시면 됩니다.
conda update conda
conda update --all
conda install mingw libpython
pip install git+git://github.com/Theano/Theano.git
pip install git+git://github.com/fchollet/keras.git
이렇게 설치 과정이 복잡한 이유는 Keras뒤에 Theano가 있고 Theano는 또 C++로 구현되어 있기 때문입니다.
만약 gcc를 설치하지 않고 Keras를 사용하게 되면 Python으로 구현된 Theano를 Backend로 해서 돌아가게되는데
이 경우 속도는 gcc를 설치하지 않았을 때와 비교하여 현저하게 낮습니다.
따라서 Keras with Theano를 이용할 때는 꼭 gcc를 설치하는 것이 좋습니다.
출처
Keras와 Tensorflow 사용할 때 유용한 아나콘다 가상환경 (0) | 2017.07.01 |
---|---|
Keras - Backend 설정하기 (Theano, Tensorflow) (2) | 2017.07.01 |
Keras - MNIST 데이터로 CNN(Convolutional Neural Network) Training (0) | 2017.01.22 |
Keras - MNIST 데이터로 MLP(Multi Layer Perceptrons) Training (0) | 2017.01.20 |
Keras로 Deep Neural Network시작하기 (0) | 2016.11.07 |
Keras는 Theano나 Tensorflow 위에서 동작하는 딥러닝 프레임워크입니다.
Tensorflow를 이용하는 것보다 더 쉽게 신경망 모델을 만들 수 있는 것 같습니다.
Keras를 처음 이용해 보기에 유용한 사이트를 찾아서 공유합니다.
Tutorial List
Fully Connected Network
- Binary Classification
http://machinelearningmastery.com/tutorial-first-neural-network-python-keras/
- Multi-label Classification
http://machinelearningmastery.com/multi-class-classification-tutorial-keras-deep-learning-library/
- Regression
http://machinelearningmastery.com/regression-tutorial-keras-deep-learning-library-python/
Drop Out
http://machinelearningmastery.com/dropout-regularization-deep-learning-models-keras/
Cross Validation
http://machinelearningmastery.com/evaluate-performance-deep-learning-models-keras/
Applied Deep Learning in Python Mini-Course
http://machinelearningmastery.com/applied-deep-learning-in-python-mini-course/
MNIST - MLP + CNN
CIFAR-10 CNN
Keras와 Tensorflow 사용할 때 유용한 아나콘다 가상환경 (0) | 2017.07.01 |
---|---|
Keras - Backend 설정하기 (Theano, Tensorflow) (2) | 2017.07.01 |
Keras - MNIST 데이터로 CNN(Convolutional Neural Network) Training (0) | 2017.01.22 |
Keras - MNIST 데이터로 MLP(Multi Layer Perceptrons) Training (0) | 2017.01.20 |
Keras (with Theano Backend) 설치 (0) | 2016.11.09 |