Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View digitalbrain79's full-sized avatar

Digitalbrain digitalbrain79

  • Seoul, South Korea
View GitHub Profile
@digitalbrain79
digitalbrain79 / coco.m
Last active March 16, 2023 07:18
Convert MS COCO Annotation to Pascal VOC format
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)