-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Enhancement] Support value_proj_ratio in MultiScaleDeformableAttention #2452
[Enhancement] Support value_proj_ratio in MultiScaleDeformableAttention #2452
Conversation
Codecov ReportBase: 66.62% // Head: 66.62% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## 2.x #2452 +/- ##
=======================================
Coverage 66.62% 66.62%
=======================================
Files 120 120
Lines 7799 7800 +1
Branches 1067 1067
=======================================
+ Hits 5196 5197 +1
Misses 2436 2436
Partials 167 167
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. |
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
…on (open-mmlab#2452) * add ratio in ms_deform_attn_ * add ratio in ms_deform_attn * Update mmcv/ops/multi_scale_deform_attn.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * Update tests/test_ops/test_ms_deformable_attn.py Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com> * add ratio in ms_deform_attn * add ratio in ms_deform_attn * add ratio in ms_deform_attn * add ratio in ms_deform_attn * add ratio in ms_deform_attn * add ratio in ms_deform_attn Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Motivation
Modified for use with ViT-Adapter.
https://github.com/czczup/ViT-Adapter/blob/main/detection/ops/modules/ms_deform_attn.py#L29
Related PR
open-mmlab/mmpretrain#1209
open-mmlab/mmdetection#9354
Checklist
Before PR:
After PR: