- 博客(108)
- 收藏
- 关注
原创 11. 盛最多水的容器
给定一个长度为 n 的整数数组 height。有 n 条垂线,第 i 条线的两个端点是 (i, 0) 和 (i, height[i])。链接:https://leetcode.cn/problems/container-with-most-water。找出其中的两条线,使得它们与 x 轴共同构成的容器可以容纳最多的水。来源:力扣(LeetCode)返回容器可以储存的最大水量。说明:你不能倾斜容器。
2023-04-02 19:30:29
178
原创 Global Context Assisted Structure-Aware Vehicle Retrieval
针对检测不精确的问题,对初始检测的边界框按20%的比例进行扩展,然后采用landmark对齐的方法对检测结果进行细化。在遮挡情况下,只有车辆被严重遮挡时,会出现假阴性(本来是车,未识别出来)结果,若只有一小部分被遮挡的情况下,检测到的置信度分数很低。因此,使用包含相同车辆的多个帧来检测目标车辆,并将检测到的置信度最高的边界框用作对齐proposal。本文使用现成得CNN模型进行检测。输入图像首先经过一个7∗77*77∗7的卷积层开始,步幅为2,通道数为64;然后通过一个残差块之后,过一个最大池化层,依次通过
2022-07-14 14:16:06
441
原创 YOLOV5_代码
1.detect.py2.train.py3.云端训练1)先将项目打包,上传到drive2)将云端项目解压3)安装依赖2)将云端项目解压3)安装依赖4)执行训练
2022-03-17 22:12:27
172
原创 Distilling Object Detectors via Decoupled Features
Abstract相比于图像分类而言,目标检测器更加复杂,具有多个损失函数。而目前的的检测中,其主要将注意力集中在对象的区域中,但本文指出,从背景中提取的特征信息对于学生模型的学习也是必不可少的。且由于目标区域和背景区域包含的信息不同,所以所授予的权重也应该时不同的。在此基础上,本文提出了一种新的基于解耦特征的蒸馏算法DeFeat,性能有所提升,1. Introduction先介绍了为了提升目标检测的准确性,计算资源成本的增加和检测速度的明显降低。解决方法有:量化、剪枝、网络设计和知识蒸馏等。接下来介绍
2022-03-06 15:03:08
4430
原创 深度学习-知识蒸馏
第一章 综述知识蒸馏的目的是将大模型变成小模型,将小模型部署到移动终端设备上。1.轻量化网络2.知识的表示与迁移hard targets和soft targets:显然, soft targets包含更多的“知识”和“信息”, 像谁, 不像谁, 有多像,有多不像, 特别是非正确类别概率的相对大小(驴和车)。3.蒸馏温度T把比较硬的soft targets变得更软,信息暴漏的更明显例如:第二章 知识蒸馏1.过程教师网络进行预训练,生成soft labels,学生网络可能训练,
2022-03-05 14:16:50
1140
原创 《金银岛》读后感
金银岛的观后感在补习班上班期间,发现了前台有一本《金银岛》,然后也算无事就拿来看看,现在顺便记录一下观后感。这本书可以用一句话来总结,就是:一艘船上一伙好人,一伙心怀不轨之人到达金银岛,进行财宝抢夺的故事。这本书的前半部分很吸引我,但是较为精彩的后半部分可能是我看的时候心不在焉,反倒是没有前半部分船长被追杀让我觉得精彩。而且后半部分的对峙也没有让我感觉到很紧张。也可能是我的水平不够,里面的一些描写我也只是粗略看过,所以没有把自己代入情境之中。...
2021-04-18 20:53:16
159
原创 牛客网--日期差值
题目描述有两个日期,求两个日期之间的天数,如果两个日期是连续的我们规定他们之间的天数为两天输入描述:有多组数据,每组数据有两行,分别表示两个日期,形式为YYYYMMDD输出描述:每组数据输出一行,即日期差值示例1输入2011041220110422输出11#include <stdio.h>#include <stdlib.h>int daytab[2][13] = {{ 0,31,28,31,30,31.
2021-03-06 14:16:08
134
原创 牛客网--日期累加
题目描述设计一个程序能计算一个日期加上若干天后是什么日期。输入描述:输入第一行表示样例个数m,接下来m行每行四个整数分别表示年月日和累加的天数。输出描述:输出m行,每行按yyyy-mm-dd的个数输出。示例1输入复制12008 2 3 100输出复制2008-05-13#include <stdio.h>#include <stdlib.h>int daytab[2][13] = {{ 0,31,28.
2021-03-06 13:21:28
128
原创 牛客网--Hello World For U
题目描述Given any string of N (>=5) characters, you are asked to form the characters into the shape of U. For example, "helloworld" can be printed as: hd e l l r lowo That is, the characters must be printed in the original order, starting top-down fr...
2021-03-05 16:19:02
157
原创 PAT--1012 The Best Rank (25 分)
To evaluate the performance of our first year CS majored students, we consider their grades of three courses only:C- C Programming Language,M- Mathematics (Calculus or Linear Algrbra), andE- Eng...
2019-09-02 16:18:11
135
原创 PAT--1086 Tree Traversals Again (25 分)
1086Tree Traversals Again(25分)An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the keys numbered ...
2019-09-01 15:10:06
130
原创 PAT--1030 Travel Plan (30 分)
A traveler's map gives the distances between cities along the highways, together with the cost of each highway. Now you are supposed to write a program to help a traveler to decide the shortest path b...
2019-09-01 12:53:10
115
原创 PAT--1021 Deepest Root (25 分)
A graph which is connected and acyclic can be considered a tree. The height of the tree depends on the selected root. Now you are supposed to find the root that results in a highest tree. Such a root ...
2019-09-01 11:21:38
125
原创 PAT--1018 Public Bike Management (30 分)
There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to any other stations in the ...
2019-08-31 22:41:59
117
原创 PAT--1013 Battle Over Cities (25 分)
It is vitally important to have all the cities connected by highways in a war. If a city is occupied by the enemy, all the highways from/toward that city are closed. We must know immediately if we nee...
2019-08-29 23:38:56
149
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人