Difference between revisions of "Keras: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
Line 24: Line 24:
 
  rm -Rf $HOME/.local/lib/python3.6/site-packages
 
  rm -Rf $HOME/.local/lib/python3.6/site-packages
 
  apt install python3-dev python3-pip
 
  apt install python3-dev python3-pip
 
  
 
  sudo su
 
  sudo su
 
  pip3 install tensorflow numpy scipy mkl nose sphinx pydot-ng pandas-datareader
 
  pip3 install tensorflow numpy scipy mkl nose sphinx pydot-ng pandas-datareader
 
  pip3 install parameterized Theano matplotlib sklearn seaborn h5py
 
  pip3 install parameterized Theano matplotlib sklearn seaborn h5py
  pip3 install fbprophet pystan pyramid pyramid.arima
+
  pip3 install fbprophet pystan pyramid
  
 
  pip3 install keras
 
  pip3 install keras

Revision as of 07:59, 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
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