自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

glory_lee的博客

一个渣渣程序员的自我救赎之路

  • 博客(32)
  • 收藏
  • 关注

转载 判别式模型与生成式模型的简单比较

Let's say you have input data x and you want to classify the data into labels y. A generative model learns the joint probability distribution p(x,y) and a discriminative model learns the conditional

2017-11-03 18:06:25 290 1

原创 Object Tracking Benchmark 目标跟踪中常用算法评价参数

作为计算机视觉的重要组成部分,最近几年有很多的目标跟踪算法提出。在如何评价算法性能方面也相继有一些方法和视频序列提出。本篇博客主要对2015年发表于IEEE上一篇《Object Tracking Benchmark》当中提出的OPE、TRE、SRE三个基本评价方法进行讲解,同时也会简单介绍一下Precision Plot、Success Plot的matlab实现方法。

2017-09-22 18:14:30 10993 1

原创 caffe:net结构可视化

caffe中本来提供了用以对net进行可视化的python接口,可以以流程图的方式对net进行展示。但怎奈又需要再次对python接口、环境进行调试,运行时也要再次编译pycaffe,实在是有些麻烦。后在网上几经寻找找到了一个可视化网站——Netscope。 只需要将prototxt文件当中的net定义拷贝至网页中即可得到可视化的模型。这里给出一个16层VGGnet模型示例。name: "VGG_I

2017-09-19 17:35:31 847

原创 卷积神经网络各层分析

在前面的文章中,我们介绍了全连接神经网络,以及它的训练和使用。我们用它来识别了手写数字,然而,这种结构的网络对于图像识别任务来说并不是很合适。本文将要介绍一种更适合图像、语音识别任务的神经网络结构——卷积神经网络(Convolutional Neural Network, CNN)。说卷积神经网络是最重要的一种神经网络也不为过,它在最近几年大放异彩,几乎所有图像、语音识别领域的重要突破都是卷积

2017-09-08 22:00:40 112136 17

原创 caffe+CUDA 8.0+matlab R2015b的安装过程

因为近来一直在看几篇用CNN做单目标跟踪的paper,所以也想做一下实验了解一下具体实现的效果,遂决定在电脑上搭一下环境。本人使用的是Ubuntu 16.04版本,加上caffe和GPU加速运算的CUDA,最后是调用caffe接口的matlab,具体的教程网上也比较多,但与此同时也带来了一些问题,在我搭建环境的过程中也是遇到了这样或者是那样的问题,写这篇博客的话也主要是和大家来分享一下,让后来人少走弯路

2017-08-20 15:53:26 713

转载 图像数据转换成db(leveldb/lmdb)文件

Caffe学习系列(11):图像数据转换成db(leveldb/lmdb)文件在深度学习的实际应用中,我们经常用到的原始数据是图片文件,如jpg,jpeg,png,tif等格式的,而且有可能图片的大小还不一致。而在caffe中经常使用的数据类型是lmdb或leveldb,因此就产生了这样的一个问题:如何从原始图片文件转换成caffe中能够运行的db(leveldb/lmdb)文件?

2017-08-14 12:25:20 553

原创 线性回归与梯度下降(gradient descent)算法

最近一段时间时间在看Caffe的架构和代码,在Blob的数据结构里面发现主要存储了两类内容:一类是数据data_,另一类是diff_。作为半路出家研究机器学习的我来说就大概了解了一下线性回归的基本内容,对梯度下降的方法也做了了解。好在两个部分内容都不是特别复杂,理解起来也不会太困难。线性回归参考(一)线性回归与特征归一化(feature scaling),作者写的很清楚,我就不再浪费时间了。梯度下降

2017-07-21 17:58:26 1037

转载 无监督特征学习——Unsupervised feature learning and deep learning

无监督学习近年来很热,先后应用于computer vision, audio classification和 NLP等问题,通过机器进行无监督学习feature得到的结果,其accuracy大多明显优于其他方法进行training。本文将主要针对Andrew的unsupervised learning,结合他的视频:unsupervised feature learning by Andrew

2017-07-20 17:35:24 361

转载 深度学习在目标跟踪中的应用

本文转载自深度学习大讲堂摘要       近年来,深度学习方法在物体跟踪领域有不少成功应用,并逐渐在性能上超越传统方法。本文对现有基于深度学习的目标跟踪算法进行了分类梳理,希望能给读者带来启发。       开始本文之前,我们首先看上方给出的3张图片,它们分别是同一个视频的第1,40,80帧。在第1帧给出一个跑步者的边框(bounding-box)之后,后续的第40帧,

2017-07-13 17:27:09 1171

原创 Algorithms exercise 8.8

Algorithms exercise8.8 In the EXACT 4SAT problem, the input is a set of clauses, each of which is a disjunction of exactly four literals, and such that each variable occurs at most once in each clau

2017-07-05 16:48:22 274

原创 17. Letter Combinations of a Phone Number

Description:Given a digit string, return all possible letter combinations that the number could represent.A mapping of digit to letters (just like on the telephone buttons) is given below.

2017-06-30 16:06:41 235

原创 58. Length of Last Word

Description:Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string.If the last word does not exist, return 0.

2017-06-30 15:54:24 221

原创 100. Same Tree

Description:Given two binary trees, write a function to check if they are equal or not.Two binary trees are considered equal if they are structurally identical and the nodes have the same va

2017-06-28 14:09:36 209

原创 算法机考模拟题题解(部分)

1000. 函数求值Description定义超级和函数F如下:F(0, n) = n,对于所有的正整数n..F(k, n) = F(k – 1, 1) + F(k – 1, 2) + … + F(k – 1, n),对于所有的正整数k和n. 请实现下面Solution类中计算F(k, n)的函数(1  class Solut

2017-06-27 22:19:44 423

原创 ZigZag Conversion

Description:The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A

2017-06-04 20:56:55 184

原创 53. Maximum Subarray

Description:Find the contiguous subarray within an array (containing at least one number) which has the largest sum.For example, given the array [-2,1,-3,4,-1,2,1,-5,4],the contiguous subarr

2017-05-24 15:50:06 210

原创 38.Count and Say

Description:The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1 is read off as "one 1" or 11.11 is read off as "two 1s" or 21.

2017-05-17 16:21:51 181

原创 35. Search Insert Position

Description:Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order.You may assume no duplic

2017-05-10 15:56:01 158

原创 27. Remove Element

Description:Given an array and a value, remove all instances of that value in place and return the new length.Do not allocate extra space for another array, you must do this in place with cons

2017-05-10 14:40:26 171

原创 28. Implement strStr()

Description:Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.解题思路:在一个字符串当中查找是否包含另一个字符串,如果包含就返回该位置的索引。利用一个嵌套循环遍历haysta

2017-05-10 14:35:04 146

原创 26. Remove Duplicates from Sorted Array

Description:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must do this

2017-04-26 14:17:38 175

原创 21. Merge Two Sorted Lists

description: Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.思路分析:一个有关链表的题目,意思大致是说把两个已经排列好顺序的链表合成为一个

2017-04-24 14:05:52 142

原创 20. Valid Parentheses

description:Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.The brackets must close in the correct order, "()" and "()[]{}" ar

2017-04-24 14:01:38 178

原创 14. Longest Common Prefix

解题思路:这道题目的意思是说判断一系列字符串当中最长的前缀,在解题时只要逐一字符判断即可得到最长的相同前缀。class Solution {public: string longestCommonPrefix(vector& strs) { int n = strs.size(); string res; if(n == 0)return r

2017-04-14 14:56:25 159

原创 12. Integer to Roman

Description:iven an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.思路:题目还是算简单的吧,规定了1到3999的范围,我直接利用了贪心算法,每次都取最大的那个数,组合起来就解决了问题class Solution {

2017-04-07 16:30:46 197

原创 13. Roman to Integer

Description:Given a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.问题分析:这个题目的要求是给你一个罗马数字,让你把它转换成一个十进制数字。我们都知道罗马数字和十进制数字是有一些不同的,比如说在罗马数字

2017-03-15 20:42:56 496

原创 9. Palindrome Number

Description:Determine whether an integer is a palindrome. Do this without extra space.Some hints:Could negative integers be palindromes? (ie, -1)If you are thinking of converting the int

2017-03-15 20:10:57 173

原创 5. Longest Palindromic Substring

Description:Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.Example:Input: "babad"Output: "bab"Note: "aba" is also a

2017-03-07 10:00:56 170

原创 2. Add Two Numbers

Description:You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numb

2017-02-27 21:46:17 162

原创 3. Longest Substring Without Repeating Characters

Description:Given a string, find the length of the longest substring without repeating characters.Examples:Given "abcabcbb", the answer is "abc", which the length is 3.Given "bbbbb",

2017-02-27 21:21:12 153

原创 LeetCode Algorithms No.1 Two Sums解题思路

Description:Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may

2017-02-24 09:34:40 275

原创 稳定与未知,你到底会选择哪一个?

今天是2016年10月16日,来到CSDN的第一天。   其实与CSDN真正结缘的话可能是一件很早之前就实现的事情了。那个时候我还是一个对计算机这门学科懵懵懂懂的人,只学了一点点C++的皮毛,数据结构略懂那么一点点,学了几门叫做数字电路、信号与系统、计算机组成原理之类的根本不知道有什么作用的课程,看了一本叫做《操作系统》的书结果除了知道了几个名词概念之外一无所获,然后也写不出什么像样的东西来。所以

2016-10-16 21:29:44 337

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除