Closed aitrain closed 3 years ago
Hi Nastassia,
As of now, our tool does not allow for more than one person per image, so gender_info is expected to be a single tuple of the form (gender, bbox). I think there are two options for how to deal with your case:
Also, image_anns typically refers to the non-person annotations in a dataset (e.g., tennis ball, table), but I see you are using it to document human annotations. That should also be okay, but just wanted to give you a head's up.
Hope this helps :)
Hello, I have a short question about using your custom dataset. I have followed the instructions about adapting TemplateDataset to your specific dataset. The dataset I am working on contains emotion labels for each respective person in the image - multiple people can be portrayed in one image, thus multiple emotion labels per image exist. How should this case be treated? So far, I tried this:
I saved each labelling per image in a .mat file. People is a struct with numofpersons entries, each containing a bounding box of the person, its gender, labels and other entries. The problem is the following: The lists inside of 1.pkl (and my guess is, also for the other measurements) are empty. Presumably, because the annotations I pass during
from_path
are incorrect.Do you have any suggestions on how to proceed? Should I save one .mat file per annotated person and thus treat each person and its corresponding bounding box as a separate image?
I will be very greatful for your input on this matter and I am very looking forward to your reply.
Best regards, Nastassia