-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
Suitable for Ascend. Modify SSD and RetinaHead Model #9614
Conversation
Codecov ReportBase: 64.17% // Head: 64.34% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## dev #9614 +/- ##
==========================================
+ Coverage 64.17% 64.34% +0.16%
==========================================
Files 363 369 +6
Lines 29661 29942 +281
Branches 4943 4992 +49
==========================================
+ Hits 19036 19267 +231
- Misses 9615 9649 +34
- Partials 1010 1026 +16
Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Dear akstt, |
Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
Suitable for Ascend. Modify SSD and RetinaHead Model.
Modification
mmdet/models/dense_heads/ascend_anchor_head.py
. Create class AscendAnchorHead that inherits class AnchorHead.mmdet/models/dense_heads/ascend_retina_head.py
. Create class AscendRetinaHead that inherits class RetinaHead and class AscendAnchorHead.mmdet/models/dense_heads/ascend_ssd_head.py
. Create class AscendSSDHead that inherits class SSDHead and class AscendAnchorHead.mmdet/core/bbox/assigners/ascend_assign_result.py
. Create class AscendAssignResult that similar class AssignResult.mmdet/core/bbox/assigners/ascend_max_iou_assigner.py
. Create class AscendMaxIoUAssigner that similar class MaxIoUAssigner.mmdet/utils/ascend_util.py
. Build function that suitable ascend.mmdet/models/dense_heads/__init__.py
,mmdet/core/bbox/assigners/__init__.py
,mmdet/utils/__init__.py
. For new classes and functions can be able to be called into.BC-breaking (Optional)
None
Use cases (Optional)
tests/test_models/test_dense_heads/test_ascend_head.py
Checklist