R-FCN icon indicating copy to clipboard operation
R-FCN copied to clipboard

about the dim of bbox_pred

Open chungjin opened this issue 8 years ago • 0 comments

Dear Dai, the dim of bbox_pred should be R_(21_4) rather than R*8, as your prototxt shows because the later applies,

 boxes_cell = cell(length(classes), 1);
    thres = 0.6;
    for i = 1:length(boxes_cell)
        boxes_cell{i} = [boxes(:, (1+(i-1)*4):(i*4)), scores(:, i)];
        boxes_cell{i} = boxes_cell{i}(nms(boxes_cell{i}, 0.3), :);

        I = boxes_cell{i}(:, 5) >= thres;
        boxes_cell{i} = boxes_cell{i}(I, :);
    end

I wonder what's wrong with these code.

chungjin avatar Sep 06 '16 09:09 chungjin