Code Monkey home page Code Monkey logo

study-of-deep-learning's Introduction

Study of Deep Learning & TensorFlow

모두를 위한 딥러닝 강의 by Sung Kim ( https://hunkim.github.io/ml/ )

TensorFlow Installation

Requirements

  • Python 3.5.1
  • pip
  • pyenv
  • virtualenv
  • autoenv

Virtualenv installation

Install python 3.5.1:

$ brew update
$ brew upgrade
$ pyenv install 3.5.1

Create a Virtualenv environment in the directory:

$ pyenv virtualenv 3.5.1 learntf

Create autoenv:

$ touch .env
$ vi .env

# /.env
echo "====================="
echo "TensorFlow Playground"
echo " Activate virtualenv "
echo "====================="

pyenv activate learntf

$ cd ./.

Install TensorFlow:

# Mac OS X, CPU only, Python 3.4 or 3.5:
(learntf)$ export TF_BINARY_URL=https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.12.1-py3-none-any.whl

$ pip instsall --upgrade pip

(learntf)$ pip install --upgrade $TF_BINARY_URL

Test your installation:

$ python
...
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
>>> print(sess.run(hello))
Hello, TensorFlow!
>>> a = tf.constant(10)
>>> b = tf.constant(32)
>>> print(sess.run(a + b))
42
>>>

Deactivate the environment:

$ pyenvv deactivate

Jupyter Notebook Installation

# install
$ pip install jupyter
# Launch
$ jupyter notebook

study-of-deep-learning's People

Contributors

jkeun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.