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

why this code caltech is consider only one label? #6

Open
PythonImageDeveloper opened this issue Mar 3, 2018 · 5 comments
Open

why this code caltech is consider only one label? #6

PythonImageDeveloper opened this issue Mar 3, 2018 · 5 comments

Comments

@PythonImageDeveloper
Copy link

Hi,
If i want to have people and person , what do i do ?

@PythonImageDeveloper PythonImageDeveloper changed the title why this codes are only one labels? why this code caltech is consider only one labels? Mar 3, 2018
@CasiaFan
Copy link
Owner

CasiaFan commented Mar 4, 2018

@zeynali Just modify this line of code to support person and people detection

@CasiaFan
Copy link
Owner

CasiaFan commented Mar 4, 2018

@zeynali I updated my code and just specify the person_types argument for both 'person' and 'people' data.

@PythonImageDeveloper
Copy link
Author

PythonImageDeveloper commented Mar 4, 2018

@CasiaFan ,Thanks , but what's different between ["person", "person-fa", "person?"] classes ?
this code incorrect convert to xml file : after converting finished , please see the xml file.

annotations/set00/bbox/set00_V013_1511.xml

in this xml file , this converted that have 6 people , In the event that , if you see associated with this JPG , you see this have 3 person and 2 people.
problem's is that this can't convert xml with two different annotations , that's xmls file are or Person or People , Even though there are several person or people in a JPG, they all stick to one of them.

@PythonImageDeveloper PythonImageDeveloper changed the title why this code caltech is consider only one labels? why this code caltech is consider only one label? Mar 5, 2018
@CasiaFan
Copy link
Owner

CasiaFan commented Mar 5, 2018

@zeynali In VOC annotation format, all categories in one image will appear in single xml annotation file. If you want to separate each category into different annotation files just in one run, just fork and modify the script freely.
As for the caltech person types, person means individual, person-fa means person in distance, person? means cropped region may be a person.

@PythonImageDeveloper
Copy link
Author

@CasiaFan , i want to know , in the original caltech dataset annotations (seq files) , Originally those team annotations each images in the one class or when we convert these seq file to xml Makes it all objects in each image be one class ?

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

2 participants