Ubuntu install TensorFlow
2024-10-19 02:22:15
/********************************************************************************
* 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!'
>>>
最新文章
- python基础整理笔记(九)
- Xcode调用旧版本库出现Undefined symbols for architecture x86_64: ld: symbol(s) not found for architecture x86_64
- ACM 独木舟上的旅行
- hashcode详解
- 使用U盘代替光盘来刻录ISO镜像文件的方法
- shell的内建命令和外部命令
- backtrack5渗透 笔记
- 启动项目报错Error: listen EADDRINUSE
- XML文件
- 二分PKU3273
- Nah Lock: 一个无锁的内存分配器
- Windows7 java-jdk1.7安装及设置变量过程
- 小白的Python之路 day3 函数式编程,高阶函数
- Fiddler--QuickExec
- (1.5)MySQL表的5种分区类型
- Ubuntu 18.04 上设置桌面程序开机自启动
- IBM BR10i阵列卡配置Raid0/Raid1(转)
- IOS中文本框输入自动隐藏和自动显示
- Oracle11g在Windows和Linux下imp导入表,exp导出表,sqluldr2导出表,sqlldr导入表
- sql按月模糊查询
热门文章
- 小米笔记本 air 12.5寸 支持硬盘参数
- Windows系统下在Eclipse中集成Python
- [原][库][c++]tinyxml使用小结
- 《Blue Flke》团队项目需求改进与系统设计
- (转)Attribute在.net编程中的应用
- Spring Boot入门第二天:一个基于Spring Boot的Web应用,使用了Spring Data JPA和Freemarker。
- java后台读取/解析 excel表格
- 生物信息Python-从入门到精通?
- 2018焦作网络赛Give Candies
- 『TensorFlow』DCGAN生成动漫人物头像_下