机器学习
牧风之谷
无人机飞航控制,机器视觉,集群控制相关
展开
-
机器学习算法--朴素贝叶斯分类
一、基础知识条件概率:全概率公式:贝叶斯公式: 二、朴素贝叶斯的公式样本类别集合Y={},共有k种类型的样本生成式模型公式:上式中,P(C)为先验概率,P(x|c)为条件概率/似然,P(x)为归因化因子,因此最后可以得出后验概率正比于。由式子,当时,可以推导得到朴素贝叶斯要求属性条件相互独立,即为中的,相互独立,因此最终的朴素贝叶斯分类器(Naive...原创 2018-08-13 22:57:54 · 823 阅读 · 0 评论 -
Associative Embedding:End-to-End Learning for Joint Detection and Grouping论文翻译
Abstract: We introduce associative embedding, a novel method for supervising convolutional neural networks for the task of detection and grouping.我们提出了一中关联嵌入的新颖的方法,应用在监督学习卷积神经网络中的检测和分组任务中.A nu...原创 2018-11-29 16:18:20 · 1638 阅读 · 0 评论 -
python 批量修剪图片数据集
应用SSD进行物体检测,做了一个数据集,命名规则如下: 发现每张图片的大小不一样,需要对图形进行修剪1.修剪代码如下所示:import cv2import osdir_name="/home/kd/PandaDetect/datasets/JPEGImages/"pic_type=".jpeg"dir_name_re="/home/kd/PandaDetect/dat...原创 2018-11-30 14:33:41 · 1109 阅读 · 0 评论 -
基于Dlib进行人脸特征点检测的Python代码实现
一.Python代码实现import sysimport osimport globimport dlibimport numpy as npimport cv2#把imread中的路径修改为自己的图片路径,图片格式为jpeg格式img=cv2.imread("/home/kd/PycharmProjects/python-pro/datasets/8.jpeg")detec...原创 2018-12-01 19:35:26 · 972 阅读 · 1 评论 -
DIGITS运行时候遇到PicklingError的解决方法
在加载DIGITS时,由于Caffe的更新对命名空间caffe_pb2的修改会导致以下错误:Can't pickle <class 'caffe.proto.caffe_pb2.NetParameter'>: it's not the same object as caffe.proto.caffe_pb2.NetParameter修改的方法是: caffe_pb2模块应作为...原创 2019-01-17 11:40:29 · 858 阅读 · 2 评论 -
Ubuntu16.04+caffe+DIGITS的安装配置指南
一、参考链接:https://github.com/dusty-nv/jetson-inferencehttps://github.com/NVIDIA/DIGITS/blob/digits-6.0/docs/BuildDigits.mdhttps://github.com/NVIDIA/DIGITS/blob/digits-6.0/docs/BuildCaffe.md二、安装步骤:...原创 2019-01-16 17:27:50 · 640 阅读 · 2 评论