zoukankan      html  css  js  c++  java
  • Ubuntu install TensorFlow

    /********************************************************************************
     *                      Ubuntu install TensorFlow
     * 说明:
     *     TensorFlow Lite好像不久就会发布,尝试一下TensorFlow安装。
     *
     *                                              2017-11-22 深圳 龙华樟坑村 曾剑锋
     *******************************************************************************/
    
    一、参考文档:
        1. 在 Ubuntu 上安装 TensorFlow
            https://efeiefei.gitbooks.io/tensorflow_documents_zh/install/install_linux.html
    2. Tensorflow教程
    https://morvanzhou.github.io/tutorials/machine-learning/tensorflow/
    二、Install: 1. sudo apt-get install python3-pip python3-dev 2. pip3 install tensorflow 三、测试: zengjf@zengjf:~/zengjf/zengjfos/freeopcua$ python3 Python 3.5.2+ (default, Sep 22 2016, 12:18:14) [GCC 6.2.0 20160927] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import tensorflow as tf >>> hello = tf.constant('Hello, TensorFlow!') >>> sess = tf.Session() 2017-11-22 12:10:18.932106: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA >>> print(sess.run(hello)) b'Hello, TensorFlow!' >>>
  • 相关阅读:
    JavaScript与C# Windows应用程序交互
    用DateTime.ToString(string format)输出不同格式的日期
    时间间隔与暂停
    C#中比较两个时间的时间差
    lambda函数的用法
    Tornado笔记
    DjangoWeb应用开发实战笔记
    再看装饰器
    描述符
    flask简单代码回顾
  • 原文地址:https://www.cnblogs.com/zengjfgit/p/7878634.html
Copyright © 2011-2022 走看看