faster_rcnn icon indicating copy to clipboard operation
faster_rcnn copied to clipboard

about VOChash_init

Open fzcmin opened this issue 7 years ago • 2 comments

How to set the value of hsize in VOChash_init()? I've got some error about'Index exceeds matrix dimensions' VOChash_init (line 10) h=mod(str2double(s([3:4 6:11 13:end])),hsize)+1;

function hash = VOChash_init(strs)

hsize=4999; hash.key=cell(hsize,1); hash.val=cell(hsize,1);

for i=1:numel(strs) s=strs{i}; h=mod(str2double(s([3:4 6:11 13:end])),hsize)+1; j=numel(hash.key{h})+1; hash.key{h}{j}=strs{i}; hash.val{h}(j)=i; end

fzcmin avatar Mar 13 '17 07:03 fzcmin

same problem, but i guess it has nothing to do with the faster rcnn

marmus12 avatar Mar 27 '17 08:03 marmus12

hello, I've got the same problem, have you solved it?

Victoria-1 avatar Jan 16 '18 06:01 Victoria-1