win10 安装 tensorflow 并运行helloworld

简介: win10 安装 tensorflow 并运行helloworld 折腾了一下,在win10上成功安装tensorflow.1 下载安装python,注意一定要是64位(比如python-3.5.

win10 安装 tensorflow 并运行helloworld

 
折腾了一下,在win10上成功安装tensorflow.
1 下载安装python,注意一定要是64位(比如python-3.5.1-amd64)的,建议直接下载.exe版本的,在安装的时候选择添加环境变量;
2 下载最新的 tensorflow-1.1.0rc0-cp35-cp35m-win_amd64.whl 包;
3 输入命令pip install tensorflow-1.1.0rc0-cp35-cp35m-win_amd64.whl进行安装;
4 跑HellWorld进行测试;
 
 
跑HelloWorld
 
import tensorflow as tf
matrix1 = tf.constant([[ 3., 3.]])
matrix2 = tf.constant([[ 2.], [ 2.]])
product = tf.matmul(matrix1, matrix2)
sess = tf.Session()
result = sess.run(product)
print (result)
sess.close()
 





目前方向:图像拼接融合、图像识别 联系方式:jsxyhelu@foxmail.com
目录
相关文章
|
24天前
|
机器学习/深度学习 TensorFlow 算法框架/工具
TensorFlow入门指南:基础概念与安装
【4月更文挑战第17天】TensorFlow入门指南介绍了该流行深度学习框架的基础概念和安装步骤。核心概念包括张量(多维数组)、计算图(表示计算任务的图结构)、会话(执行环境)以及变量(存储模型参数)。安装TensorFlow可通过pip或conda,GPU支持需额外条件。安装成功后,通过Python验证版本即可开始使用。
|
7月前
|
并行计算 TensorFlow 算法框架/工具
tensorflow安装GPU版本
tensorflow安装GPU
94 0
tensorflow安装GPU版本
|
5月前
|
并行计算 Linux Docker
Docker【部署 07】镜像内安装tensorflow-gpu及调用GPU多个问题处理Could not find cuda drivers+unable to find libcuda.so...
Docker【部署 07】镜像内安装tensorflow-gpu及调用GPU多个问题处理Could not find cuda drivers+unable to find libcuda.so...
321 0
|
5月前
|
JSON TensorFlow 算法框架/工具
Windows下安装Anaconda5.3.1+Python3.8+TensorFlow2.13.0-CPU版本总结
Windows下安装Anaconda5.3.1+Python3.8+TensorFlow2.13.0-CPU版本总结
127 0
|
1天前
|
并行计算 Ubuntu TensorFlow
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
9 0
23.10.02更新 windows系统下的Tensorflow安装(图多详细)
|
14天前
|
机器学习/深度学习 TensorFlow API
Python安装TensorFlow 2、tf.keras和深度学习模型的定义
Python安装TensorFlow 2、tf.keras和深度学习模型的定义
|
5月前
|
并行计算 Linux Docker
Docker【部署 05】docker使用tensorflow-gpu安装及调用GPU踩坑记录
Docker【部署 05】docker使用tensorflow-gpu安装及调用GPU踩坑记录
146 0
|
6月前
|
TensorFlow 算法框架/工具 数据安全/隐私保护
anconda下载+添加清华+tensorflow 安装+No module named ‘tensorflow‘+KernelRestarter: restart failed,内核重启失败
anconda下载+添加清华+tensorflow 安装+No module named ‘tensorflow‘+KernelRestarter: restart failed,内核重启失败
118 0
|
6月前
|
数据可视化 PyTorch TensorFlow
Keras和Tensorflow(CPU)安装、Pytorch(CPU和GPU)安装以及jupyter使用虚拟环境
Keras和Tensorflow(CPU)安装、Pytorch(CPU和GPU)安装以及jupyter使用虚拟环境
109 0
|
9月前
|
机器学习/深度学习 并行计算 Ubuntu
软件类配置(一)【Windows下使用conda在虚拟环境中安装CUDA、CUDNN及Tensorflow】
软件类配置(一)【Windows下使用conda在虚拟环境中安装CUDA、CUDNN及Tensorflow】
383 0

热门文章

最新文章