/********************************************************************************
* Ubuntu install TensorFlow
* 说明:
* TensorFlow Lite好像不久就会发布,尝试一下TensorFlow安装。
*
* 2017-11-22 深圳 龙华樟坑村 曾剑锋
*******************************************************************************/ 一、参考文档:
. 在 Ubuntu 上安装 TensorFlow
https://efeiefei.gitbooks.io/tensorflow_documents_zh/install/install_linux.html
2. Tensorflow教程
https://morvanzhou.github.io/tutorials/machine-learning/tensorflow/
二、Install:
. sudo apt-get install python3-pip python3-dev
. pip3 install tensorflow 三、测试:
zengjf@zengjf:~/zengjf/zengjfos/freeopcua$ python3
Python 3.5.+ (default, Sep , ::)
[GCC 6.2. ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
>>> hello = tf.constant('Hello, TensorFlow!')
>>> sess = tf.Session()
-- ::18.932106: I tensorflow/core/platform/cpu_feature_guard.cc:] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4. SSE4. AVX AVX2 FMA
>>> print(sess.run(hello))
b'Hello, TensorFlow!'
>>>

最新文章

  1. python基础整理笔记(九)
  2. Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64
  3. ACM 独木舟上的旅行
  4. hashcode详解
  5. 使用U盘代替光盘来刻录ISO镜像文件的方法
  6. shell的内建命令和外部命令
  7. backtrack5渗透 笔记
  8. 启动项目报错Error: listen EADDRINUSE
  9. XML文件
  10. 二分PKU3273
  11. Nah Lock: 一个无锁的内存分配器
  12. Windows7 java-jdk1.7安装及设置变量过程
  13. 小白的Python之路 day3 函数式编程,高阶函数
  14. Fiddler--QuickExec
  15. (1.5)MySQL表的5种分区类型
  16. Ubuntu 18.04 上设置桌面程序开机自启动
  17. IBM BR10i阵列卡配置Raid0/Raid1(转)
  18. IOS中文本框输入自动隐藏和自动显示
  19. Oracle11g在Windows和Linux下imp导入表,exp导出表,sqluldr2导出表,sqlldr导入表
  20. sql按月模糊查询

热门文章

  1. 小米笔记本 air 12.5寸 支持硬盘参数
  2. Windows系统下在Eclipse中集成Python
  3. [原][库][c++]tinyxml使用小结
  4. 《Blue Flke》团队项目需求改进与系统设计
  5. (转)Attribute在.net编程中的应用
  6. Spring Boot入门第二天:一个基于Spring Boot的Web应用,使用了Spring Data JPA和Freemarker。
  7. java后台读取/解析 excel表格
  8. 生物信息Python-从入门到精通?
  9. 2018焦作网络赛Give Candies
  10. 『TensorFlow』DCGAN生成动漫人物头像_下