- 博客(7)
- 收藏
- 关注
原创 openface源码解释(2.1)
nn4.small2.v1.t7<!--models/openface/nn4.small2.def.lua-->代码中的注释Model: nn4.small2.def.lua描述:FaceNet的NN4网络去掉了4b、4c和4d层,更小的5层。Input size: 3x96x96来自网络的参数数量:getParameters() with embSize=128: 3733968组件: 主要是‘nn'设备:CPU和CUDAFaceNet的论文只说了“规范”
2020-12-16 22:06:04
644
原创 openface源码解释(2)
path.dofile()调用执行外部文件的代码块# 设置pytorch中默认的浮点类型torch.setdefaulttensortype('torch.FloatTensor')# 设置随机种子,保证每次生成的随机数都是一样的opt.manualSeed = 2torch.manualSeed(opt.manualSeed)# 加载模型,输出损失和精确度model = torch.load(opt.model)model:evaluate()...
2020-12-16 22:04:37
223
原创 openface源码解释(1)
detector = dlib.get_frontal_face_detector()#功能:人脸检测画框#参数:无#返回值:默认的人脸检测器faces = detector(img_gray, 0)功能:对图像画人脸框参数:img_gray:输入的图片 数字代表将原始图像是否进行放大,1表示放大1倍再检查,提高小人脸的检测效果返回值:人脸检测矩形框4点坐标predictor = dlib.shape_predictor(‘models/dlib/shape_...
2020-12-16 22:03:53
346
原创 openface
《OpenFace: A general-purpose face recognition library with mobile applications》原文地址:http://elijah.cs.cmu.edu/DOCS/CMU-CS-16-118.pdf源码地址:https://github.com/cmusatyalab/openface安装教程https://www.cnblogs.com/pandaroll/p/6590339.htmlopenface执行命令..
2020-12-16 22:03:08
366
原创 openface源码理解(4)
OpenFace: A general-purpose face recognition library with mobile applications原文地址:http://elijah.cs.cmu.edu/DOCS/CMU-CS-16-118.pdf源码地址:https://github.com/cmusatyalab/openfacedemos/classifier.py执行命令./demos/classifier.py infer ./generated-embeddings
2020-12-16 21:58:00
387
1
原创 常用Linux命令-收藏版
查看进程1.通过进程名称查找进程信息ps -ef | grep map-matcher(进程名称)xiaoju 3405 41204 0 09:48 pts/1 00:00:00 grep --color map-matcherxiaoju 17634 17631 53 Sep22 ? 07:38:39 bin/map-match-service conf/map-matcher-service.conf2.通过pid或端口号查看进程状态netsta
2020-09-23 09:57:06
82
转载 软件测试基本概念
静态测试:不运行程序本身,仅通过分析或检查源程序的语法、结构、过程、接口等来检查程序的正确性。动态分析:通过运行被测程序,输入相应的测试用例,检查运行结果和预期结果的差异,并分析运行效率、正确性和健壮性等性能指标。单元测试:又称模块测试,是针对软件设计的最小单位----程序模块或功能模块,进行正确性检验的测试工作。其目的在于检验程序各模块是否存在各种差错,是否能正确地实现了其功能,满足其性...
2019-07-24 21:25:36
206
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人