tf.reduce_mean 函数用于计算张量tensor沿着指定的数轴(tensor的某一维度)上的的平均值,主要用作降维或者计算tensor(图像)的平均值。 参考:https://blog.csdn.net/dcrmg/article/details/79797826 ...
分类:
其他好文 时间:
2019-09-13 17:12:26
阅读次数:
96
首先声明几点: 安装tensorflow是基于Python的,并且需要从Anaconda仓库中下载。 所以我们的步骤是:先下载Anaconda,再在Anaconda中安装一个Python,(你的电脑里可能本来已经装了一个Python环境,但是Anaconda中的Python是必须再装的),然后再下载 ...
提出问题 一个网友的博客,记录他在一次面试时,碰到面试官要求他在白板上用TensorFlow写一个简单的网络实现异或(XOR)功能。这个本身并不难,单层感知器不能解决异或问题是学习神经网络中的一个常识,而简单的两层神经网络却能将其轻易解决。但这个问题的难处在于,我们接触TensorFlow通常直接拿 ...
分类:
其他好文 时间:
2019-09-13 13:39:00
阅读次数:
132
一,anancona 安装 https://repo.anaconda.com/archive/ conda create n caffe_gpu c defaults python=3.6 caffe gpu conda create n caffe c defaults python=3.6 c ...
分类:
其他好文 时间:
2019-09-13 10:34:39
阅读次数:
141
一,cpu 下安装 tensorflow conda env list source activate tensorflow 直接安装相应版本 python import tensorflow as tf tf.__version__ 1.11.0 keras 直接安装 conda env list ...
分类:
其他好文 时间:
2019-09-13 10:25:01
阅读次数:
92
Linux下安装tensorflow [TOC] 安装 添加tensorflow的环境。执行命令: (版本的话,我个人比较喜欢3.X+版本)。 当执行完成之后,就根据提示,进行输入yes就可以了,慢慢等待。 激活环境,执行命令: (作用:进入到tensorflow的环境) 激活tensorflow的 ...
分类:
系统相关 时间:
2019-09-13 01:35:39
阅读次数:
106
cpu centos unbutu gpu http://mirrors.aliyun.com/pypi/packages/84/d8/00a450ad627c7c5e28ada8a179e6a43854089ea5b30485f896efa5ed5814/tensorflow_gpu 1.11.0 ...
分类:
编程语言 时间:
2019-09-13 01:04:44
阅读次数:
219
numpy模块 numpy数组(矩阵)的运算, 科学运算, tensorflow pandas模块 文件(excel)的处理 read_excel()/to_excel() matplotlib模块 画图, plt.plot()/plt.bar()/plt.scatter()/plt.hist()/ ...
分类:
其他好文 时间:
2019-09-12 21:31:28
阅读次数:
99
一、环境 IDLE,Subline Text,PyCharm,Anaconda & Spyder。 二、requests库 1.安装 cmd:pip install requests 2.七方法 requests.request(method, url , **kwarge) 构造请求支撑以下各种方 ...
分类:
编程语言 时间:
2019-09-12 21:03:42
阅读次数:
113
首要必须学Python!OpenCV是深度学习出现之前最常用的工具,基本图像处理方面。 神经网络和深度学习算法 TensorFlow(谷歌)和Keras(用起来简单上手快) https://mooc.study.163.com/smartSpec/detail/1001457001.htm CV学习 ...
分类:
其他好文 时间:
2019-09-11 22:05:34
阅读次数:
100