R-FCN
R-FCN copied to clipboard
about the dim of bbox_pred
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.