自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

逍遥

AHU~~~有问题请联系邮箱: 1210568677@qq.com

原创 MDNet论文阅读和代码整理笔记

为什么要提出MDNet? 现有的一些目标跟踪算法是通过在大规模分类数据集ImageNet上进行预训练,但是跟踪任务和分类任务是不同的视觉任务,它们的模型之间存在“鸿沟”。 为了充分的发挥CNN在视觉跟踪方面强大的表现力,需要在大规模专门用于视觉跟踪的数据集上做训练,要求该数据集中包含目标和背景的...

2019-07-17 21:16:18

阅读数 1435

评论数 15

原创 计算IOU(取自MDNet代码)

def overlap_ratio(rect1, rect2): # 计算bounding box和ground truth的IOU ''' target bbox (min_x,min_y,w,h) ''' ...

2018-11-17 10:05:34

阅读数 622

评论数 0

原创 常用PyTorch整理(持续更新)

for child in module.children(): # 遍历模型的网络结构 # child为每一层网络的每一个部分 for k, p in child._parameters.items(): # k为每一层的参数名称,如weight,bias ...

2018-11-17 09:11:28

阅读数 101

评论数 0

原创 常用numpy整理(持续更新)

#常用的提取矩阵特定行: >>> x array([[6.93528128e-310, 4.68328808e-310, 1.58101007e-322], [1.58101007e-322, 4.68328790e-310, 0.0000...

2018-11-17 09:10:06

阅读数 79

评论数 0

原创 利用python3 爬取教务处实现自动查询成绩并发送给用户QQ邮箱

1.登录和识别验证码过程我使用的Google浏览器,编译器是PyCharm2017.2.4,首先进入教务处主页,如下所示:在登陆界面发现需要用户进行填写的选项主要有用户名(学号),密码,验证码以及身份的选择,其中身份默认是学生,那么显然在登录过程中我们所需要做的显然就是填写这些信息来实现登陆的操作...

2018-01-18 21:09:07

阅读数 4462

评论数 1

原创 拓扑排序模板

拓扑排序模板 /*邻接表拓扑排序模板*/ #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring&g...

2017-03-05 20:14:02

阅读数 244

评论数 1

原创 Snakes & Ladders

题目大意: 题目的大概意思是又N*N的棋盘,编号从1 到 N*N 棋盘中分布着蛇和梯子玩家在位置1处,   然后掷骰子,如果点数在梯子尾则顺着梯子到达梯子头,若掷到蛇头,则滑到蛇尾   问最快到达终点所需掷的次数...   解题思路: bfs,创建两个地图,一个为前一步的地图,一个为这次能走...

2017-03-05 17:48:42

阅读数 461

评论数 0

原创 ZOJ - 1649 Rescue

题目:   Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are W...

2017-03-01 16:21:24

阅读数 235

评论数 0

原创 poj 1979 Red and Black

题目链接:http://poj.org/problem?id=1979 题目:   There is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man ...

2017-02-27 18:56:18

阅读数 252

评论数 0

原创 ZOJ 2412 Farm Irrigation

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2412 题目:   Benny has a spacious farm land to irrigate. The farm land is a rectan...

2017-02-27 18:51:16

阅读数 141

评论数 0

原创 ZOJ 2110 Tempter of the Bone

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=1110 题目:   The doggie found a bone in an ancient maze, which fascinated him a lot....

2017-02-27 18:42:40

阅读数 141

评论数 0

原创 codeforces 766 C Mahmoud and a Message

题目链接:http://codeforces.com/contest/766/problem/C 题目:   Mahmoud wrote a message s of length n. He wants to send it as a birthday present to his fri...

2017-02-20 20:59:15

阅读数 158

评论数 0

原创 codeforces 766 B Mahmoud and a Triangle

题目链接:http://codeforces.com/contest/766/problem/B 题目:   Mahmoud has n line segments, the i-th of them has length ai. Ehab challenged him to useexac...

2017-02-20 20:48:48

阅读数 167

评论数 0

原创 codeforces 766 A Mahmoud and Longest Uncommon Subsequence

  题目链接:http://codeforces.com/contest/766/problem/A   题目:   A. Mahmoud and Longest Uncommon Subsequence time limit per test 2 seconds mem...

2017-02-20 20:42:04

阅读数 211

评论数 0

原创 poj 1659 Frogs' Neighborhood

题目链接:http://poj.org/problem?id=1659 解题思路: Havel-Hakimi定理的套用,该定理详见http://sbp810050504.blog.51cto.com/2799422/883904 AC代码:   //我的图论学习之路 2 #includ...

2017-02-14 22:39:06

阅读数 210

评论数 0

原创 codeforces 762A k-th divisor

题目描述:   You are given two integers n and k. Find k-th smallest divisor of n, or report that it doesn't exist. Divisor of n is any such natura...

2017-01-27 10:03:36

阅读数 304

评论数 0

原创 codeforces 750A New Year and Hurry

题目描述:   Limak is going to participate in a contest on the last day of the 2016. The contest will start at 20:00 and will last four hours, exactly u...

2017-01-17 14:36:53

阅读数 453

评论数 0

原创 codeforces 735 C Tennis Championship

题目描述:   Famous Brazil city Rio de Janeiro holds a tennis tournament and Ostap Bender doesn't want to miss this event. There will be n players ...

2017-01-15 21:50:20

阅读数 207

评论数 0

原创 codeforces 735 B Urbanization

题目描述:   Local authorities have heard a lot about combinatorial abilities of Ostap Bender so they decided to ask his help in the question of urbaniz...

2017-01-15 21:41:26

阅读数 134

评论数 0

原创 codeforces 735 A Ostap and Grasshopper

题目描述: On the way to Rio de Janeiro Ostap kills time playing with a grasshopper he took with him in a special box. Ostap builds a line of length n su...

2017-01-14 17:34:38

阅读数 200

评论数 0

原创 codeforces 754 B Ilya and tic-tac-toe game

题目描述:   Ilya is an experienced player in tic-tac-toe on the 4 × 4 field. He always starts and plays with Xs. He played a lot of games today with hi...

2017-01-09 11:36:59

阅读数 139

评论数 0

原创 codeforces 754 A Lesha and array splitting

题目描述: One spring day on his way to university Lesha found an array A. Lesha likes to split arrays into several parts. This time Lesha decided to spl...

2017-01-08 15:42:45

阅读数 544

评论数 0

原创 hdu 5546 Ancient Go

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5546 题目描述:   Problem Description Yu Zhou likes to play Go with Su Lu. From the historical research...

2016-11-21 00:19:37

阅读数 233

评论数 0

原创 codeforces 729_B

题目链接:http://codeforces.com/problemset/problem/429/B   题目描述:   B. Working out time limit per test 2 seconds memory limit per test 256 megabyte...

2016-11-17 23:05:40

阅读数 216

评论数 0

原创 aoj 7 Redraiment猜想

题目链接:http://ccpc.ahu.edu.cn:8000/OJ/Problem.aspx?id=7   题目描述:   Description redraiment在家极度无聊,于是找了张纸开始统计素数的个数。  设函数f(n)返回从1->n之间素数的个数。  re...

2016-11-16 00:04:14

阅读数 442

评论数 0

转载 直线,折线,曲线分割平面以及平面分割空间问题

注明出处,摘自 http://www.cnblogs.com/chaosheng/archive/2012/01/26/2329583.html (1) n条直线最多分平面问题 题目大致如:n条直线,最多可以把平面分为多少个区域。 析:可能你以前就见过这题目,这充其量...

2016-11-15 22:44:39

阅读数 332

评论数 0

原创 hdu 2044 一只小蜜蜂...

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2044 题目描述:   Problem Description 有一只经过训练的蜜蜂只能爬向右侧相邻的蜂房,不能反向爬行。请编程计算蜜蜂从蜂房a爬到蜂房b的可能路线数。 其中,蜂房的结构如下所示...

2016-11-15 22:36:32

阅读数 123

评论数 0

转载 dp总结

转载请注明出处,谢谢。   http://blog.csdn.NET/cc_again?viewmode=list          ----------  Accagain  2014年5月15日 动态规划一直是ACM竞赛中的重点,同时又是难点,因为该算法时间效率高,代码量少,多元性强,主要考...

2016-11-15 22:22:12

阅读数 263

评论数 0

原创 hdu 5935 Car

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5935   题目描述:   Problem Description Ruins is driving a car to participating in a programming conte...

2016-11-15 12:45:26

阅读数 261

评论数 0

原创 hdu 5933 ArcSoft's Office Rearrangement

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5933 题目描述:   Problem Description ArcSoft, Inc. is a leading global professional computer photograp...

2016-11-15 11:03:56

阅读数 220

评论数 0

原创 hdu 5938 Four Operations

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5938   题目描述:   Problem Description Little Ruins is a studious boy, recently he learned the four o...

2016-11-14 23:04:51

阅读数 162

评论数 0

原创 hdu 2104 hide handkerchief

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2104   题目描述:   Problem Description The Children’s Day has passed for some days .Has you remembere...

2016-11-06 16:27:14

阅读数 111

评论数 0

原创 hdu 1062 Text Reverse

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1062   题目描述:   Problem Description Ignatius likes to write words in reverse way. Given a single l...

2016-11-06 16:08:43

阅读数 182

评论数 0

原创 hdu 1010 Tempter of the Bone

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1010   题目描述:   Problem Description The doggie found a bone in an ancient maze, which fascinated h...

2016-11-05 01:20:06

阅读数 110

评论数 0

原创 aoj 667 抢占白房子

题目链接:http://ccpc.ahu.edu.cn:8000/OJ/Problem.aspx?id=667   题目描述:   Description 在一个8×8的宫格图中,每个格子要么是白色,要么是黑色,且相邻的两个格子的颜色一定不同;已知左上角(1,1)的格子的颜色为白色。现给...

2016-11-05 00:00:28

阅读数 247

评论数 0

原创 poj 3278 Catch That Cow

题目链接:http://poj.org/problem?id=3278 题目描述:   Description Farmer John has been informed of the location of a fugitive cow and wants to catch her im...

2016-10-31 22:30:08

阅读数 238

评论数 0

原创 bestcode Fxx and string

题目描述:   Problem Description Young theoretical computer scientist Fxx get a string which contains lowercase letters only. The string SS contains n...

2016-10-29 20:25:12

阅读数 331

评论数 0

原创 poj 2249 Binomial Showdown

题目链接:http://poj.org/problem?id=2249   题目描述:   Description In how many ways can you choose k elements out of n elements, not taking order into ac...

2016-10-29 14:09:16

阅读数 117

评论数 0

原创 poj 1503 Integer Inquiry

题目链接:http://poj.org/problem?id=1503   题目描述:   Description One of the first users of BIT's new supercomputer was Chip Diller. He extended hi...

2016-10-28 23:26:04

阅读数 161

评论数 0

原创 hdu 2553 N皇后问题

题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2553   题目描述:   Problem Description 在N*N的方格棋盘放置了N个皇后,使得它们不相互攻击(即任意2个皇后不允许处在同一排,同一列,也不允许处在与棋盘边框成45角...

2016-10-23 15:24:52

阅读数 200

评论数 0

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