-
Notifications
You must be signed in to change notification settings - Fork 470
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
what's the difference between class-aware and agnostic? #107
Comments
agnostic have 8 bbox_pred num_output(for foreground and background). It may have some difference in mAP. agnostic can be faster and use less memory |
Hi, the background part is not trained, why not use only 4 bbox_pred num_output |
@xiaohu2015 I think that background part is used in training. In proposal_target_layer.py, py-R-FCN/lib/rpn/proposal_target_layer.py Line 188 in 290dba7
|
@SunskyF The code you presented is to select the RoI of negative (bg), usually, we only train the class score for RoI of bg, but not train the locations. Hence, I don't understand why use 8 (K^2) bbox_pred num_output. In original paper, it is said that only 4(k^2) outputs are needed |
@xiaohu2015 I think u are right. The bg roi are not used in training bbox. 4(k^2) is enough. However, I try that training with 4 num_output in pascal_voc. It gets 74.3 mAP, compare with 76.2 mAP which has 8 num_output. Maybe my modify is wrong or random? |
@SunskyF Maybe some other reasons, but I still think 4 is enough. The author of this git can answer our question? |
Hello,
I found that the classification is also work for agnostic method, so what's the difference between class-aware and agnostic? Are they produce the same mAP result?
Thanks for your time.
The text was updated successfully, but these errors were encountered: