- 博客(16)
- 资源 (12)
- 收藏
- 关注
原创 YOLO源码(Darknet源码)解读(im2col.c)
#include "im2col.h"#include <stdio.h>// 获取图像像素值float im2col_get_pixel(float *im, int height, int width, int channels, int row, int col, int channel, int pad){ r...
2018-04-27 15:11:45 1137
原创 YOLO源码(Darknet源码)解读(convolutional_layer.c)
#include "convolutional_layer.h"#include "utils.h"#include "batchnorm_layer.h"#include "im2col.h"#include "col2im.h"#include "blas.h"#include "gemm.h"#include <stdio.h&
2018-04-24 15:07:40 3367 1
原创 YOLO源码(Darknet源码)解读(layer.c)
#include "layer.h"#include "cuda.h"#include <stdlib.h>void free_layer(layer l){ if(l.type == DROPOUT){ if(l.rand) free(l.rand);#ifdef GPU if(l.rand_gpu) ...
2018-04-24 11:27:10 769
转载 卷积神经网络时间和空间复杂度分析
在深度学习的发展过程中,有意无意中,很多创新点都与改善模型计算复杂度密切相关。因而,本文对CNN的时间和空间复杂度做以分析。首先,明确下FLOPS和FLOPs的区别:FLOPS:注意全大写,是floating point operations per second的缩写,意指每秒浮点运算次数,理解为计算速度。是一个衡量硬件性能的指标。 FLOPs:注意s小写,是floating po...
2018-04-19 16:32:32 6251
转载 激活函数(ReLu LReLU PReLU CReLU ELU SELU)
ReLU tensorflow中:tf.nn.relu(features, name=None)LReLU(Leaky-ReLU) 其中aiai是固定的。ii表示不同的通道对应不同的aiai. tensorflow中:tf.nn.leaky_relu(features, alpha=0.2, name=None)PReLU 其中aiai是可以学习的的。如果ai=0ai=0,那么 PReLU 退化...
2018-04-19 11:35:58 7993
原创 YOLO源码(Darknet源码)解读(network.c)
network.c#include <stdio.h>#include <time.h>#include <assert.h>#include "network.h"#include "image.h"#include "data.h"#include "utils.h"#include "blas.h"#i
2018-04-18 10:44:37 4827 2
原创 YOLO源码(Darknet源码)解读(utils.c)
utils.c#include <stdio.h>#include <stdlib.h>#include <string.h>#include <math.h>#include <assert.h>#include <unistd.h>#include <float.h>#include &l
2018-04-18 10:42:57 1101
原创 编程感悟,与君共勉
1. 编程最困难的部分,是追求完美。另外,编程永远都是乐趣与苦恼并存的。2. 世界上永远不缺少代码,缺少的是看代码的决心和时间。
2018-04-18 09:25:15 311
原创 YOLO源码(Darknet源码)解读(yolo.c)
yolo.c#include "darknet.h"// 20个类别定义char *voc_names[] = {"aeroplane", "bicycle", "bird", "boat", "bottle", "bus", "car", "cat", "chair", "cow",
2018-04-13 11:17:57 3480 2
原创 YOLO源码(Darknet源码)解读(darknet.c)
main函数int main(int argc, char **argv){ //test_resize("data/bad.jpg"); //test_box(); //test_convolutional_layer(); if(argc < 2){ fprintf(stderr, "usage: %s <function>\...
2018-04-12 20:36:14 1991 1
原创 深度学习物体检测详解:YOLO V3
YOLO V3: An Incremental ImprovementImprovements:1. Objectness score:YOLO V3用logistic regression为每一个bbox预测一个objectness score。假如一个bbox与ground truth的IOU比其他bboxes的都要大,则它的objectness score为1,即为best box。假如一个...
2018-04-12 11:50:51 5100
原创 机器学习与Deep Learning算法问题汇总(Part-3)
11. 怎么解决过拟合和欠拟合?答:(1)过拟合:1)增加训练数据,数据增广。一般有如下方法:从数据源头采集更多数据;复制原有数据并加上随机噪声;重采样;根据当前数据集估计数据分布参数,使用该分布产生更多数据等。2)正则化:L1正则和L2正则;增大正则项参数。3)dropout。4)batch normalizatin。5)交叉验证,通过交叉检验得到较优的模型参数。6)特征选择,减少特征数或使用较...
2018-04-09 15:56:01 300
原创 机器学习与Deep Learning算法问题汇总(Part-2)
7. 什么是梯度弥散?要怎么去解决这个问题?答: 随着网络层数变深, activations倾向于越大和越小的方向前进, 往大走梯度爆炸(回想一下你在求梯度时, 每反向传播一层, 都要乘以这一层的activations), 往小走进入死区, 梯度消失。 这两个问题最大的影响是, 深层网络难于converge。sigmoid不存在梯度爆炸, 在activations往越大越小的方向上前进时, 梯度都...
2018-04-09 11:46:28 452
原创 深度学习物体检测详解:YOLO V2
YOLO V2 —— YOLO9000:Better, Faster, StrongerImprovements:1. Batch Normalization:显著提高模型收敛速度, 不需要其他正则手段(比如Dropout)。给每个卷基层都增加BN后,mAP提高了2个点。2. High Resolution Classifier:将图像分辨率从224 x 224扩大为448 x 448,finetu...
2018-04-05 21:47:47 1996 1
原创 Atrous Convolution详解
Atrous 卷积,就是带洞的卷积,卷积核是稀疏的。上图(b)是带洞卷积,可以跳着选,隔一个加一个。下图中第三个示例(c),就是带洞卷积。带洞卷积减少了核的大小,可以达到节省内存的作用。而且带洞卷积的有效性基于一个假设:紧密相邻的像素几乎相同,全部纳入属于冗余,不如跳H(hole size)个取一个。...
2018-04-02 17:35:13 12201 5
原创 机器学习与Deep Learning算法问题汇总(Part-1)
1. 卷积神经网络(CNN)中卷积层与池化层如何进行BP残差传递与参数更新?答:(1) Average Pooling的BP好算,直接求导可得,就是1/n.(2) Max Pooling比较有意思,forward的时候需要记录每个窗口内部最大元素的位置,然后BP的时候,对于窗口内最大元素的gradient是1,否则是0。原理和ReLu是一样的。2. SVM为什么要用核函数?答:(1)kernel ...
2018-04-02 17:06:20 435
opencv_contrib-3.4.13_boostdesc_bgm.i等.zip
2021-02-07
hrnet_w32-36af842e.pth
2020-07-23
Fusing Multi-Stream Deep Networks for Video Classification
2016-06-08
Human Parsing with Contextualized Convolutional Neural Network
2016-04-17
Algorithms on Strings, Trees and Sequences
2014-11-27
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人