使用卷积神经网络进行图片理解一段,从二十一世纪开始,卷积神经网络就成功运用在了检测,切割和识别上面。这通常是在一些拥有大量标注数据的领域中得到了充分的应用。
像素级的识别能够运用在自动机器人,自动驾驶汽车等诸多领域。其他的领域包括语音识别和自然语言的理解。
直到12年之前,cnn都没有活起来,但是alexnet使得一切变成可能。最近的研究成果是一个图像识别的cnn和语言处理的rnn连接起来产生...
分类:
其他好文 时间:
2016-05-13 01:49:41
阅读次数:
262
这篇文章借鉴了一些其他文章和教程,介绍了python中re模块的一些规则和常用函数,不足之处希望指出,我也很希望能整理出一份很完美的小结。
一、正则表达式模式
模式字符串使用特殊的语法来表示一个正则表达式:
字母和数字表示他们自身。一个正则表达式模式中的字母和数字匹配同样的字符串。
多数字母和数字前加一个反斜杠时会拥有不同的含义。
标点符号只有被转义时...
分类:
编程语言 时间:
2016-05-13 01:48:37
阅读次数:
188
之前的做法是使用PhantomJS以及一个html+嵌套iframe包含目标网站URL+跨域dom操作的简单性能优化。
PhantomJS实现下面的核心需求:
(1)无头模式,然而PhantomJS内核基于老版本的QtWebKit,与最新版本的Chromium代码相比,版本太老了,很多特性用不了(虽然目前国内网站应该也还没开始用上这些?比如ServiceWorker、CSS
Custo...
分类:
其他好文 时间:
2016-05-13 01:48:06
阅读次数:
247
Description
Urej loves to play various types of dull games. He usually asks other people to play with him. He says that playing those games can show his extraordinary wit. Recently Urej takes a great...
分类:
其他好文 时间:
2016-05-13 01:47:55
阅读次数:
141
#include
#include
#include
using namespace std;
//找两个子串str1,str2的最长公共子串substr
void findLongestSubString(string &str1, string &str2, string &substr){
if (str1.empty() || str2.empty()){
return;
}
...
分类:
其他好文 时间:
2016-05-13 01:48:37
阅读次数:
137
<span style="font-family:宋体;mso-ascii-font-family:Cambria;mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:宋体;mso-fareast-theme-font:minor-fareast;mso-hansi-font-family:
Cambria;mso-hansi-the...
分类:
其他好文 时间:
2016-05-13 01:46:42
阅读次数:
256
D-City
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others)
Total Submission(s): 3052 Accepted Submission(s): 1082
Problem Description
Luxer is a really bad guy....
分类:
其他好文 时间:
2016-05-13 01:46:02
阅读次数:
219
jsp代码提示
右键点击要开发的jsp文件,选择“open with”,然后选择用MyEclipse JSP Editor打开jsp文件,
写jsp代码就会有标签提示了,也可在jsp中任一位置按ALT+/快捷键,也会弹出标签提示框
设置jsp文件默认打开方式:Window->Preferences->Editors->File Associations:
设置jsp网页工程的访问路...
分类:
Web程序 时间:
2016-05-13 01:47:23
阅读次数:
265
前言:现在做的项目中 服务器返回的图片格式是 图片字节数组,需要把字节数组转换成data然后用imageView展示出来。
下面是stackOverflow中找到的答案:
http://stackoverflow.com/questions/11860830/byte-array-to-nsdata
Byte
Array to NSData
up...
分类:
移动开发 时间:
2016-05-13 01:46:01
阅读次数:
1258
pip install
beautifulsoup4
pip install requests
pip install selenium
下载 phantomjs
给 firefox 安装 firebug
创建一个目录名为baidupc
cd baidupc
创建虚拟环境
virtualenv macp
将phantomjs-2.1.1-macosx.zip解压...
分类:
编程语言 时间:
2016-05-13 01:46:02
阅读次数:
451
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma warning(disable:4996)
using std::cin;
using std::cout;
using std::endl;
using std::stringstre...
分类:
其他好文 时间:
2016-05-13 01:46:09
阅读次数:
185
Description
有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二是可以在两堆中同时取走相同数量的石子。最后把石子全部取完者为胜者。现在给出初始的两堆石子的数目,如果轮到你先取,假设双方都采取最好的策略,问最后你是胜者还是败者。
Input
输入包含若干行,表示若干种石子...
分类:
其他好文 时间:
2016-05-13 01:45:19
阅读次数:
159
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma warning(disable:4996)
using std::cin;
using std::cout;
using std::endl;
using std::stringstre...
分类:
其他好文 时间:
2016-05-13 01:45:58
阅读次数:
157
题目链接:点这里!!!!
题意:给你一个n(n
题解:容斥裸体,注意a[i]=0的情况。
sum = 被1个数整除的个数-被2个数整除的个数+被3个数整除的个数-.... (注意被多个数整除的时候,我们利用的是lcm)
代码:
#include
#include
#include
#include
#include
#include
#include
#i...
分类:
其他好文 时间:
2016-05-13 01:47:26
阅读次数:
125
第一章
1.1:集合和子集
空集:没有任何元素的集合
无限集合:
1. Z+:正整数集合;
2. N: 自然数集合;
3. Z: 整数集合
4. Q: 有理数集合
5. R: 实数集合
幂集:A的所有子集的集合。
基数:A中的不同元素的个数
1.2集合运算
并集∪:集合呈变大趋势
交集∩:集合呈变小趋势
补集:A-B={x|x∈A且x不属于B};
(AUB)的补集==...
分类:
其他好文 时间:
2016-05-13 01:45:51
阅读次数:
341
其实很简单,项目本身路径问题搞了好久;
pom文件
easyframework-web
org.apache.tomcat.maven
tomcat6-maven-plugin
2.2...
分类:
其他好文 时间:
2016-05-13 01:46:41
阅读次数:
136
畅通工程续
Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 42473 Accepted Submission(s): 15725
Problem Description
某省自从实行了很多年的畅通工程计划后...
分类:
其他好文 时间:
2016-05-13 01:45:04
阅读次数:
127