Skip to content

Commit 452f087

Browse files
committed
fast_rcnn_evaluate.m: fix bug introduced with last merge
1 parent 01242b3 commit 452f087

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/fast_rcnn/fast_rcnn_evaluate.m

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
function [aps, speed] = fast_rcnn_evaluate(varargin)
22
%FAST_RCNN_EVALUATE Evaluate a trained Fast-RCNN model on PASCAL VOC 2007
33

4-
% Evaluate the performance of trained Fast-RCNN model on PASCAL VOC 2007
5-
%
64
% Copyright (C) 2016 Hakan Bilen.
75
% All rights reserved.
86
%
@@ -145,7 +143,7 @@
145143

146144
% Threshold. Heuristic: keep at most 100 detection per class per image
147145
% prior to NMS.
148-
boxscore = [pred_box(si,:) cls_probs{t}(q,si)'];
146+
boxscore = [pred_box cls_prob];
149147
[~,si] = sort(boxscore(:,5),'descend');
150148
boxscore = boxscore(si,:);
151149
boxscore = boxscore(1:min(size(boxscore,1),opts.maxPerImage),:);

0 commit comments

Comments
 (0)