Keras: Instalasi

From OnnoWiki
Revision as of 08:40, 28 December 2020 by Onnowpurbo (talk | contribs) (→‎Python3 Install Apps)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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


Pranala Menarik