YOLO
小_小_杨_
Fly without wings!
展开
-
YOLO image结构体操作学习
image结构体定义注意:里面有些代码跟原始的代码有点不一样,比如说class与classes是因为作者将yolo装成window vs下使用的,为了避免以后使用c++时候与类(class),就将源码里面的class统一改为classes。typedef struct { int h; int w; int c; float *data;} image;原创 2016-04-26 20:50:13 · 6940 阅读 · 6 评论 -
YOLO activation_layer 代码学习
激活层定义typedef enum{ LOGISTIC, RELU, RELIE, LINEAR, RAMP, TANH, PLSE, LEAKY, ELU, LOGGY}ACTIVATION;大家一开始看这些激活函数看起来很奇怪,下面我们会给出这几个类型的表达式CPU 端的代码激活函数对应的代码:static inline float linear_activate(float x)原创 2016-04-27 16:30:01 · 4008 阅读 · 0 评论 -
caffe-yolo 训练
#include <algorithm>#include <cfloat>#include <vector>#include "thrust/device_vector.h"#include "caffe/layer.hpp"#include "caffe/layers/normalize_layer.hpp"#include "caffe/util/math_functions.hpp"n原创 2016-09-02 17:05:02 · 7892 阅读 · 29 评论 -
YOLO windows 配置
作者配置时的环境visual studio 2013 显卡 GTX 960M CUDA 7.5 Opencv 2.4.9 pthreadpthread 下载地址YOLO官网[http://pjreddie.com/darknet/yolo/]步骤1、 新建vs工程 2、 将工程设置为Release x64 模式 3、然后再工程添加这三个文件夹,命名为c,h,cu。然后分别添加.cu原创 2016-04-27 20:31:17 · 16495 阅读 · 55 评论 -
caffe 版本 yolo 过程记录
【注】后续再写可训练版本的yolo caffe版 【caffe训练版本已经更新caffe-yolo训练】 YOLO 框的获取 x = image.cols*(result[idx++]+j)/7;//i表示gride的位置 y = image.rows*(result[idx++]+i)/7;//j表示gride的位置 w = image.cols*result[idx]*result[id原创 2016-08-04 16:55:56 · 19171 阅读 · 20 评论 -
YOLO 学习记录
state input表示前一层的ouput。 delta表示前一层的delta。layer delta表示当前层ouput的误差。原创 2016-08-05 11:07:30 · 2169 阅读 · 1 评论 -
Limitations of YOLO
YOLO的局限性: yolo在bounding box的预测上强加了很强的空间约束,每一个网格单元只预测两个boxes并且只能有一种类别。这种空间约束限制模型对邻近目标检测的数量。模型努力解决检测成组小目标的问题,比如一群鸟。 由于我们的模型从数据里面学习预测bounding box,它致力于在新的或者非常规方向比例目标上的推广。我们模型也可以使用相对底层的特征(coarse features)翻译 2016-07-18 10:55:48 · 961 阅读 · 0 评论 -
YOLO detection 学习
detection_layer make_detection_layer(int batch, int inputs, int n, int side, int classes, int coords, int rescore){ detection_layer l = {0}; l.type = DETECTION; l.n = n;//对应论文里面的B,表示每个ce原创 2016-07-10 20:00:45 · 4525 阅读 · 2 评论 -
bounding box overlap 计算
bounding box overlap的计算分为三步 第一步是计算两个bounding box的交 计算的方式如函数一所示,计算x方向与y方向的重叠,然后相乘得到的就是交的值。 第二步是计算两个bounding box的并 第三部是两个bounding box的交除于并函数一template<typename Dtype>Dtype lap(Dtype x1_min,Dtype x1_原创 2016-07-27 10:45:55 · 2168 阅读 · 0 评论 -
YOLO 卷积层代码学习
卷积层的初始化convolutional_layer make_convolutional_layer(int batch, int h, int w, int c, int n, int size, int stride, int pad, ACTIVATION activation, int batch_normalize, int binary){ int i; convol原创 2016-05-04 16:53:17 · 6107 阅读 · 6 评论 -
YOLO训练之标注数据转化XML matlab编程
YOLO训练一、数据准备数据转化数据存储的方式 图片名称存在第一行 接下来每一行存储一个目标框,分别为x坐标,y坐标,w宽,h高,c类别存储的方式如下: matlab代码如下:clearaddpath(genpath('VOCdevkit'));%添加转化为xml的工具fid = fopen('存储图片标注信息的文件');cnt = 1;tline = fgetl(fid);in原创 2016-05-02 10:30:49 · 6449 阅读 · 4 评论 -
YOLO v2 reorg 学习
reorg layer 示意图原创 2016-12-29 10:07:20 · 9058 阅读 · 4 评论