码迷,mamicode.com
首页 > 其他好文 > 详细

代码学习(一)

时间:2014-12-12 18:28:08      阅读:202      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   io   ar   os   sp   for   strong   

train for Discriminative patches for pascal 2007 subset

  1. train:
  2. assimilate: 

detect discriminative patches

  1. load model( svm训练的模型总积  5481clusters 1984dimension features)
  2. bubuko.com,布布扣 load data and get data info: size
  3. construct detection params
  4. detector.detectPresenceUsingEntDet() 用model对该图像中patch属于哪个clusters计算score 

附:

matlab code,对应论文:Unsupervised Discovery of Mid-Level Discriminative Patches Saurabh Singh, Abhinav Gupta, and Alexei A. Efros]

其中VisualEntityDetectors:是matlab中定义的类 

代码学习(一)

标签:style   blog   http   io   ar   os   sp   for   strong   

原文地址:http://www.cnblogs.com/oudan/p/4160082.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!