Machine Learning_安装_tensorflow

caffe 啊…装了三天…装到凌晨…装到丧失理智.. 太不友好了
放弃!
还是老老实实用tensrflow

  • 安装anaconda2
    参考:http://blog.csdn.net/huludan/article/details/52711550

    官网下载经常断,索性去国内的镜像源下载,网址:
    https://mirrors.tuna.tsinghua.edu.cn/anaconda/archive/

    由于有一些新的库不支持python3 所以选择python2版本:
    Anaconda2-4.4.0-MacOSX-x86_64.sh

    下载结束 根据官网上(https://www.continuum.io/downloads/)指令进行安装,一路enter和yes:

    bash Anaconda2-4.4.0-MacOSX-x86_64.sh 
    • 验证一下路径
    $ which python
    /Users/xyq/anaconda2/bin/python
    
    $ python --version
    Python 2.7.13 :: Anaconda 4.4.0 (x86_64)
  • 安装TensorFlow
    直接:

    pip install tensorflow

    搞定!

    • 验证
      进入python 直接导入 无误
    >>> import tensorflow

    再在pycharm里面试试,也是ok的

    import tensorflow as tf
    
    hello = tf.constant('Hello, TensorFlow!')
    sess = tf.Session()
    print(sess.run(hello))
    

    不敢相信竟然搞定了 ==
    竟然在装caffe和tensorflow的过程中体验到了人生 ==
    //论选择的重要性

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Key Features Your quick guide to implementing TensorFlow in your day-to-day machine learning activities Learn advanced techniques that bring more accuracy and speed to machine learning Upgrade your knowledge to the second generation of machine learning with this guide on TensorFlow Book Description TensorFlow is an open source software library for Machine Intelligence. The independent recipes in this book will teach you how to use TensorFlow for complex data computations and will let you dig deeper and gain more insights into your data than ever before. You'll work through recipes on training models, model evaluation, sentiment analysis, regression analysis, clustering analysis, artificial neural networks, and deep learning – each using Google's machine learning library TensorFlow. This guide starts with the fundamentals of the TensorFlow library which includes variables, matrices, and various data sources. Moving ahead, you will get hands-on experience with Linear Regression techniques with TensorFlow. The next chapters cover important high-level concepts such as neural networks, CNN, RNN, and NLP. Once you are familiar and comfortable with the TensorFlow ecosystem, the last chapter will show you how to take it to production. What you will learn Become familiar with the basics of the TensorFlow machine learning library Get to know Linear Regression techniques with TensorFlow Learn SVMs with hands-on recipes Implement neural networks and improve predictions Apply NLP and sentiment analysis to your data Master CNN and RNN through practical recipes Take TensorFlow into production About the Author Nick McClure is currently a senior data scientist at PayScale, Inc. in Seattle, WA. Prior to this, he has worked at Zillow and Caesar's Entertainment. He got his degrees in Applied Mathematics from The University of Montana and the College of Saint Benedict and Saint John's University. He has a passion for learning and advocating for analytics, machine learning, and artif

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值