Skip to content

Commit

Permalink
minor bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rbgirshick committed May 13, 2015
1 parent 3b662e5 commit f020d96
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gdetect/gdetect_dp.m
Expand Up @@ -206,7 +206,7 @@

% find max response array size for this level
s = cellfun(@size, r, 'UniformOutput', false);
s = max(cat(1, s{:}));
s = max(cat(1, s{:}), [], 1);

% set filter response as the score for each filter terminal
for i = 1:length(r)
Expand Down
12 changes: 5 additions & 7 deletions person_grammar/voc_config_person_grammar.m
Expand Up @@ -13,22 +13,20 @@
% your project.
% -------------------------------------------------------

conf.pascal.year = '2010';
conf.project = 'rel5-dev/rc2-person-grammar';
conf.pascal.year = '2007';
conf.project = 'voc-dpm/person-grammar';

conf.training.train_set_fg = 'trainval';
conf.training.train_set_bg = 'train';
conf.training.C = 0.006;
conf.training.wlssvm_M = 1;
% A 4GB cache size is sufficient for PASCAL 2007
%conf.training.cache_byte_limit = 4*2^30;
% PASCAL > 2007 requires a larger cache (7GB cache size works well)
conf.training.cache_byte_limit = 7*2^30;
conf.training.lbfgs.options.optTol = 0.0001;
conf.training.interval_fg = 4;

conf.eval.interval = 8;
conf.eval.test_set = 'test';
conf.eval.max_thresh = -1.4;

conf.features.extra_octave = true;
2 changes: 1 addition & 1 deletion voc_config.m
Expand Up @@ -40,7 +40,7 @@

% Models are stored in BASE_DIR/PROJECT/PASCAL_YEAR/
% e.g., /var/tmp/rbg/voc-release5/2007/
PROJECT = 'voc-dpm-bugfixes7';
PROJECT = 'voc-dpm';

% The code will look for your PASCAL VOC devkit in
% BASE_DIR/VOC<PASCAL_YEAR>/VOCdevkit
Expand Down

0 comments on commit f020d96

Please sign in to comment.