Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extract the dataset "caltech" , error.---matlab #66

Open
lhs21 opened this issue Oct 15, 2019 · 6 comments
Open

extract the dataset "caltech" , error.---matlab #66

lhs21 opened this issue Oct 15, 2019 · 6 comments

Comments

@lhs21
Copy link

lhs21 commented Oct 15, 2019

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!!

@lhs21 lhs21 changed the title ectract the dataset "caltech" , error.---matlab extract the dataset "caltech" , error.---matlab Oct 15, 2019
@bomtorazek
Copy link

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/ .

@lhs21
Copy link
Author

lhs21 commented Oct 18, 2019

Wow, thank you very much. I've downloaded the wrong toolbox. Thank you again!!!!!!!!!!!!!!!!!

@SouleTraveler
Copy link

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!!

@vickyliuliu
Copy link

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!

@lhs21
Copy link
Author

lhs21 commented Dec 25, 2019

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).

@SouleTraveler
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants