Skip to content

Commit

Permalink
model log bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
J. Almazan committed Feb 20, 2014
1 parent 2cefa06 commit 4ef3fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion prepare_opts.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
opts.numSpatialX = 6;
opts.numSpatialY = 2;
opts.G = 16;
opts.phowOpts = {'Verbose', false, 'Step', 3, 'FloatDescriptors', true} ;
opts.phowOpts = {'Verbose', false, 'Step', 3, 'FloatDescriptors', true, 'sizes',[2,4,6,8,10,12]} ;
opts.doMinibox = 1;
opts.minH = -1;
opts.fold = -1;
Expand Down Expand Up @@ -51,6 +51,7 @@
opts.sgdparams.t = 0;
opts.sgdparams.weightPos = 1;
opts.sgdparams.weightNeg = 1;
opts.modelsLog = sprintf('%s/learning.log',opts.folderModels);

% Options embedding
opts.RemoveStopWords = 0;
Expand Down
1 change: 1 addition & 0 deletions util/compute_mAP.m
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
function [mAP, rec] = compute_mAP(resultLabels, numRelevant)

resultLabels = single(resultLabels);
resultLabels(resultLabels<0) = 0;
[r,c] = size(resultLabels);


Expand Down

0 comments on commit 4ef3fe5

Please sign in to comment.