自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(154)
  • 收藏
  • 关注

原创 Leetcode: 贪心算法

Leetcode 455Leetcode 135Leetcode 435Leetcode 605Leetcode 452Leetcode 763Leetcode 122Leetcode 406Leetcode 455 Assign Cookies (Easy)Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at mos

2021-01-09 13:08:34 665

原创 Object Detection:One-stage Detector SSD

继上一篇文章Object Detection: One-stage Detector DenseBox,我们了解到一种类似于分割的训练风格(segmentation-like training procedure),通过真值生成(Ground Truth Generation),来引导模型对人脸、汽车等目标的检测。单阶段模型常常遇到的一个问题就是样本平衡(Sample Balance),Dense...

2020-04-04 18:11:58 794

原创 Object Detection: One-stage Detector DenseBox

继上一篇文章Object Detection : One-stage Detector YOLO,我们可以窥探到回归(regression)、端到端(end-to-end)思想在目标检测问题上的应用。下面开始单阶段目标检测器系列的第二篇,DenseBox。YOLO -> DenseBox -> SSD -> YOLO v2 -> Retina -> YOLO v3 ...

2020-03-23 20:49:46 749

原创 Object Detection : One-stage Detector YOLO

现有的目标检测器主要分为两种类型:两阶段(two-stage)和单阶段(one-stage)。这两种检测器的设计思想有很大的不同:两阶段检测器主要将检测问题归结为分类问题(classification),而单阶段检测器主要是将检测问题定义为回归问题(regression)。不仅如此,两种检测器在时间、性能上也有一定的差距。接下来我将会沿着单阶段的主线,根据时间顺序,进一步了解单阶段检测器的发展。...

2020-02-22 23:56:59 944

原创 ReID:Harmonious Attention Network for Peson Re-Identification 解读

最近阅读了CVPR2018的这篇论文 Harmonious Attention Network for Peson Re-Identification,论文还是比较容易理解的,下面就简单的解读一下,纯属个人观点,有不同意见的欢迎评论与我探讨~ProblemExisting person re-identification(re-id) methods either assume ...

2018-04-03 17:12:42 6610 14

原创 github:Git 常用指令

本文是看完表严肃的视频教程后总结的笔记,视频链接:表严肃讲git,我觉得讲的还不错,算是一个基础的入门吧!下面我就称表严肃为表老师~表老师在视频中将commits形容为“后悔药的制作”,将git版本管理形容为“后悔药箱”,个人觉得真的很生动,无从反驳~个人经验:为减少团队合作时冲突出现次数,在每次要编辑个人代码时,需要先git pull,如果有冲突,则修改解决冲突,如果没有,自然最...

2018-04-01 16:43:12 6937

原创 DeepLearning: Matrix capsules with EM Routing 学习笔记

以下是我个人的学习笔记~ 仅供学习使用

2018-03-28 23:27:23 1602

原创 Deep Learning: Dynamic Routing Between Capsule 学习笔记 及 Capsule复现

已完成capsule network的pytorch复现,代码包含详细注释,github地址:linwh8/Pytorch-capsule以下是我看了论文及国内外多篇介绍capsule博文整理的个人笔记,仅供学习使用,转载请注明出处:http://blog.csdn.net/linwh8/article/details/79589023 ...

2018-03-17 09:21:41 592

原创 Leetcode: 73. Set Matrix Zeroes(Week15, Medium)

Leetcode 73 Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.题意:将矩阵中元素为0的对应行、列全部置0.思路:遍历整个矩阵,用两个set容器存储0元素的行与列,然后扫描完后,再执行置0操作。其中,对置换行,可以赋值长为n且全为0的vector数

2017-12-17 22:25:44 357

原创 Re-ID:AlignedReID: Surpassing Human-Level Performance in Person Re-Identification 论文解析

这篇文章作者提出了AlignedReID的方法,其亮点在于:在数据集Market1501与CUHK03上,该方法实现的rank-1 accuracy 首超人类,作者认为: Traditional approaches have focused on low-level features such as colors, shapes, and local descriptors. With the

2017-12-15 00:33:44 7744 3

原创 Leetcode: 216. Combination Sum III(Week14, Medium)

Leetcode 216 Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Examp

2017-12-11 08:54:54 291

原创 Leetcode: 40. Combination Sum II(Week13, Medium)

Leetcode 40 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once

2017-12-11 08:48:20 308

原创 Leetcode: 39. Combination Sum(Week12, Medium)

Leetcode39: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number

2017-12-11 08:39:01 243

原创 Re-ID: Learning Deep Feature Representation with Domain Guided Dropout for Person Re-identifiation

刚刚看完这篇论文,整理了一下思路。这篇论文基于神经元在学习不同特征时活跃程度不同而提出DGD的方法,也是666的论文:https://arxiv.org/abs/1604.07528 代码:https://github.com/Cysu/dgd_person_reid论文解析文章一开始,作者解释了为什么要使用多个数据集进行训练: Learning generic and robust feat

2017-11-19 12:12:49 579

原创 Leetcode: 43.Multiply Strings(Week11, Medium)

注:本题使用的是高精度乘法的思路 Leetcode 43 Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. Note: (1)The length of both num1 and num2 is < 110.

2017-11-19 09:08:46 271

原创 Re-ID: Person Re-identification by Local Maximal Occurrence Representation and Metric Learning 论文解析

注: 刚刚看完了这篇论文,顺便整理了一下这篇论文的思路,对论文的方法表示666项目主页:http://www.cbsr.ia.ac.cn/users/scliao/projects/lomo_xqda/论文解析行人重识别有两个特别重要的问题: Feature representationMetric learning在这篇论文中,作者采用的是LOMO的特征表示方法,以及XQDA的度量学习方法

2017-11-17 00:11:06 4347 4

原创 Re-ID: Reidentification by Relative Distance Comparison 论文解析

注:刚刚看完了这篇论文,顺便整理了一下这篇论文的思路,还是得膜一下伟诗大佬,666论文地址:Person Re-identification论文解析Matching people across nonoverlapping camera views at different locations and different time.RE-ID的一个经典的简化设定是一个pro...

2017-11-14 12:31:25 1402

原创 Leetcode: 515.Find Largest Value in Each Tree Row(Week10, Medium)

注:本题采用的是BFS算法 Leetcode 515 You need to find the largest value in each row of a binary tree. Example: Input: 1 / \ 3 2 / \ \ 5 3 9 Output: [1, 3, 9]题意:找到二

2017-11-09 16:15:35 267

原创 Leetcode: 34. Search for range(Week9, Medium)

注:本题采用二分法的思想 Leetcode 34 Given an array of integers sorted in ascending order, find the starting and ending position of a given target value. Your algorithm’s runtime complexity must be in th

2017-11-05 17:04:49 276

原创 Leetcode: 322. Coin Change(Week8, Medium)

注:本题是需要装满的完全背包问题 Leetcode 322 You are given coins of different denominations and a total amount of money amount. Write a function to compute the fewest number of coins that you need to make up tha

2017-10-29 21:17:41 332

原创 Leetcode: 130. Surrounded Region(Week7, Medium)

注: 本题使用BFS算法求解 Leetcode 130 Given a 2D board containing ‘X’ and ‘O’ (the letter O), capture all regions surrounded by ‘X’. A region is captured by flipping all ‘O’s into ‘X’s in that surround

2017-10-21 12:13:49 313

原创 Leetcode: 133. Clone Graph(Week6, Medium)

注:本题使用BFS算法 Leetcode 133 Clone an undirected graph. Each node in the graph contains a label and a list of its neighbors. OJ’s undirected graph serialization: Nodes are labeled uniquely.

2017-10-15 14:01:38 298

原创 Leetcode: 16. 3Sum Closest(Week5, Medium)

学号: 15331204 方向: 数媒 姓名: 林威宏对称密码有五个组成部分: (1) 明文(M)(2) 密文(C)(3) 密钥(K)(4) 加密算法(E)(5) 解密算法(D)接下来的内容皆参照以上的符号定义。1. 算法原理概述DES,即Data Encryption Standard(1) 是一种对称加密算法,典型的DES以64位为分组对数据进行加密,且加密与解密用的是同一

2017-10-05 16:26:56 334

原创 Leetcode: 48.Rotate Image(Week4, Medium)

本题采用了两种解法:常规解法与特殊解法 Leetcode 48 You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Note: You have to rotate the image in-place, which

2017-10-01 16:18:32 246

原创 Leetcode: 15. 3Sum(Week3,Medium)

注:本题算法无需实现去重操作。 Leetcode 15 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: T

2017-09-24 17:48:21 338

原创 Leetcode: 13. Roman to Integer(Week2, Easy)

注:本题总结了罗马数字的表示规律并设计算法实现罗马数字与阿拉伯数字的转换 Leetcode 13 Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999.题意:给出一个罗马数字,请你编写一个程序将之转化为整数思路:罗马数字

2017-09-14 23:38:56 289

原创 Leetcode:93. Restore IP Addresses(Week1, Medium)

注:本题使用了分治的思想。 解题方法:递归法、暴力求解法 Leetcode 93 Given a string containing only digits, restore it by returning all possible valid IP address combinations. For example: Given “25525511135”,

2017-09-10 12:28:48 579

原创 机器学习:手写数字识别(Hand-written digits recognition)小项目

该项目的所有代码在我的github上,欢迎有兴趣的同学与我探讨研究~地址:Machine-Learning/machine-learning-ex3/1. Introduction手写数字识别(Hand-written digits recognition),顾名思义,就是将带有手写数字的图片输入到已经训练过的机器,且机器能够很快识别图片中的手写数字,并将之作为输出打印出来。实现原理:现以我个人

2017-09-09 01:48:49 17891

原创 Leetcode: 70. Climbing Stairs(Week1, Easy)

注: 本文使用三种方法实现Fibonacci Sequence:递归法、非递归法、矩阵快速幂法 Leetcode 70 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinc

2017-09-08 15:17:33 658 1

原创 笔记:Web安全(更新:2017.09.07)

作者声明: 1.本文整合了Web安全课程中ppt要点、课堂笔记以及网上的部分内容,原则上禁止转载; 2. 本文仅作为个人笔记,以方便查阅,复习,并没有盈利目的; 3. 本文中大多数概念解释直接摘自网上或者上课的ppt,并不是原创。1.CERT/CC 和 CNCERT/CCCERT/CC Computer Emergency Response Team/Coordination Cente

2017-09-07 23:02:52 706

原创 机器学习: 逻辑回归(Logistic Regression) 小项目

该项目的所有代码在我的github上,欢迎有兴趣的同学与我探讨研究~ 地址:Machine-Learning/machine-learning-ex2/1. Introduction逻辑回归(Logistic Regression), 在Wiki上的定义如下: In statistics, logistic regression, or logit regression, or logit m

2017-09-04 16:04:05 3566 1

原创 机器学习:线性回归(Linear Regression)小项目

该小项目所有代码在我的github上,欢迎有兴趣的同学与我探讨研究~ 地址:Machine-Learning/machine-learning-ex1/1. Introduction线性回归(Linear Regression),在wiki上的定义如下: In statistics, linear regression is a linear approach for modeling the

2017-08-31 22:38:00 6802

原创 C语言:生产者-消费者问题、读者-写者问题

1.生产者-消费者问题:题目要求 • 在 6.6.1 小节中,使用了三个信号量: empty (以记录有多少空位)、full (以记录有多少满位)以及 mutex (二进制信号量或互斥信号量,以保 护对缓冲插入与删除的操作)。对于本项目, empty 与 full 将采用标 准计数信号量,而 mutex 将采用二进制信号量。生产者与消费者作 为独立线程,在 empty、full、mut

2017-06-19 11:25:48 7831 4

原创 多周期CPU设计(Verilog) (更新:2017/5/29)

注:单周期CPU设计请移步我的另一篇博文: 单周期CPU设计(Verilog)一、 实验目的(1) 认识和掌握多周期数据通路原理及其设计方法; (2) 掌握多周期CPU的实现方法,代码实现方法; (3) 编写一个编译器,将MIPS汇编程序编译为二进制机器码; (4) 掌握多周期CPU的测试方法。二、 实验内容设计一个多周期CPU,该CPU至少能实现以下指令功能操作。需设计的指令与格式如下:

2017-05-12 15:02:12 23865 19

原创 单周期CPU设计(Verilog)

2017/06/08: 当时单周期cpu写的比较仓促,没有深入的进行调试,我准备在放假的时候重构一下代码, 然后把博文改进一下,现在实在没有时间,很抱歉~ 不过多周期我有调试过的,所以有需要的可以移步到我的多周期cpu设计一、 实验目的(1) 掌握单周期CPU数据通路图的构成、原理及其设计方法; (2) 掌握单周期CPU的实现方法,代码实现方法; (3) 认识和掌握指令与CPU的关系; (4)

2017-05-07 10:46:00 55031 18

原创 操作系统:进程和进程通信

实验目的: 加深对进程概念的理解,明确进程和程序的区别。进一步认识并发执行的实质。了解信号处理认识进程间通信(IPC):进程间共享内存实现shell:了解程序运行1.实验一:进程的创建实验程序一:int main(void) { int pid1 = fork(); printf("**1**\n"); int psid2 = fork(); printf(

2017-05-02 15:10:37 2102 1

原创 Cocos2d-x:学习笔记(2017.05.12更新)

1.参考链接汇总官方接口文档 关于Cocos2d-x中addchild和removeChild方法的参数的解析 Cocos2d-x3.2 Menu菜单的创建 cocos 中熟练运用场景的切换 cocos2dx一个场景添加多个层 Cocos2d-x Layer锚点设置 cocos2d-x convertToWorldSpace 和 convertToNodeSpace cocos2d-

2017-05-01 20:41:13 1621

原创 UWP:使用MediaPlayerElement实现媒体播放器

1.代码部分UI界面(Mainpage.XAML):<Page x:Class="Homework8.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xml

2017-04-21 14:43:41 5523 3

原创 MySQL:定义一个小型的数据库

因为这学期有专选数据库原理,很快就上手了MySQL,所以借着这次实践来巩固一下理论课上的知识和MySQL的使用。由于实践的过程忘记用markdown写了,所以就以截图的形式呈现,后期我会把代码放到github上。注:SQL语句常见语法错误调试信息部分摘抄自网上,可更新视图与不可更新视图的几点情况也是摘抄自网上。注:所有代码、数据都是原创

2017-04-03 10:26:58 2350

原创 MySQL:安装MySQL及环境配置

1.安装及环境配置(mac)到官网下载对应的dmg包,然后安装mysql,最后的弹出框中包含用户名(默认为root)与密码,要截图或者复制。安装完成后,打开系统偏好设置,点击MySQL图标,启动MySQL Server。接下来进行环境变量配置:在终端中输入命令sudo vim ~/.bash_profile(如果没有.bash_profile文件那就新建)。然后往其中添加PATH=$PATH

2017-04-03 09:56:13 2776

空空如也

空空如也

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

TA关注的人

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