摘要: (1)Go to http://vision.middlebury.edu/flow/submit/ and download "flow-code.zip" (2)解压 (3)cd imageLib (4)make (5)cd .. (6)./colortest 10 colors.png (7) 阅读全文
posted @ 2019-01-10 11:11 wuxinyi 阅读(534) 评论(0) 推荐(0) 编辑
摘要: Given a 32-bit signed integer, reverse digits of an integer. 要保证输出的数字是int32类型,利用int和str类型的转换解决问题 阅读全文
posted @ 2018-12-29 00:53 wuxinyi 阅读(104) 评论(0) 推荐(0) 编辑
摘要: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have ex 阅读全文
posted @ 2018-12-21 05:46 wuxinyi 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 参考: 1. https://www.cnblogs.com/arkenstone/p/6490017.html 2. https://blog.csdn.net/cocoaqin/article/details/78376382 阅读全文
posted @ 2018-09-29 00:16 wuxinyi 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 使用papi监控程序运行(CYCLE, CPI等) Install papi - Download from Github: git clone https://bitbucket.org/icl/papi.git - Extract into /usr/local/ - Get into /pap 阅读全文
posted @ 2018-09-18 00:11 wuxinyi 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1. def vis_detections(im, class_name, dets, thresh=0.5) ; // im是测试图片; // class_name是类别名称,定义在CLASSES中; // dets是非极大值抑制后得到的bbox和score的数组; // thresh是score 阅读全文
posted @ 2018-05-29 16:07 wuxinyi 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 主要参考以下链接 http://www.cnblogs.com/jinmao/archive/2016/12/20/6203018.html 在第二步的时候找了半天16.04的desktop sharing没有找到,应该搜索中文“桌面共享”就可以找到并且设置密码了 阅读全文
posted @ 2017-03-28 15:56 wuxinyi 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 1、安装SeleniumIDE插件 添加组件-搜索Selenium IDE 安装后重启浏览器可以看到工具中存在此IDE 2、学会使用SeleniumIDE录制脚本和导出脚本 工具--Selenium IDE,得到界面如图 以百度搜索天津大学为例,如下图 红色的是录制按钮,base url是当前开始录 阅读全文
posted @ 2017-03-26 10:47 wuxinyi 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1. 基于Junit 及Eclemma (jacoco )实现一个主路径覆盖的测试 package cn.scs.st; public class PrintPrime { public static String printPrimes (int n) { int MAXPRIMES = 10; 阅读全文
posted @ 2017-03-14 17:19 wuxinyi 阅读(110) 评论(0) 推荐(0) 编辑
摘要: LAB 01 一、安装JUnit, Hamcrest, Eclemma 1. Junit和Hamcrest的安装:新建工程,然后选择buildpath Eclemma可以通过eclipse的help安装,搜索Eclemma的本地位置,同意安装后重启即可。 二、实验内容 实验程序判断三角形类型,输入参 阅读全文
posted @ 2017-03-13 10:05 wuxinyi 阅读(81) 评论(0) 推荐(0) 编辑