自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 [CV]一些关于计算机视觉面试题的整理

Batchnormalization 批量标准化深度学习有个本质性的问题:随着网络深度加深,训练起来困难,本质是反向传播的时候梯度消失。比如我们看sigmoid函数​​​图源百度百科显而易见的就是在大于4的时候,函数已经变化非常平缓了,也就是再训练下去就要梯度消失了。这时候我们的BatchNorm...

2022-04-17 09:59:14 2656

原创 关于光场图像质量评价的一些论文和数据集的整理

论文名称 模型类型 发表年份 || 发表刊物 || 模型缩写 论文代码 Pseudo Video and Refocused Images-Based Blind Light Field Image Quality Assessment NRIQA 2021 || CSVT || https://github.com/JianjunXiang/PVRI/tree/616b68ba13a959b42479f423b

2022-02-14 17:59:44 3890 6

原创 [Daily]imaginary number(一些小时候不好好读书的补救)

由傅立叶引发的血案我刚知道 原来 虚数 (imaginary number 想象的数?) 还有很多的扩展。首先 上过初中的兄弟们都知道 也就是这个想象的数其实一开始是用来表示-1开根号的那么我们就可以知道如果 表示在坐标轴上就是从 1 旋转到 -1,如下图一样,从1到-1。所以其实在虚数平面内,将 其实就等同于逆时针旋转90度。显而易见。在虚数(复)平面内,纵坐标1的长度即代表, 如果在虚平面上用向量表示就相当于原来安安静静呆在横坐标轴上长度为1的向量逆时针旋转了45度,向量长...

2021-12-06 11:01:49 339

原创 [Daily]矩阵

矩阵 matrix开始填海稀疏矩阵 sparse matrix零元素远多于非零元素的矩阵。(非常确切的定义找了很久没找到,大概是不需要吧。抄作业 ⇒一篇关于机器学习中的稀疏矩阵的介绍摘重点以下面这个矩阵为例矩阵的压缩 可以压缩成两种格式1.COO (Coordinate Format) 是以三个数组的形式存储 数组分别存储 行号 / 列号 / 值(打value的时候忘记加s了懒得改了)2.CSR(Compressed Sparse Row) 也是三类数..

2021-10-13 12:15:35 85

原创 [Daily]torch里的一些初始化

虽然少壮不努力但是老大还是要亡(精)羊(卫)补(填)牢(海)torch.nn.init里的一些函数均匀分布nn.init.uniform_(tensor, a=0, b=1)用均匀分布生成值来填充tensort1 = torch.zeros(2, 2)print(t1)t2 = nn.init.uniform_(t1)print(t2)>>> tensor([[0., 0.],>>> [0., 0.]])&g

2021-09-28 19:02:31 448

原创 工业界精排模型整合

参考推荐系统精排模型综述2021Wide & Deep Learning for Recommender Systems(2016.06)GoogleOverview由wide部分和deep部分组成Part 1WideLayer线性模型记忆性好Part 2Deep Layer先embedding然后扔进dnn泛化性好最后把part1 跟 part2 的结果concat起来Experiment在一个实时的推荐系统Google p...

2021-09-16 10:59:53 238

原创 [Error]错误使用 mex未找到支持的编译器。(mac

一开始我以为没有下载MinGW 编译器,想下来着。然后发现没有支持mac的版本。仔细一找才发现 MinGW 是Minimalist GNU for Windows的缩写。所以又折回去。发现报错后面还有这么一行。有关选项,请访问 https://www.mathworks.com/support/compilers。点进去,他说 在matlab上没有支持c的编译器,需要使用的话,下载xcode。于是马不停蹄的去下载了。然后一看11个G。哦那有缘再见。搁着。中午。下完了。...

2021-09-07 11:49:01 365

原创 [CV]光场和它的各种

一些关于光场图像的乱七八糟首先 光场(Light Field) 类似 磁场 电场 就是光在我们身边传来传去形成的一个场我这讲法似乎有那么点离谱。百度百科告诉我们是 光在我们每一个点通过的光量。哎。竟然也是法拉第定义的。。高中物理课本有那么点感觉了。。神奇的是 光场竟然是基于图像渲染技术。于是我又去了解了一下渲染。。看了很多。额。。解释好多。。还是做个粗人。就是三维的东西 转化成 二维的过程。转回正题。开始的时候是用一个7维函数代表光场的。但其实我们可以假设我们的波长和时间

2021-09-02 10:28:34 702

原创 [Deeplearning]SPP

spp 全名 spatial pyramid pooling 空间金字塔池化一开始提出来主要是为了解决在CNN中最后都会跟着一层全连接层,全连接层输入的特征数是固定的,所以我们在输入的时候往往需要固定大小的图片尺寸,但因为实际状况的问题,不能满足这种情况,我们就需要对图片进行缩放,裁剪等操作,在一定程度上会扭曲原始的图像。所以就提出了spp,可以对任意输入的图片固定输出大小。spp的思路是 对每一个输入的feature map 划分成 16 / 4 / 1 个网格。然后在这三幅划分的网格图中

2021-09-01 09:56:28 187

原创 [Deeplearning]dwconv

dwconv是由一个两部分卷积组成的一个网络第一部分是depthwise conv 是分通道的一个卷积 就是每个卷积核对应input的每一个通道 有图好理解很多 如下图源https://blog.csdn.net/tintinetmilou/article/details/81607721因为上面每个层的特征都分开 没有有效的利用相同空间位置上不同层的有效信息,所以有了第二部分第二部分是pointwise conv它将第一部分各自独立的featuremap进行组合生成了新的..

2021-08-31 09:49:46 15242 2

原创 [Deeplearning]NMS(非极大值抑制)

NMS(non-maxium suppression)我要继续进行学习记录!填充自己的空余时间!最近好水啊。。每天godliegodlie上头。。目标检测yolo系列最后一步!对anchor进行选择!如下图,假设我们要检测僵尸。经过各种阈值筛选后还剩这些anchor。nms如其名,抑制不是最大的那些值。首先选择置信度最大的那个框,将其加入集合,对图中其他的框与该框做一个iou值计算。假设我们已经提前设定过阈值了。我们删除计算出来iou值大于阈值的那些框(也就是重合度很高的框)

2021-08-28 16:02:38 216

原创 5.3 树状数组

哎 树状数组是个什么东西嘞?它的英文名叫做 Binary indexed tree 翻译成中文怎么是 二进制索引树?没错。。它确实有个小名叫二元索引树。就是一棵被人类利用的小树罢了。。那它是用来干什么的呢?维基百科和百度百科都这样说:其初衷是解决数据压缩里的累积频率(Cumulative Frequency)的计算问题,现多用于高效计算数列的前缀和, 区间和。它可以以的时间得到任意前缀和,并同时支持在时间内支持动态单点值的修改。空间复杂度。提取和总结一下有用的信息:高效 计算区间..

2021-05-03 14:43:06 93

原创 [ZQY]多项式拟合

笑死!记录一下!事情的前景:ZQY一个学经济的笨蛋学妹~我们在以前的聊天里就有说到数据之类啥的,她说以后读研了都要学爬虫啥的,我说没事 我教你。。balabala的总说代码干啥干啥多方便。。嗯。。是的。。。虽然很方便。。但是我。。。并不怎么会啊。。我只知道。。百度 github Google啊。。。啊哈哈哈哈哈所以人总不能装X太过的。。事情的起因:昨天跟ZQY见面。然后她在做毕设嘛。。然后要从前18年的数据预测后1年的。我的第一反应是。。这数据很少啊。。感觉没办法投模型啊。。(表示皱

2021-04-13 16:33:42 204 6

原创 【NLP学习】1

纯因兴趣!!不主要学习这个哈!就学的很浅!!主要途径:【莫烦Python】机器要说话 NLP 自然语言处理教程感想:我觉得莫烦讲的超级好!主要经常通过一些具体事例和一些生动的动画把抽象的东西变得非常好理解!可以自己学习的主页:莫烦自然语言处理学习(代码和学习的文本都在这!超棒!)1.NLP可以干啥呢?①对文本进行语义分析(分析文本的情感啊之类的 比如搜索引擎可以更加快速的找到你想要的东西②对文本进行纠错③挖掘商品的卖点 。。更好捕捉消费者的喜好。促进国家GDP发展哈~④.

2021-03-06 16:59:26 177

原创 [Error]爬虫[SSL: BAD_SIGNATURE] bad signature (_ssl.c:1045)

一开始尝试取消证书验证即原语句为resp = requests.get(url, headers=headers, timeout=500)改为resp = requests.get(url, headers=headers, timeout=500, verify=False)改完这个以后会报错

2021-03-03 16:38:46 1415 1

原创 [Error]同一目录下python文件的引用

错误代码如下。from . import config_util, datetime_util报错如下ImportError: cannot import name 'config_util'我是想在一个目录下 引用另外一个python文件来着网上都说是要在当前目录下有__init__.py文件。。我有。。然后另外一个方法是pycharm左边界面是文件列表,然后鼠标右键我们那个文件夹 选择make directory as =>Source Root到时候代码里直接

2020-11-17 18:48:02 295

原创 [Error]Warning:A value is trying to be set on a copy of a slice from a DataFrame

错误代码如下:raw_data = pd.read_csv('../data/train2.csv')err_data =raw_data[raw_data['label'] == 1]err_tlssubject = []for item in err_data['tlsSubject']: err_tlssubject.append(item)错误信息如下:C:\Users\lenovo\AppData\Local\Programs\Python\Python37-32\

2020-11-12 15:32:52 248 1

原创 [Daily]用python处理大量excel中的数据并汇总

太离谱了 我觉得不bbbbbbbbbbbb上500字都对不起我的惨痛!!从昨天下午拿到任务到今天早上!!! 我吐了!!!打杂打的整个计算机学院的老底都要被我摸透了无语。。。昨天接到的任务是:大概就是一届所有计院的学生的所有毕业设计的小分每个人都放在一个excel里面(也就是总共200+excel) 然后从每个excel里面取出各个小分,汇总到一个excel里面。。。在这个汇总的excel里面已经有了学生的名字。。。没有困难的工作。。只有勇敢的打工人(*  ̄︿ ̄)一开始 我觉得不就是用py

2020-11-12 09:26:36 1248 1

原创 [Daily]永远学不会的正则表达式

正则表达式是很强大的用来处理字符串的工具。引用模块import re模块里面的函数1 re.compile(strPattern[,flag])第一个参数是正则表达式,第二个参数是表示匹配模式,比如re.I(I是IGNORECASE的缩写也就是忽略大小写)将正则表达式编译成Pattern对象,主要供search和match这两个函数使用。pattern = re.compile(r'hello')print(type(pattern))#输出如下>>&gt

2020-11-02 11:21:21 217

原创 [Error]遇到的一些奇奇怪怪的错误与问题(主要是一些数据处理)

1.想读取csv时候错误代码如下fp = open(file_name,'rw')报错:“must have exactly one of create/read/write/append mode”原因:python中文件打开操作的mode中没有“rw" 合法的mode只有:r、rb、r+、rb+、w、wb、w+、wb+、a、ab、a+、ab+2.读取csv文件的内容时编码错误报错:'gbk' codec can't decode byte 0xad in p...

2020-10-15 10:37:49 376

原创 [Computer Network]分析网络流量日志时候补的一些网络知识

一.request method(HTTP请求方法)

2020-10-12 16:38:23 130

原创 [Machine learning]几个机器学习算法的基本概念学习[未完]

一.决策树算法决策树就是运用树的模型,将每一个判断条件作为树的结点,每一个分支作为符合判断条件的对象,叶子结点就是符合路径上所有条件的结果。常见的决策树算法有ID3,C4.5,随机森林等。1.ID3算法需要知道的基础知识:①信息熵:用来衡量一个事件发生的不确定性。熵越大,事件包含的信息量越大,事件的不确定性也越大。 (Pi表示事件发生的概率)②信息增益:信息增益就是用一个属性对数据集进行划分后信息纯度的提升值,用来描述一个属性对区分数据样本的能力。具体用区分前...

2020-10-07 15:35:19 133

原创 10.1 PAT 甲级 1044 Shopping in Mars

Shopping in Mars is quite a different experience. The Mars people pay by chained diamonds. Each diamond has a value (in Mars dollars M$). When making the payment, the chain can be cut at any position for only once and some of the diamonds are taken off th.

2020-10-01 09:48:10 102

原创 9.28 PAT 甲级 1051 Pop Sequence

Given a stack which can keepMnumbers at most. PushNnumbers in the order of 1, 2, 3, ...,Nand pop randomly. You are supposed to tell if a given sequence of numbers is a possible pop sequence of the stack. For example, ifMis 5 andNis 7, we can obta...

2020-09-28 08:16:11 82

原创 9.28 PAT 甲级 1085 Perfect Sequence

Given a sequence of positive integers and another positive integerp. The sequence is said to be aperfect sequenceifM≤m×pwhereMandmare the maximum and minimum numbers in the sequence, respectively.Now given a sequence and a parameterp, you are s...

2020-09-28 08:01:09 72

原创 9.26 PAT 甲级 1091 Acute Stroke

One important factor to identify acute stroke (急性脑卒中) is the volume of the stroke core. Given the results of image analysis in which the core regions are identified in each MRI slice, your job is to calculate the volume of the stroke core.Input Specifica

2020-09-26 10:46:29 57

原创 【测试】Jmeter 学习

推荐https://www.cnblogs.com/poloyy/category/1746599.html

2020-09-21 09:53:34 58

原创 9.12 PAT 甲级 1063 Set Similarity

Given two sets of integers, the similarity of the sets is defined to beN​c​​/N​t​​×100%, whereN​c​​is the number of distinct common numbers shared by the two sets, andN​t​​is the total number of distinct numbers in the two sets. Your job is to calcula...

2020-09-12 12:28:33 65

原创 9.9 PAT 1065 A+B and C (64bit)

Given three integersA,BandCin [−2​63​​,2​63​​], you are supposed to tell whetherA+B>C.Input Specification:The first line of the input gives the positive number of test cases,T(≤10). ThenTtest cases follow, each consists of a single line co...

2020-09-09 09:32:12 53

原创 9.9 PAT 1147 Heaps

In computer science, aheapis a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the value) of P is either greater than or equal to (in a max heap) or less than or equal to (in a min heap) t..

2020-09-09 09:07:22 87

原创 9.9 PAT 甲级 Recommendation System

Recommendation system predicts the preference that a user would give to an item. Now you are asked to program a very simple recommendation system that rates the user's preference by the number of times that an item has been accessed by this user.Input Sp

2020-09-09 00:11:13 68

原创 9.8 PAT 1128 N Queens Puzzle

The "eight queens puzzle" is the problem of placing eight chess queens on an8×8chessboard so that no two queens threaten each other. Thus, a solution requires that no two queens share the same row, column, or diagonal. The eight queens puzzle is an examp..

2020-09-08 22:12:54 62

原创 9.6 PAT 甲级 1109 Group Photo

Formation is very important when taking a group photo. Given the rules of formingKrows withNpeople as the following: The number of people in each row must beN/K(round down to the nearest integer), with all the extra people (if any) standing in the...

2020-09-06 08:52:57 95

原创 9.4 PAT 甲级 1105 Spiral Matrix

This time your job is to fill a sequence ofNpositive integers into aspiral matrixin non-increasing order. A spiral matrix is filled in from the first element at the upper-left corner, then move in a clockwise spiral. The matrix hasmrows andncolumns...

2020-09-04 02:01:28 87

原创 [Error]JMeter 5.2.1版本安装后 jmeter.bat 闪退办法

为了完成老师任务,就要莫名其妙下这么个软件。后来。我惊奇的发现。竟然是一定要以java为基础 = =于是先跑官网下完了java 配置了变量又下了JMeter 也配置完变量,但是打开jmeter.bat的时候一个闪退。找了很久解决办法。竟然最后是“将环境变量中的JMETER_HOME改为JRE_HOME值不变”path里面的JMETER_HOME也要改成JRE_HOME祝大家都能在一个小时之内下完新软件。。搞这些有的没的真的还挺浪费时间的。...

2020-09-02 16:50:01 653

原创 9.2 PAT 甲级 1095 Cars on Campus

Zhejiang University has 8 campuses and a lot of gates. From each gate we can collect the in/out times and the plate numbers of the cars crossing the gate. Now with all the information available, you are supposed to tell, at any specific time point, the num

2020-09-02 13:13:46 105

原创 9.1 PAT 甲级 1083 List Grades

Given a list ofNstudent records with name, ID and grade. You are supposed to sort the records with respect to the grade in non-increasing order, and output those student records of which the grades are in a given interval.Input Specification:Each inp..

2020-09-01 09:45:44 84

原创 8.31 PAT 甲级 1080 Graduate Admission

It is said that in 2011, there are about 100 graduate schools ready to proceed over 40,000 applications in Zhejiang Province. It would help a lot if you could write a program to automate the admission procedure.Each applicant will have to provide two gra

2020-09-01 00:03:42 80

原创 8.31 关于 深度学习中的 L1,L2 正则化

纯粹为了复习一下白天看的那几分钟的视频= =https://www.bilibili.com/video/BV17441117dm?p=3&t=517up讲的很清楚很好也很详细 非常适合没啥基础的 脑袋瓜转的比较慢的选手比如我食用【基础知识】L0,L1,L2(假装这个0,1,2都是小下标)范数:举个栗子:向量A1 = [1,2,3,0,-5,9]L0范数就是向量中非0的个数,即为5L1范数就是向量中离0的(忘记这个专业名词)距离来着,A1的L1范数就是1 + 2 +.

2020-08-31 22:02:02 151

原创 8.30 PAT 甲级 1069 The Black Hole of Numbers

For any 4-digit integer except the ones with all the digits being the same, if we sort the digits in non-increasing order first, and then in non-decreasing order, a new number can be obtained by taking the second number from the first one. Repeat in this m

2020-08-30 23:25:34 100

空空如也

空空如也

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

TA关注的人

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