- 博客(13)
- 资源 (42)
- 收藏
- 关注
转载 全链接层转换为卷积层
全连接层的作用毫无疑问,就是将卷积提取的特征映射到每一类,从来方便损失函数打分。那么为什么要将全连接层转换为卷积层呢?有一篇论文《Fully Convolutional Networks for Semantic Segmentation》简称FCN讲的很清楚了,当时主要是为了解决特定物体分类的问题。也就是说,之前的CNN可以对整幅图片分类,但是如果图片中有多个class的object应该如何...
2018-12-11 18:02:20 222
转载 深度学习中IU、IoU(Intersection over Union)的概念理解以及python程序实现
Intersection over Union是一种测量在特定数据集中检测相应物体准确度的一个标准。我们可以在很多物体检测挑战中,例如PASCAL VOC challenge中看多很多使用该标准的做法。通常我们在 HOG + Linear SVM object detectors 和 Convolutional Neural Network detectors (R-CNN, Faster R...
2018-12-11 15:32:18 294
转载 计算机视觉中upsampling(上采样)的三种方式
bilinear双线性插值是目前在语义分割中用的比较多的一种方式,比如FCN中就是用的这种方法。 这种方法特点是不需要进行学习,运行速度快,操作简单。只需要设置好固定的参数值即可,设置的参数就是中心值需要乘以的系数。 一个简单的例子可以参考如下(来自互联网): 具体的实现方式,可以直接参考fcn.berkerlyvision.org中的surgery.py如下:def upsampl...
2018-12-11 09:19:22 977
转载 Annoy搜索算法(Approximate Nearest Neighbors Oh Yeah)
https://segmentfault.com/a/1190000013713357
2018-12-10 17:56:59 2594
转载 TensorFlow用expand_dim()来增加维度
TensorFlow中,想要维度增加一维,可以使用tf.expand_dims(input, dim, name=None)函数。当然,我们常用tf.reshape(input, shape=[])也可以达到相同效果,但是有些时候在构建图的过程中,placeholder没有被feed具体的值,这时就会包下面的错误:TypeError: Expected binary or unicode stri...
2018-12-10 14:13:49 1841
转载 tf.expand_dims和tf.squeeze函数
tf.expand_dims()Functiontf.expand_dims(input, axis=None, name=None, dim=None)Inserts a dimension of 1 into a tensor’s shape. 在第axis位置增加一个维度Given a tensor input, this operation inserts a dimen...
2018-12-10 14:12:30 283
转载 tensorflow gfile文件操作详解
一、gfile模块是什么 gfile模块定义在tensorflow/python/platform/gfile.py,但其源代码实现主要位于tensorflow/tensorflow/python/lib/io/file_io.py,那么gfile模块主要功能是什么呢?google上的定义为:翻译过来为:没有线程锁的文件I / O操作包装器...对于TensorFlow的tf...
2018-12-10 11:12:59 246
转载 tf.concat, tf.stack和tf.unstack的用法
tf.concat, tf.stack和tf.unstack的用法tf.concat相当于numpy中的np.concatenate函数,用于将两个张量在某一个维度(axis)合并起来,例如:a = tf.constant([[1,2,3],[3,4,5]]) # shape (2,3)b = tf.constant([[7,8,9],[10,11,12]]) # shape (2,3)...
2018-12-07 17:19:20 305 1
转载 keras中的keras.utils.to_categorical方法
to_categorical(y, num_classes=None, dtype='float32')将整型标签转为onehot。y为int数组,num_classes为标签类别总数,大于max(y)(标签从0开始的)。返回:如果num_classes=None,返回len(y) * [max(y)+1](维度,m*n表示m行n列矩阵,下同),否则为len(y) * num_classe...
2018-12-07 14:04:17 1069
转载 tensorflow的reshape操作tf.reshape()
https://blog.csdn.net/m0_37592397/article/details/78695318
2018-12-07 12:07:23 357
转载 tf.argmax()以及axis解析
首先,明确一点,tf.argmax可以认为就是np.argmax。tensorflow使用numpy实现的这个API。 简单的说,tf.argmax就是返回最大的那个数值所在的下标。 这个很好理解,只是tf.argmax()的参数让人有些迷惑,比如,tf.argmax(array, 1)和tf.argmax(array, 0)有啥区别呢? 这里面就涉及到一...
2018-12-07 10:29:36 141
转载 利用keras中image.ImageDataGenerator.flow_from_directory()实现从文件夹中提取图片和进行简单归一化处理
https://blog.csdn.net/u012193416/article/details/79368855
2018-12-06 09:53:30 1396
转载 Keras ImageDataGenerator参数
https://blog.csdn.net/jacke121/article/details/79245732
2018-12-05 19:49:29 160
Pro Go The Complete Guide -go语言学习最新书籍
2023-06-19
Advanced_Programming_in_the_UNIX_Environment,_3rd
2018-11-30
Deep_Learning_Quick_Reference
2018-09-01
Convex Optimization Algorithms
2018-09-01
Guide.to.Medical.Image.Analysis.Methods.and.Algorithms
2018-09-01
Hands-On Data Science and Python Machine Learning py
2018-03-27
Python Machine Learning Machine Learning and Deep Learning
2018-03-27
Data Structures and Algorithms Using Python and C++
2018-03-27
R_for_Data_Science
2018-03-27
Machine Learning and Deep Learning with Python, scikit-learn, and TensorFlow
2018-03-17
Approximate.Dynamic.Programming.2011
2018-01-17
Swarm Intelligence Principles Advances and Applications
2018-01-13
Neural_Network_Methods_in_Natural_Language_Processing
2017-12-25
Reinforcement Learning With Open A TensorFlow and Keras Using Python.pdf
2017-12-18
Fundamentals of Deep Learning完整非扫描版本2017
2017-12-16
Text Mining in Practice with R 2017.12
2017-12-13
Text_Mining-From_Ontology_Learning_to_Automated_Text_Processing_Applications
2017-12-13
Tensorflow 机器学习参考手册2007
2017-11-22
Spark大数据处理技术 带标签 完整版
2017-11-12
模式分类11
2016-11-07
集体编程智慧
2016-11-07
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人