Unix/Arch Linux

Keras + Theano 시도: 2. Keras 설치

ForceCore 2016. 5. 11. 13:05

-_-...


필요한 패키지... Arch Linux 기준이다.

쿠다 설치...
# sudo powerpill -S nvidia
$ sudo powerpill -S cuda
$ sudo powerpill -S python-pycuda
설치하는 도중에 GL을 뭘로 지원할래? 라고 물어보는데 당연히 nvidia-gl을 골라야 한다.

$ sudo powerpill -S python-pip
$ sudo pacman -S python-scipy
$ sudo pacman -S python-yaml
$ sudo powerpill -S community/python-matplotlib
$ sudo powerpill -S python-pillow
$ sudo powerpill -S python-scikit-image
$ sudo pip3 install keras
$ sudo powerpill -S python-h5py


케라스도 설치한다. 역시 Arch Linux가 킹왕짱.
$ yaourt -Ss keras
aur/python-keras 1.0.2-1 (5) (1.67)
    Theano-based Deep Learning library (convnets, recurrent neural networks, and more)
aur/python-keras-doc 0.3.2-1 (1) (0.14)
    Documentation and examples for python-keras
aur/python-keras-git 0.2.0.r189.g50467e3-1 (0) (0.00)
    Theano-based Deep Learning library (convnets, recurrent neural networks, and more)
aur/python2-keras 1.0.2-1 (5) (1.67)
    Theano-based Deep Learning library (convnets, recurrent neural networks, and more)
aur/python2-keras-git 0.2.0.r189.g50467e3-1 (0) (0.00)
    Theano-based Deep Learning library (convnets, recurrent neural networks, and more)


그리고 kreas홈페이지에 있는 예제를 돌려본다. 그러면 끝.