Keras + Ubuntu Environment setup

Source: Internet
Author: User
Tags theano keras

Tag:tensor    Construction    pip   flow   install    apt   sci   ras    environment construction    

    1. Install Theano (Environment parameter: Ubuntu 16.04.2 Python 2.7)
      • Installing NumPy and SciPy
      • 1.sudo apt-get Install Python-numpy python-scipy
      • 2.sudo pip Install Theano
      • If PIP is not installed, install PIP first
    2. Installing Pyyaml
      • sudo pip install Pyyaml
    3. It is recommended to install HDF5 and H5PY,CUDNN according to your own situation
      • sudo apt-get install Libhdf5-serial-dev
      • sudo pip install h5py
      • At this point, all dependent libraries have been installed
    4. Installing TensorFlow
      • sudo pip install TensorFlow
    5. Installing Keras
      • sudo pip install Keras
    6. Test if the Keras is installed successfully
      • Type python into the Python command-line environment
      • >>import Keras
      • If the output using TensorFlow backend. proves that the Keras installation was successful.

Keras + Ubuntu Environment setup

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.