自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Ideas For Weakly Supervised Object Localization

Ideas For Weakly Supervised Object Localization最近开始跟着师兄做弱监督学习和医疗影像,近日阅读了几篇文章,与 Object Localization 相关,它们都是基于 Learning Deep Features for Discriminative Localization 这篇文章提出的 class activation maps (CAM)...

2019-08-07 21:54:22 2191

原创 Log-Sum-Exp Pooling

Log-Sum-Exp PoolingPapersFrom Image-level to Pixel-level Labeling with Convolutional NetworksChestX-ray8: Hospital-scale Chest X-ray Database and Benchmarks on Weakly-Supervised Classification and ...

2019-08-06 10:59:40 3137 1

原创 ColorSketch

ColorSketch“ColorSketch: A Drawing Assistant for Generating Color Sketches from Photos”前言拿到这篇文章的时候,我还是很惊喜的。因为之前很少阅读应用或者工程相关的论文,借着这次机会,看看是否能让自己的科研思路转变转变,不做一个一直改模型发Paper的机器。在我看来,很多地方都能让人眼前一亮,之前在计算机...

2019-07-18 14:35:07 332 1

原创 Capacity Facility Location Problem

文章目录Capacity Facility Location ProblemCFLP方案贪心算法局部搜索法模拟退火效果代码贪心算法局部搜索模拟退火目前最优解Capacity Facility Location ProblemCFLPCapacity Facility Location Problem,即有容量限制的设施选址问题,更准确地说,这次解决的问题为 SSCFLP(Single Sou...

2018-12-23 09:47:24 1555

原创 [Week 14] LeetCode 23. Merge k Sorted Lists

LeetCode 23. Merge k Sorted Lists问题描述Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.ExampleInput:[ 1->4->5, 1->3->4, 2->6]...

2018-12-09 18:42:27 152

原创 [Week 13] LeetCode 338. Counting Bits

LeetCode 338. Counting Bits问题描述Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and return them as an ...

2018-12-02 19:33:17 201

原创 [Week 11] LeetCode 403. Frog Jump

LeetCode 403. Frog Jump问题描述A frog is crossing a river. The river is divided into x units and at each unit there may or may not exist a stone. The frog can jump on a stone, but it must not jump into ...

2018-11-18 18:46:32 331

原创 [Week 10] LeetCode 32. Longest Valid Parentheses

LeetCode 32. Longest Valid Parentheses问题描述Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.示例Example 1Input: "((...

2018-11-09 20:04:44 152

原创 [Week 9] LeetCode 72. Edit Distance

LeetCode 72. Edit Distance问题描述Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2.You have the following 3 operations permitted on a word:Ins...

2018-11-04 17:01:48 158

原创 Travis CI - golang

Travis CI - golangWhat is Continuous Integration (CI) ?Continuous Integration is the practice of merging in small code changes frequently - rather than merging in a large change at the end of a dev...

2018-11-02 20:01:47 372

原创 [Week 8] LeetCode 300. Longest Increasing Subsequence

LeetCode 300. Longest Increasing Subsequence问题描述Given an unsorted array of integers, find the length of longest increasing subsequence.ExampleInput: [10,9,2,5,3,7,101,18]Output: 4 Explanation: T...

2018-10-28 17:14:05 198

原创 [Week 7] LeetCode 45 & 55. Jump Game I & II

LeetCode 45 & 55. Jump Game I & IIJump Game IGiven an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your ...

2018-10-20 18:33:34 180

原创 [Week 6] LeetCode 4. Median of Two Sorted Arrays

LeetCode 4. Median of Two Sorted Arrays问题描述There are two sorted arrays nums1 and nums2 of size m and n respectively.Find the median of the two sorted arrays. The overall run time complexity should ...

2018-10-14 16:47:47 147

原创 [Week 5] LeetCode 854. K-Similar Strings

LeetCode 854. K-Similar Strings问题描述:Strings A and B are K-similar (for some non-negative integer K) if we can swap the positions of two letters in A exactly K times so that the resulting string equa...

2018-10-07 19:26:00 384

原创 [Week 4] LeetCode 743. Network Delay Time

LeetCode 743. Network Delay Time问题描述:There are N network nodes, labelled 1 to N.Given times, a list of travel times as directed edges times[i] = (u, v, w), where u is the source node, v is the targ...

2018-09-28 15:39:08 239

原创 Golang 入门与配置

Golang 入门与配置GolangGo(又称Golang)是Google开发的一种静态强类型、编译型、并发型,并具有垃圾回收功能的编程语言。罗伯特·格瑞史莫,罗勃·派克(Rob Pike)及肯·汤普逊于2007年9月开始设计Go,稍后Ian Lance Taylor、Russ Cox加入项目。Go是基于Inferno操作系统所开发的。Go于2009年11月正式宣布推出,成为开放源代码项目...

2018-09-27 15:42:47 291

原创 [Week 3] LeetCode 785. Is Graph Bipartite?

LeetCode 785. Is Graph Bipartite?问题描述:Given an undirected graph, return true if and only if it is bipartite.Recall that a graph is bipartite if we can split it’s set of nodes into two independent s...

2018-09-22 10:12:11 210

原创 [Week 2] LeetCode 335. Count of Smaller Numbers After Self

LeetCode 335. Count of Smaller Numbers After Self问题描述:You are given an integer array nums and you have to return a new counts array. The counts array has the property where counts[i] is the number...

2018-09-15 15:36:31 180

原创 使用VirtualBox搭建私有云

使用VirtualBox让PC提供云桌面服务前言本教程大部分参考潘老师 课程网站 上给的教程,总结了一下我安装过程中遇到的问题,提供给有相同问题的童鞋作参考。安装VirtualBox官方下载安装Oracle VirtualBox 5.x 注意:我在安装的时候会提示说安装虚拟网卡,会停用网络balabala的,嗯,然后我就一直卡在那里了;解决方案是安装前先停用本机网络Vi...

2018-09-09 20:54:55 1056

原创 [Week 1] LeetCode 215. Kth Largest Element in an Array

LeetCode 215. Kth Largest Element in an Array问题描述:Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order, not the kth distinct element.输入示...

2018-09-08 22:19:20 158

原创 Huffman Tree

Huffman Tree标签(空格分隔): 算法、HuffmanHuffman Tree & Huffman CodingGiven a sequence of weight, then build a Huffman Tree with this sequence. Or Given a sequence of string(only from ‘a’ to ‘z’), then build a

2017-05-24 21:30:43 502

原创 Prim算法最小生成树c++实现

Prim算法最小生成树c++实现标签(空格分隔): Prim 算法 c++最近离散课上讲到了Prim算法实现最小生成树,现在用c++来实现。本文代码来源于乔帮主伪代码。简述对于给定的带权图G,为了使得生成树T的权w(T)最小,我们可以使用贪心算法。求最小生成树的贪心法:1.选择一个初始点v1v_1; 2.为了使得生成树的权极小化,选择v1v_1的最小权邻点,并将其连接到v1v_1; 3.选择{v

2017-05-17 23:51:34 2322

原创 链表实现大数加法

链表实现大数加法标签: 算法Description你的任务是完成一条能实现加法功能的单向链表,需要实现的函数在头文件已给出。 假如现在有 123 与 234 两个数字,那么他们在链表中的存储结构将会是 : 3->2->1与 4->3->2 注意到这里的链表只允许从前端插入,你也可以把这个特殊的链表当做栈来处理。 输入的数字不会有负数且不会有前导0的输入。也就是说,输入的数字中不会出现0,更不会

2017-05-16 21:12:35 4727

原创 跳格子

跳格子标签(空格分隔): bfsDescriptionWx最近在玩一个跳格子的游戏,游戏的规则如下:给出n个格子,每个格子有一个数字x,代表在该位置可以向右跳0-x步,现在Wx需要算出最少的跳跃次数,从最左边的格子跳到最右边的格子,输出跳跃的次数,若跳不到,则输出-1.Intput输入一个t,表示有t组测试数据 对于每组测试数据读入一个n表示格子的个数(2 <=n<=20), 下面一行n个数,

2017-05-15 19:46:12 1513

原创 迷宫问题 BFS

迷宫(BFS)标签: 算法 题目描述You are provided a maze(迷宫), and you need to program to find the least steps to walk from the start to the end.And you can only walk in four directions:up, down,left, right. There wi

2017-05-15 13:47:39 361

原创 c语言指针

c语言指针标签: c数组指针和指针数组的区别数组指针(也称行指针) 定义int (*p)[n]; ()优先级高,首先说明p是一个指针,指向一个整型的一维数组,这个一维数组的长度是n,也可以说是p的步长。也就是说执行p+1时,p要跨过n个整型数据的长度。如果将二维数组赋给一指针,应该这样赋值:int a[3][4];int (*p)[4]; //该语句是定义一个数组指针,指向含4个元素的一维数组

2017-05-14 23:42:13 296

原创 期中理论题总结

If we define double a = 3.14;,which is NOT correct? (B)A.double &b = a;B.int &b = a;C.const int &b = a;D.const double &b = a;Which function will be called? (C)void f(int i) {}void f(const int i) {}

2017-05-14 21:27:22 410

原创 Vector

关于Vectorvector(向量):c++中的一种数据结构,确切的说 是一个类。它相当于一个动态的数组,当程序员无法知道自己需要多大的数组的规模是,用其来解决问题可以达到最大节约空间的目的。用法0.文件包含:· 程序开头加上 #include <vector>以包含所需要的类文件vector。1.变量声明:1.1: std::vertor<type> a;等于声明了一个(type)类型的没有指定

2017-03-11 08:14:48 390

空空如也

空空如也

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

TA关注的人

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