CSP
CSP copied to clipboard
extract the dataset "caltech" , error.---matlab
when I try to extract the dataset "caltech"in matlab, I've got the problem
Undefined function or variable 'int2str2'
Error in dbExtract (line 37) fs=cell(1,n); for i=1:n, fs{i}=[f 'I' int2str2(i-1,5)]; end
i can't find the defined of the "int2str2",
It'll be great if someone can reply me!!
Download int2str2 from https://pdollar.github.io/toolbox/ and put it to eval_caltech. You need to carefully check http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ .
Wow, thank you very much. I've downloaded the wrong toolbox. Thank you again!!!!!!!!!!!!!!!!!
Hello, when I solved the problem you mentioned, I ran dbeval.m and got an error: error using savefig (line 38) Too many input parameters Error dbEval>plotExps (line 243) Savefig (fName1, 1, 'PDF', '- r300', '- fonts'); % the close (1); Error dbEval (line 118) PlotExps (res, plotRoc, plotAlg, plotNum, ppth.evaldir,... Do you know how to solve it? It'll be great if you can reply me!!
Hello, I think I met similar error. When I run extract_img_anno.m in matlab to extract Images from -seq files, I ran into "Undefined function or variable" error. I installed the Toolbox others mentioned above, but it seems that there isn't any file named dbExtract in that Toolbox. Hopes someone could help me with this! Thank you!
Hello, I think I met similar error. When I run extract_img_anno.m in matlab to extract Images from -seq files, I ran into "Undefined function or variable" error. I installed the Toolbox others mentioned above, but it seems that there isn't any file named dbExtract in that Toolbox. Hopes someone could help me with this! Thank you! You need to carefully check http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/ .
check and download Matlab evaluation/labeling code (3.2.1).
Hello, I think I met similar error. When I run extract_img_anno.m in matlab to extract Images from -seq files, I ran into "Undefined function or variable" error. I installed the Toolbox others mentioned above, but it seems that there isn't any file named dbExtract in that Toolbox. Hopes someone could help me with this! Thank you!
1.Download the code3.2.1 from http://www.vision.caltech.edu/Image_Datasets/CaltechPedestrians/code/code3.2.1.zip 2.Download the toolbox code from https://pdollar.github.io/toolbox/index.html Put the above code in the same directory 。eg:F:\DataSets\Caltech_transform\code3.2.1, F:\DataSets\Caltech_transform\toolbox 3.Under code3.2.1, I'm going to create a new data-USA folder,Create a new videos folder under the data-USAfolder,(F:\DataSets\Caltech_transform\code3.2.1\date-USA\videos) and copy set00-set05 of the annotations package of the Caltech dataset into the videos folder 4.change the extract_img_anno.m code for s=1:2 if(s==1), type='test'; skip=[];continue; else type='train'; skip=3; end to for s=1:2 type='train'; skip=3; end(Extract one training image every 3 frames) 5.change the F:\DataSets\Caltech_transform\code3.2.1\date-USA\videos(set00-set05) toCaltech dataset annotations set06-set10,eg:F:\DataSets\Caltech_transform\code3.2.1\date-USA\videos(set06-set10) change the extract_img_anno.m code for s=1:2 if(s==1), type='test'; skip=[];continue; else type='train'; skip=3; end to for s=1:2 type='test'; skip=30;continue; (Extract one testing image every 30 frames)