Code Monkey home page Code Monkey logo

tensorflow-study's Introduction

tensorflow-study

Record the machine learning process

DevEnv: MacOS 10.12
Official website: TensorFlow

Install TensorFlow

// 1. 修改hosts文件为默认配置(没有修改过hosts文件可跳过此步骤)
2. brew更新
$sudo chown -R $(whoami) /usr/local
$brew update
$sudo chown root:wheel /usr/local
3. 安装pip
$sudo python get-pip.py
4. 不用MacOS自带的python。重新安装python。
$which python
 /usr/bin/python
$brew install python
$which python
 /usr/local/bin/python
$hash -r python
$easy_install pip
5. 安装tensorflow
$pip install tensorflow
$pip install tensorflow-gpu
$pip uninstall tensorflow-gpu
Note 1:
a. brew linkapps python 命令已弃用,改用hash -r python
b. MacOS暂不支持tensorflow-gpu,因此需卸载:pip uninstall tensorflow-gpu
c. 建议看TensorFlow,因为中文官网更新有延时
Note 2:

tensorflow-study's People

Contributors

liyahx avatar ashyearl avatar

Watchers

James Cloos 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.