Skip to content

Instantly share code, notes, and snippets.

Avatar

Jie CUI Cuijie12358

  • University of Edinburgh
  • Edinburgh
View GitHub Profile
@Cuijie12358
Cuijie12358 / coco.m
Created Jul 29, 2017
Convert MS COCO Annotation to Pascal VOC format
View coco.m
function coco(n, k, note, dotrainval, testyear)
% Train and evaluate a model.
% pascal(n, note, dotrainval, testyear)
%
% The model will be a mixture of n star models, each of which
% has 2 latent orientations.
%
% Arguments
% n Number of aspect ratio clusters to use
% (The final model has 2*n components)