现象:ERROR : The processing instruction target matching "[xX][mM][lL]" is not allowed. 异常解释:xml文件不能被解析,一般出现这样的问题在于xml格式上,并且问题多出现在xml文件的头部。 原因: (1)一般多是因为 ...
分类:
其他好文 时间:
2018-08-29 10:43:44
阅读次数:
139
* This example program shows how to use HALCON's correlation-based* matching. In particular it demonstrates the robustness of this method against* lin ...
分类:
其他好文 时间:
2018-08-29 01:10:11
阅读次数:
316
警告: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.jee.server:jx-web' did not find a matching property. 翻译:警告: [设置属 ...
分类:
Web程序 时间:
2018-08-23 13:06:03
阅读次数:
138
Codeforces Round #504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) A. Single Wildcard Pattern Matching 题意就是匹配字符的题目,打比赛的时候没有看到只有一个" * ",然后就写挫了, ...
分类:
其他好文 时间:
2018-08-19 18:02:21
阅读次数:
217
A. Single Wildcard Pattern Matching 题解:记 “ * ”的位置为pos(假设存在),那么就顺着匹配 0 ~ (pos - 1),倒着匹配 (pos + 1) ~ n就行了,特判一下 n > m + 1 的情况 和 没有 “ * ”的情况。 B. Pair of T ...
分类:
其他好文 时间:
2018-08-18 16:21:27
阅读次数:
211
如果linux上操作git命令时,按tab键不能自动补齐,可以把如下的脚本加入到.bashrc中 echo "source .git-sh-prompt.sh" >> ~/.bashrc .git-sh-prompt.sh # bash/zsh git prompt support # # Copy ...
分类:
其他好文 时间:
2018-08-16 14:04:17
阅读次数:
218
git push命令用于将本地分支的更新,推送到远程主机。它的格式与git pull命令相仿。 $ git push <远程主机名> <本地分支名>:<远程分支名> 注意,分支推送顺序的写法是<来源地>:<目的地>,所以git pull是<远程分支>:<本地分支>,而git push是<本地分支>: ...
分类:
其他好文 时间:
2018-08-15 01:17:12
阅读次数:
135
出于project的需要,不仅要detect和classify对象,还希望建立不同class的对象之间的关系,进行所谓的pair-matching。 需要完成以下几步: 1. dataset中label的增加: 在自定义的dataset类中,方法_load_XXX_annotation(self, ...
分类:
其他好文 时间:
2018-08-14 14:43:42
阅读次数:
167
这篇文章将会对稳定匹配算法进行介绍及Python代码的实现,第一部分会针对稳定匹配的Gale-Shapley算法进行解析,第二部分就是用Python对该算法进行实现。 一、稳定匹配算法原理 1.1 介绍 稳定匹配(Stable Matching)问题就是假设现在有N个男生和N个女生跳舞选择伴侣,然后 ...
分类:
其他好文 时间:
2018-08-12 17:20:27
阅读次数:
152