gaobb / MCAR

[TIP] Learning to Discover Multi-Class Attentional Regions for Multi-Label Image Recognition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

candidate regions diversity

yjj-liwei opened this issue · comments

The category of boxes that get multiple regions in your code is not duplicated to ensure diversity.
At present, I want to allow multiple boxes to have the same class. Where should I start with this part of the code!
Thanks you!

hi, thanks very much for your attention to our work.

The diversity of candidate regions is ensured by the class activation mapping method. (Eq. 4 in our paper).
https://github.com/gaobb/MCAR/blob/master/src/models.py#L139-L140