- 博客(14)
- 收藏
- 关注
原创 计算机网络基础----面试常考题
http://wypcookie.com/wp-admin/post.php?post=294&action=edit上面整理了目前常见的计算机网络面试题,如果需要pdf,请留言~
2020-09-21 17:09:26
224
原创 【论文笔记】Learning Trilinear Attention Sampling Network for Fine-grained Image Recognition
http://wypcookie.com/?p=113
2020-06-14 17:47:17
525
原创 【论文阅读一】Adaptive Cross-Modal Few-shot Learning
1、introduction这篇文章提出了一种将语义与视觉知识相结合的自适应的cross-modal。视觉和语义特征空间根据定义具有不同的结构。对于某些概念,视觉特征可能比文本特征更丰富,更具辨别力。但当视觉信息在图像分类中受到限制时,语义表示(从无监督的文本语料库中学习)可以提供强大的先验知识和上下文以帮助学习。此文就是基于此开展研究的,提出了Adaptive Modality Mixtur...
2019-08-05 22:19:26
2086
转载 leetcode-solution python3【189】---rotate array
1.暴力检索采用循环的方式,直接对每一位进行相应的移位。这里需要注意它使用的方法是将前面的元素从第0位开始依次与最后一位交换,这样的结局恰好就可以实现将最后一位移到首尾,然后后面的位数依次向后移的效果。将这个过程循环k次即可得到结果。虽然其空间复杂度为O(1),类似于在原地进行了运算,但是其时间复杂度为O(n*K),所以在检测时会因为时间复杂度超时而不能过检。其代码如下:class S...
2019-04-18 16:50:13
203
原创 leetcode-solution python3【80】---Remove Duplicates from Sorted Array II
class Solution: def removeDuplicates(self, nums: List[int]) -> int: n=len(nums) if n<3: return n cout=0 i=n-1 while i>0: i...
2019-04-16 00:23:14
241
原创 leetcode-solution python3【26】---Remove Duplicates from Sorted Array
删除已排好序数组中的相同元素,并返回数组长度;设置两个指针,一个慢指针i,一个快指针j;如果nums[i]==nums[j],则j++;如果nums[j]!=nums[i],则i++后,交换i,j两元素位置。class Solution: def removeDuplicates(self, nums: List[int]) -> int: if len(n...
2019-04-15 20:17:43
142
原创 leetcode 27 remove element
class Solution: def removeElement(self, nums: List[int], val: int) -> int:####fang 1 # lens=len(nums)-1 # j=lens # for i in range(lens,-1,-1): # if nums[i]...
2019-04-14 17:30:19
147
原创 leetcode-solution C++【2】---add two numbers
原题You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers an
2018-01-29 21:02:56
367
原创 leetcode-solution C++【1】---two sum
emm,leetcode 第一道原题网址https://leetcode.com/problems/two-sum/description/第一题题目简单,这里就不翻译啦解题方案一,这里的时间复杂度为O(n^2) 属于brute force型class Solution {public: vector twoSum(vector& nums, int target) {
2018-01-29 16:04:09
1047
原创 Netscope:caffe网络结构可视化
Netscope是个支持prototxt格式描述的神经网络结构的在线可视工具,地址: http://ethereon.github.io/netscope/#/editor它可以用来可视化Caffe结构里prototxt格式的网络结构 使用方法:打开网页,将网络结构的prototxt文件复制到网页左侧编辑框后,shift+enter,就可以直接显示网络结构。非常的简单和方便。同
2018-01-22 20:57:32
7495
原创 【action recognition】Action Recognition with Improved Trajectorie
【Challenges】severe camera motionvariation in human appearance and posecluttered background and occlusionviewpoint and illumination changes【Abstract】Recently dense trajectories were shown to
2017-03-29 19:21:52
789
原创 九度1007:奥运排序问题
题目描述:按要求,给国家进行排名。输入:有多组数据。第一行给出国家数N,要求排名的国家数M,国家号从0到N-1。第二行开始的N行给定国家或地区的奥运金牌数,奖牌数,人口数(百万)。接下来一行给出M个国家号。输出:排序有4种方式: 金牌总数 奖牌总数 金牌人口比例 奖牌人口比例 对每个国家给出最佳排名排名方式 和 最终排名格式为: 排名
2017-03-19 14:39:27
438
原创 安装Qt-vs-addin插件时 出现的进度条不动 或不小心中止情况
今天在安装qt-vs-addin-1.2.2-opensource时 ,安装到一半 进度条就不动了 在此等了很久。最后不得不强行中止它 ,再次点击安装时出现了 如下情况此时的解决方法是 将qt-vs-addin... 的注册表删除。在此 我的系统为 win10首先cmd 打开命令窗口 输入regedit 打开注册表编辑器 如下找到Qt的注册表删除即
2016-07-27 22:20:11
3248
转载 C++ Opencv 读取指定路径中的文件(图片)
void getAllFiles( string path, vector& files) { //文件句柄 long hFile = 0; //文件信息 struct _finddata_t fileinfo; //很少用的文件信息读取结构 string p; //string类很有意思的一个赋值函数:assign(),有很多重载版本 if((hFile = _findfirst(p.assig
2016-07-27 10:57:00
7779
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人