Skip to content

Commit 4fbeb62

Browse files
committed
minor fix to keep up with the latest benchmark interface
1 parent 112215b commit 4fbeb62

9 files changed

+9
-52
lines changed

cnn_widerface_eval.m

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function cnn_widerface_eval(varargin)
3737
opts.testEpoch = 0;
3838
opts.testIter = 0;
3939
opts.testSet = 'val';
40-
opts.resDir = 'result/';
40+
opts.resDir = 'results/';
4141
opts.testName = '';
4242
opts.clusterNum = 25;
4343
opts.clusterName = '';
@@ -124,7 +124,7 @@ function cnn_widerface_eval(varargin)
124124
testName = [testName '-' opts.testTag];
125125
end
126126

127-
if strcmp(opts.resDir, 'result/')
127+
if strcmp(opts.resDir, 'results/')
128128
resDir = fullfile(opts.resDir, testName);
129129
if numel(resDir) > 255, resDir = strrep(resDir, '-nmsthresh0.3', ''); end
130130
if numel(resDir) > 255, resDir = strrep(resDir, 'widerface-resnet-50-',''); end
@@ -188,9 +188,12 @@ function cnn_widerface_eval(varargin)
188188
med_gt(i).ign = ones(size(gtrects, 1), 1);
189189
hard_gt(i).ign = ones(size(gtrects, 1), 1);
190190

191-
easy_gt(i).ign(easy_info.ignore_list{eventId}{img_idx}) = 0;
192-
med_gt(i).ign(med_info.ignore_list{eventId}{img_idx}) = 0;
193-
hard_gt(i).ign(hard_info.ignore_list{eventId}{img_idx}) = 0;
191+
% easy_gt(i).ign(easy_info.ignore_list{eventId}{img_idx}) = 0;
192+
% med_gt(i).ign(med_info.ignore_list{eventId}{img_idx}) = 0;
193+
% hard_gt(i).ign(hard_info.ignore_list{eventId}{img_idx}) = 0;
194+
easy_gt(i).ign(easy_info.gt_list{eventId}{img_idx}) = 0;
195+
med_gt(i).ign(med_info.gt_list{eventId}{img_idx}) = 0;
196+
hard_gt(i).ign(hard_info.gt_list{eventId}{img_idx}) = 0;
194197

195198
easy_npos = easy_npos + sum(easy_gt(i).ign == 0);
196199
med_npos = med_npos + sum(med_gt(i).ign == 0);
Binary file not shown.
Binary file not shown.
Binary file not shown.

eval_tools/wider_eval.m

Lines changed: 0 additions & 46 deletions
This file was deleted.

scripts/hr_res101.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function hr_res101(mode)
8383
numEpochsToTest = numEpochs;
8484
gpus = [1 2 3 4];
8585
gpuNum = numel(gpus);
86-
taskPerGpu = 3;
86+
taskPerGpu = 2;
8787
vis = false;
8888
probThresh = 0.03;
8989
spmd (taskPerGpu * gpuNum)

0 commit comments

Comments
 (0)