Keras Installation and use

Source: Internet
Author: User
Tags keras

Installation Full Name reference https://keras-cn.readthedocs.io/en/latest/for_beginners/keras_linux/

cuda8.0.cudnn5.0,ubuntu16.04 configured in the environment

Installed version of TENSORFLOW-GPU

Test after the installation is complete, import TensorFlow

Issue: ImportError:libcublas.so. 9. 0:cannot Open Shared object file:no such file or directory

Cause: The TensorFlow version does not correspond to the CUDNN and Cuda versions, ref: 79415787

Solution, change 1.3, still having problems

Question: libcudnn.so. 6: Cannot open sharedobjectfile:no such file or directory

Cause: 1.3 Incompatible with CUDNN5, change 1.2 to resolve

New issue: Import Keras error Using TensorFlow backend. Couldn't import dot_parser, loading of dot files W

Workaround: Reference 51166268

-iv https://pypi.python.org/packages/source/p/pyparsing/pyparsing-1.5.7.tar.gz#md5= 9be0fcdcc595199c646ab317c1d9a709sudo pip install Pydot

Note Add sudo, otherwise access is denied

Finally, download the Keras installation package and run the python MNIST_MLP. PY, error

Problem: Typeerror:softmax () got an unexpected keyword argument 'axis'

Cause: Version issue, return keras2.1, reference 80145894

Keras Installation and use

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.