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

Fixed bugs about cascade_roi_head. #3244

Merged
merged 7 commits into from
Jul 21, 2020
Merged

Conversation

Jokoe66
Copy link
Contributor

@Jokoe66 Jokoe66 commented Jul 8, 2020

  • Fixed the bug of refining bg rois at training when reg_class_agnostic is False.

  • Fixed the bug of potentially infering roi label to be bg at inference.

* Fixed the bug of refining bg rois at training when reg_class_agnostic is False.

* Fixed the bug of potentially infering roi label to be bg at inference.
@hellock hellock requested a review from ZwwWayne July 8, 2020 11:53
@ZwwWayne
Copy link
Collaborator

ZwwWayne commented Jul 8, 2020

Hi @Jokoe66 ,
Thanks for your contribution. It seems that the modification changes the training logic if self.reg_class_agnostic=False. Have you validate the performance?

@Jokoe66
Copy link
Contributor Author

Jokoe66 commented Jul 8, 2020 via email

mmdet/ops/conv_ws.py Outdated Show resolved Hide resolved
@ZwwWayne
Copy link
Collaborator

The code looks good to me now. I will benchmark some models to validate the modification.

@Jokoe66
Copy link
Contributor Author

Jokoe66 commented Jul 18, 2020

The code looks good to me now. I will benchmark some models to validate the modification.

Sure. Thanks.

@ZwwWayne
Copy link
Collaborator

The performance seems OK. I ran cascade mask r50 three times and obtained 41.1/35.9, 41.2/35.9, and 41.1/35.8 box/mask mAP.

@hellock hellock merged commit c8f250d into open-mmlab:master Jul 21, 2020
mike112223 pushed a commit to mike112223/mmdetection that referenced this pull request Aug 25, 2020
* Fixed bugs about cascade_roi_head.

* Fixed the bug of refining bg rois at training when reg_class_agnostic is False.

* Fixed the bug of potentially infering roi label to be bg at inference.

* Reformatted code.

* Ensured foreground roi_labels when refining bboxes at training.

* Fixed typo.

* Fixed incompatibility between mmdet2.2(ops/conv_ws.py) and mmcv1.0.0

* Fixed typo.
FANGAreNotGnu pushed a commit to FANGAreNotGnu/mmdetection that referenced this pull request Oct 23, 2023
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

Successfully merging this pull request may close these issues.

3 participants