
人工智能
文章平均质量分 60
雾霾的梦想
峰回路转,春暖花开
展开
-
绘制多条loss曲线(y:迭代次数和x:阀值)
#!/usr/bin/python# -*- coding: UTF-8 -*-# 文件名:PaintRoc.pyimport osimport pylab as plimport pylab as pl1 #roc曲线#文件名file_x = open('C:\\work\\1220\\x\\x.txt')#file_y = open('E:\\model_output_log\\原创 2018-01-19 17:54:08 · 2560 阅读 · 0 评论 -
人脸识别(opencv)
源:#include "opencv2/objdetect.hpp"#include "opencv2/imgcodecs.hpp"#include "opencv2/videoio.hpp"#include "opencv2/highgui.hpp"#include "opencv2/imgproc.hpp"#include "opencv2/core/utility.hpp"#incl原创 2018-03-07 10:02:17 · 303 阅读 · 0 评论 -
行人检测(opencv)
#include<iostream> #include<opencv2/opencv.hpp> #include <opencv2/core/core.hpp> #include <opencv2/highgui/highgui.hpp> using namespace std;using namespace cv;int main(){ ...转载 2018-03-07 10:05:39 · 693 阅读 · 0 评论 -
Fast-CNN demo测试失败(nms)
1.提示No module named gpu_nms模块,分析:soft-nms-master\lib\nms\gpu_nms.pyx文件没有编译成python解决:安装cython编译成gpu_nms.py2.提示os.environ['CUDAHOME']不存在分析:环境变量不存在解决:重新配置环境变量3.numpy打开numpy/math.h失败,文件、路径不存在分析:宏定义出错,路径确实...原创 2018-04-10 17:18:34 · 1179 阅读 · 3 评论 -
cpu_nms.c(436) : fatal error C1083: 无法打开包括文件: “
编译fast_cnn错误提醒详细描述:nms\cpu_nms.c(436) : fatal error C1083: 无法打开包括文件: “C:/Anaconda2/Lib/site-packages/numpy/core/include/numpy/numpy/ufuncobject.h”: No such file or directoryerror: command 'C:\\Program...原创 2018-04-11 16:05:56 · 1057 阅读 · 1 评论 -
caffe,运行fast-rcnn出现Check failed: registry.count(type) == 1 (0 vs. 1) Unknown layer type: ROIPooling
转载 2018-04-13 09:30:56 · 332 阅读 · 0 评论 -
人脸识别性能测试部分代码
描述:检测出来的人脸按人数分类加矩形实线框、保存在新目录下。#include <time.h>#include<string.h>#include<sstream>#include <iostream>#include <iomanip> #include <fstream> #include<direct.h>原创 2018-06-04 10:38:38 · 767 阅读 · 0 评论 -
coco MAP测试
1.根据TXT结果,json文件生成。#!/usr/bin/env python# coding=utf-8# Copyright 2017 challenger.ai## Licensed under the Apache License, Version 2.0 (the "License");# you may not use this file except in complia...原创 2018-06-04 10:41:26 · 3056 阅读 · 0 评论 -
人脸检测截图
一.描述检测出人脸,获取人脸的开始的横纵坐标、长宽,作为rect保存到新的文件中。部分代码:/*计算总人脸数*/ face_number = vframe.size() + face_number; for (int i = 0; i<vframe.size(); i++){ if (vframe[i].pos[4]>0.9){ for (int j = 0; j <...原创 2018-06-04 11:32:21 · 540 阅读 · 0 评论