- 博客(100)
- 资源 (49)
- 收藏
- 关注
原创 DIoU CIoU
DIoU (Distance-IoU) CIoU (Complete IoU) Loss论文https://arxiv.org/abs/1911.08287论文配套代码https://github.com/Zzh-tju/DIoU-darknetPaddle版代码https://github.com/PaddlePaddle/PaddleDetection/blob/master/ppdet/modeling/losses/iou_loss.py...
2020-07-13 14:39:03
319
原创 使用PaddleDetection训练自己的数据集
使用PaddleDetection训练自己的数据集https://aistudio.baidu.com/aistudio/projectdetail/441868?shared=1
2020-07-03 19:35:09
3250
原创 YOLO V4论文翻译及复现
论文标题:YOLOv4: Optimal Speed and Accuracy of Object Detection下载地址:https://arxiv.org/abs/2004.10934标题:YOLOv4:优化目标检测的速度和精度摘要:有大量的特征被认为可以提升卷积神经网络的精度。将这些特征进行组合后在大规模数据集上进行实际的测试,并给出理论层面的正当理由,是必要的。有些特征针对特定问题、特定模型,或者仅仅是针对小规模数据集起作用。与此同时,有些特征,例如批标准..
2020-05-09 09:45:37
2451
原创 百度深度学习7日打卡第六期:Python小白逆袭大神 Day3-《青春有你2》选手数据分析
百度深度学习7日打卡第六期:Python小白逆袭大神https://aistudio.baidu.com/aistudio/course/introduce/1224Day3-《青春有你2》选手数据分析这题主要考察Pandas的Series的访问,以及Matplotlib中的饼图的绘制方法,分别参考官方课件第21页和43页:需要做的工作:1.指...
2020-04-27 09:52:57
511
原创 百度深度学习7日打卡第六期:Python小白逆袭大神 Day2-《青春有你2》选手信息爬取
百度深度学习7日打卡第六期:Python小白逆袭大神https://aistudio.baidu.com/aistudio/course/introduce/1224Day2-《青春有你2》选手信息爬取这个作业主要考察BeautifulSoup以及Chrome开发者模式的使用。使用Chrome打开网站:https://baike.baidu.com/ite...
2020-04-27 09:43:54
370
原创 百度深度学习7日打卡第六期:Python小白逆袭大神 Day1-Python基础练习
百度深度学习7日打卡第六期:Python小白逆袭大神https://aistudio.baidu.com/aistudio/course/introduce/1224Day1-Python基础练习作业一:输出 9*9 乘法口诀表(注意格式)def table(): #在这里写下您的乘法口诀表代码吧! for i in range(1,10,1): ...
2020-04-26 22:13:50
241
原创 leetcode 1143. 最长公共子序列
https://leetcode.com/problems/longest-common-subsequence/解题思路:动态规划,二维数组,记录最长公共子序列的值。class Solution {public: int longestCommonSubsequence(string text1, string text2) { int l1 = te...
2020-04-12 13:04:35
257
原创 leetcode 56 Merge Intervals leetcode 57 Insert Interval 区间合并
leetcode 56Merge Intervalshttps://leetcode.com/problems/merge-intervals/class Solution {public: vector<vector<int>> merge(vector<vector<int>>& intervals) { ...
2020-04-08 15:26:51
162
原创 leetcode 206. Reverse Linked List 链表反转 递归、非递归
剑指offer第24题https://leetcode.com/problems/reverse-linked-list/1.非递归class Solution {public: ListNode* reverseList(ListNode* head) { if(head==nullptr || head->next ==nullptr) ret...
2020-04-02 17:16:11
182
原创 HDOJ 1231 最大和连续子序列 (LeetCode 53、剑指Offer42的拓展)
LeetCode 53、剑指Offer42 都是求 连续子序列的最大和,来自杭电OJ 1231这道题,不仅求最大和,还要给出子序列首位元素。http://acm.hdu.edu.cn/showproblem.php?pid=1231代码:#include<stdio.h>#include<vector>using namespa...
2020-03-30 23:25:27
190
原创 leetcode 557. Reverse Words in a String III 反转字符串中的每个单词
https://leetcode.com/problems/reverse-words-in-a-string-iii/解法一:遇到字符就压栈,遇到空格或最后一个字符就弹出栈。class Solution {public: string reverseWords(string s) { int n = s.length(); if(n<...
2020-02-16 11:57:34
177
原创 leetcode 151 / 186. Reverse Words in a String 将字符串中的单词反序
https://leetcode.com/problems/reverse-words-in-a-string/先整体反序,再逐个单词块进行反序。参考https://www.cnblogs.com/grandyang/p/4606676.htmlclass Solution {public: string reverseWords(string s) { ...
2020-02-16 11:28:07
188
原创 leetcode 215. Kth Largest Element in an Array 数组中的第K大的元素
https://leetcode.com/problems/kth-largest-element-in-an-array/将数组看为没有调整到位的最大堆,由于堆是完全二叉树,因此根节点与子节点的下标存在对应关系。每次从堆中取出最大值,将其放至根节点,再与最后一个节点互换位置,然后将其从堆删除。class Solution {public: int findKthLar...
2020-02-14 10:29:28
176
原创 4邻域、8邻域问题-DFS/BFS
leetcode 200 岛屿个数leetcode 695 最大岛屿面积leetcode 1091 八邻域,矩阵左上角至右下角最短路径
2020-02-12 15:56:30
2433
原创 leetcode 123. Best Time to Buy and Sell Stock III 股票最多两次买入、两次卖出的最大利润
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/数组的最大2子段和,允许在一天内买入又卖出,相当于不交易。因为题目规定的是最多交易两次,而不是必须交易两次。class Solution {public: int maxProfit(vector<int>& prices)...
2020-02-12 11:04:46
215
原创 leetcode 122. Best Time to Buy and Sell Stock II 股票多次买入卖出的最大利润
https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii/把所有的大于零的价格差累加起来。class Solution {public: int maxProfit(vector<int>& prices) { int n = prices.size(); ...
2020-02-12 10:31:35
132
原创 leetcode 121. Best Time to Buy and Sell Stock 股票一次买入一次卖出的最大利润
https://leetcode.com/problems/best-time-to-buy-and-sell-stock/滑动更新最低价、最大收益值。class Solution {public: int maxProfit(vector<int>& prices) { int n = prices.size(); if...
2020-02-12 10:29:58
137
原创 leetcode 448. Find All Numbers Disappeared in an Array
https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/题目要求不使用额外空间,并且时间复杂度为O(n)思路:若元素值a[ i -1 ]与其序号i 不等,并且a[i-1] 与a[ a[i-1] -1]不等,则将a[i-1] 与 a[ a[i-1] -1] 对调位置后,两者对调后至少有一个...
2020-02-11 17:34:48
83
原创 leetcode 222. Count Complete Tree Nodes 统计完全二叉树节点个数
https://leetcode.com/problems/count-complete-tree-nodes/层次遍历二叉树,将节点压入队列,取出队列头部,将其左右子树压入队列。/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; ...
2020-02-10 16:08:34
151
原创 leetcode 958. Check Completeness of a Binary Tree 完全二叉树的判定
https://leetcode.com/problems/check-completeness-of-a-binary-tree/层次遍历,依次将每层的所有节点压入队列,空节点也照常压入,每次从队列中取出一个节点,若该节点为空,则队列应该为空,或者剩余节点全部为空节点。/** * Definition for a binary tree node. * stru...
2020-02-10 16:06:13
134
原创 leetcode 977. Squares of a Sorted Array 求一个数组的平方
https://leetcode.com/problems/squares-of-a-sorted-array/两个指针i,j,分别指向头和尾,平方后比较:若相等,则将元素的平方压入数组result,左指针i右移;反之,将较大的元素平方压入数组result,较大的指针向另一个指针移动;压入最后一个元素,将result数组取反。class Solution {public...
2020-02-08 15:44:45
144
原创 leetcode 547. Friend Circles 并查集
https://leetcode.com/problems/friend-circles/朋友关系是双向的,因此矩阵M是关于对角线对称的,只需要处理对角线以上的半边即可。用一维数组 f [] 记录每个节点真实的根,使用并查集的方式,求出朋友圈的个数。class Solution {public: int findCircleNum(vector<ve...
2020-02-02 16:09:55
158
原创 leetcode 72. Edit Distance 编辑距离-动态规划、滚动数组
https://leetcode.com/problems/edit-distance/1.动态规划,二维数组class Solution {public: int minDistance(string word1, string word2) { if(word1.empty() || word1.length()==0) retu...
2020-01-17 09:49:30
285
原创 leetcode 117. Populating Next Right Pointers in Each Node II 给非完全二叉树每个节点增加一个水平指针
https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii/1.递归-对每层新建一个外部节点,用于将每层串起来。由于所有节点的next初始化为null,因此对于最右侧的节点不作处理。/*// Definition for a Node.class Node {public: i...
2020-01-07 15:31:02
91
原创 leetcode 116. Populating Next Right Pointers in Each Node 完全二叉树每个节点增加一个水平指针
https://leetcode.com/problems/populating-next-right-pointers-in-each-node/1.递归/*// Definition for a Node.class Node {public: int val; Node* left; Node* right; Node* next; ...
2020-01-07 10:54:46
100
原创 leetcode 110. Balanced Binary Tree 判断二叉树是否为平衡二叉树
https://leetcode.com/problems/balanced-binary-tree/1.通过计算每个节点左右子树的深度,自顶向下,判断每个节点是否平衡这种方法存在大量重复计算,效率较低。/** * Definition for a binary tree node. * struct TreeNode { * int val; * Tre...
2020-01-07 09:13:51
129
原创 leetcode 101. Symmetric Tree 判断二叉树是否左右对称
https://leetcode.com/problems/symmetric-tree/1.递归/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(in...
2020-01-06 21:51:42
120
原创 leetcode 100. Same Tree 判断两个二叉树是否相同
https://leetcode.com/problems/same-tree//** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(...
2020-01-06 21:24:31
160
原创 leetcode 103. Binary Tree Zigzag Level Order Traversal 二叉树之字型遍历-递归、非递归
https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal/掌握vector的头插法 v.insert(v.begin(),val)之后,这道题就变得很简单了。1.递归/** * Definition for a binary tree node. * struct TreeNode { *...
2020-01-06 21:06:46
93
原创 leetcode 107. Binary Tree Level Order Traversal II 二叉树自底向上层次遍历-递归、非递归
https://leetcode.com/problems/binary-tree-level-order-traversal-ii/在leetcode102题的基础上,将vector反序即可。1.递归/** * Definition for a binary tree node. * struct TreeNode { * int val; * T...
2020-01-06 19:47:50
119
原创 leetcode 102. Binary Tree Level Order Traversal 二叉树层次遍历-递归、非递归
https://leetcode.com/problems/binary-tree-level-order-traversal/1.递归/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *rig...
2020-01-06 19:02:55
97
原创 leetcode 145. Binary Tree Postorder Traversal 二叉树后序遍历-递归、非递归
https://leetcode.com/problems/binary-tree-postorder-traversal/1.递归/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; ...
2020-01-06 16:24:56
158
原创 leetcode 144. Binary Tree Preorder Traversal 二叉树前序遍历-递归、非递归
https://leetcode.com/problems/binary-tree-preorder-traversal/1.递归/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; *...
2020-01-06 15:59:59
165
原创 leetcode 94. Binary Tree Inorder Traversal 二叉树中序遍历-递归、非递归
https://leetcode.com/problems/binary-tree-inorder-traversal/1.递归: /** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; ...
2020-01-06 15:24:29
97
原创 leetcode 113. Path Sum II 二叉树从根节点到叶节点的路径-输出所有结果
https://leetcode.com/problems/path-sum-ii//** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : va...
2020-01-06 12:36:11
139
哈尔滨工业大学 2014年数据挖掘 期末试题
2014-04-10
Wu-Manber算法论文
2014-04-02
Github for windows
2014-03-20
网络安全开发包详解代码
2014-03-20
Original paper on the Boyer-Moore algorithm
2014-03-20
JPEG Matlab 图像压缩
2014-03-12
Knuth-Morris-Pratt算法(KMP)Fast pattern matching in strings
2014-01-14
深入理解Nginx模块开发与架构解析.pdf
2013-12-16
Introduction to Automata Theory, Languages, and Computation Solutions
2013-12-15
Google code jam - World Finals 2017-Problem A. Dice Straight
2017-09-22
类似于微信的聊天气泡图片
2016-07-20
EI检索目录表格官方下载
2016-06-23
Endnote 7.5 激活文件
2016-05-26
Iterative Error Correction Turbo, Low-Density Parity-Check
2016-03-06
Latex算法包 algorithm2e.sty — package for algorithms
2015-12-06
图像放大与插值
2014-04-25
Boyer-Moore算法
2014-04-23
UCI手写数字识别matlab
2014-04-23
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人