Difference between revisions of "Keras: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(13 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
* CPU 4 Core | * CPU 4 Core | ||
* Mem 8 GB | * Mem 8 GB | ||
+ | * OS Ubuntu 20.04 64bit | ||
+ | * Python3 (sebaiknya jangan Python2) | ||
Terutama yang membuat masalah adalah mkl | Terutama yang membuat masalah adalah mkl | ||
Line 18: | Line 20: | ||
apt update | apt update | ||
− | sudo apt | + | sudo su |
+ | apt remove python3-pip python3-dev | ||
rm -Rf $HOME/.local/lib/python3.6/site-packages | rm -Rf $HOME/.local/lib/python3.6/site-packages | ||
− | + | apt install python3-dev python3-pip | |
+ | sudo su | ||
+ | apt -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 \ | ||
+ | libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6 | ||
sudo su | sudo su | ||
− | pip3 install tensorflow | + | pip3 install tensorflow numpy scipy mkl nose sphinx pydot-ng pandas-datareader |
− | + | pip3 install parameterized Theano matplotlib sklearn seaborn h5py | |
− | pip3 install parameterized Theano | + | pip3 install fbprophet pystan pyramid |
+ | |||
pip3 install keras | pip3 install keras | ||
pip3 install spyder | pip3 install spyder | ||
− | |||
− | |||
==Python2 - Install Apps Pendukung== | ==Python2 - Install Apps Pendukung== |
Latest revision as of 08:40, 28 December 2020
Spec Hardware
Tampaknya Keras hanya bisa di install dengan baik untuk Spec hardware yang agak tinggi. Sebaiknya
- CPU 4 Core
- Mem 8 GB
- OS Ubuntu 20.04 64bit
- Python3 (sebaiknya jangan Python2)
Terutama yang membuat masalah adalah mkl
Python3 Install Apps
Untuk di coba :( ..
sudo su apt update
sudo su apt remove python3-pip python3-dev rm -Rf $HOME/.local/lib/python3.6/site-packages apt install python3-dev python3-pip
sudo su apt -y install libgl1-mesa-glx libegl1-mesa libxrandr2 libxrandr2 \ libxss1 libxcursor1 libxcomposite1 libasound2 libxi6 libxtst6
sudo su pip3 install tensorflow numpy scipy mkl nose sphinx pydot-ng pandas-datareader pip3 install parameterized Theano matplotlib sklearn seaborn h5py pip3 install fbprophet pystan pyramid
pip3 install keras pip3 install spyder
Python2 - Install Apps Pendukung
NOT RECOMMENDED
sudo su apt update
sudo su pip install tensorflow pip install numpy scipy mkl nose sphinx pydot-ng pandas-datareader pip install parameterized pip install Theano pip install cntk pip install keras