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

Assertion error during open-images training #3

Closed
akshitac8 opened this issue Nov 15, 2020 · 4 comments
Closed

Assertion error during open-images training #3

akshitac8 opened this issue Nov 15, 2020 · 4 comments

Comments

@akshitac8
Copy link

Hello Dat,
The total length of the top unseen is 400 but it's 399 at L55 of the training file.
It would be great if you could let me know the correct number.

Thanks in advance,
Akshita

@hbdat
Copy link
Owner

hbdat commented Nov 16, 2020

Hi Akshita,

Thanks for carefully inspecting the code.
The assertion should be 400 as there are 400 labels in the csv file.
I have corrected this in my latest commit (could not recall why 399 appears there).

Best,
Dat

@akshitac8
Copy link
Author

Thank you @hbdat

@akshitac8
Copy link
Author

@hbdat I also wanted to ask how many numbers of images do you have after masking for ZSL evaluation for open-images?

@hbdat
Copy link
Owner

hbdat commented Nov 19, 2020

Hi @akshitac8,

The number of testing samples, used to computed mAP scores for ZSL and GZSL, are different across different labels.
This is because a sample could lack annotation for label ‘A’ but include annotation for label ‘B’.
Thus, such sample is only excluded when computing AP for ‘A’ but will be included for ‘B’.

We construct unseen labels such that they have at least 75 annotated samples in test set for reliable evaluation.

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