-
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
add ext ops, support parrots #310
Conversation
zhuyuanhao
commented
Jun 1, 2020
- add ext ops from mmdection, update some ops according to torchvision and detection2.
- add support for sensetime's parrots deep learning framework.
mmcv/op/carafe.py
Outdated
group_size = ctx.group_size | ||
scale_factor = ctx.scale_factor | ||
|
||
if torch.__version__ == 'parrots': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
parrots 0.6.1的zeros_like已经支持了requires_grad,可以试一下
Conflicts: tests/test_runner/test_hooks.py
Codecov Report
@@ Coverage Diff @@
## master #310 +/- ##
===========================================
- Coverage 71.63% 53.33% -18.31%
===========================================
Files 94 118 +24
Lines 4739 6366 +1627
Branches 931 1084 +153
===========================================
Hits 3395 3395
- Misses 1168 2795 +1627
Partials 176 176
Continue to review full report at Codecov.
|
Conflicts: mmcv/model_zoo/open_mmlab.json
None, None, None, None | ||
|
||
|
||
class SyncBatchNorm(Module): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We may register it as MMSyncBN
.
2. support only cpu compile 3. add point_sample from mmdet