Skip to content

Instantly share code, notes, and snippets.

@alien18331
Last active August 6, 2020 08:19
Show Gist options
  • Save alien18331/db54d7007e90887b57ccd54b63342a82 to your computer and use it in GitHub Desktop.
Save alien18331/db54d7007e90887b57ccd54b63342a82 to your computer and use it in GitHub Desktop.
[ubuntu18] Keras+Tensorflow-gpu+numpy
$ sudo apt-get install python-dev python-pip libxml2-dev libxslt1-dev zlib1g-dev libffi-dev libssl-dev
$ sudo apt install python3-pip
ubuntu18 have numpy version 1.19.1, downgrade to 1.16.4
$ pip3 uninstall numpy
$ pip3 install numpy==1.16.4
$ sudo pip3 install keras==2.3.1
$ sudo pip3 install --user --upgrade tensorflow-gpu==1.14.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment