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

how to build my own VOC dataset? #7

Open
jjprincess opened this issue May 19, 2018 · 6 comments
Open

how to build my own VOC dataset? #7

jjprincess opened this issue May 19, 2018 · 6 comments

Comments

@jjprincess
Copy link

Hi,I tired your voc_window_file.m scripts in data/voc/ ,but it did not work. I am not familiar with Matlab,can anybody help?Thank you.

@zhaoweicai
Copy link
Owner

Why didn't it work? As long as you set up VOC dataset and VOCdevkit correctly, it should be working. They are all standard setting. If you just want to work on VOC, you can simply use the window files I provide. If you want to work on your own dataset, you may need to generate your own window files having the same structure.

@jjprincess
Copy link
Author

I want to build my own dataset's window file, when I run the matlab scripts,an error thrown, shown below:
`Error using VOCxml2struct>gettag (line 73)
expected tag

Error in VOCxml2struct>parse (line 20)
[tag,ind]=gettag(xml,ind);

Error in VOCxml2struct>parse (line 24)
[sub,ind]=parse(xml,ind,tag);

Error in VOCxml2struct (line 5)
[res,xml]=parse(xml,1,[]);

Error in VOCreadxml (line 10)
rec=VOCxml2struct(xml);

Error in VOCreadrecxml (line 3)
x=VOCreadxml(path);

Error in PASreadrecord (line 10)
rec=VOCreadrecxml(path);

Error in voc_window_file (line 40)
R=PASreadrecord(f); object=R.objects;`
I have tried the scripts on the real VOC2007 dataset, it went well. Maybe there are some format differences between my datasets and real VOC2007.

@jjprincess
Copy link
Author

@zhaoweicai I find my problem and solve it! Thank you very much!(^▽^)

@moyans
Copy link

moyans commented Jun 7, 2018

need python scripts =。=

@moyans
Copy link

moyans commented Jun 15, 2018

python scripts by myself, please don't laugh at my pool code =. =
https://github.com/moyans/My_TOOLS/blob/master/cascade_tools/voc_window_file.py

@tianmo88
Copy link

tianmo88 commented Aug 2, 2018

@jjprincess when I run the matlab scripts,an error thrown the same sa yours, can you tell me how to solve it thanks very much~

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