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
Function error #4
Comments
Hi, the shape of pred_class_logits in EQL should be 1230 instead of 1231 since EQL uses the sigmoid loss function and does not include an objectiveness branch. Can you give more information about the error you came across? For example, which codebase and config did you use? |
I used the faster_rcnn_r50_fpn_1x_coco.py(config), LVIS v0.5 dataset, and the mmdetection. Also, I modified the rio bbox head with EQL with sigmoid function. |
To use EQL in your own repo, please keep these in mind.
However, I recommend that use this repo first and get familiar with the equalization losses |
Thanks a lot~ |
Hi, when i used the EQL loss function, it seems there is an error in the threshold function.
Take Lvis v0.5 as example:
The shape of pred_class_logits is 1231, including a background class. But the shape of the return of get_image_count_frequency is 1230, excluding the background class. Then the indexerror occured. Is it because of version or exactly an error?
It can be fixed by expanding the freq_info, setting the backgound frequence.
The text was updated successfully, but these errors were encountered: