Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

AttributeError: 'RoIAlignRotated' object has no attribute 'out_size' #50

Closed
sihuo521 opened this issue Mar 2, 2022 · 4 comments
Closed

Comments

@sihuo521
Copy link

sihuo521 commented Mar 2, 2022

  1. shell:
    python demo/image_demo.py
    demo/demo.jpg
    configs/oriented_rcnn/oriented_rcnn_r50_fpn_1x_dota_le90.py
    configs/oriented_rcnn/oriented_rcnn_r50_fpn_1x_dota_le90-6d2b2ce0.pth
    demo/vis.jpg

  2. env:
    cuda 10.2
    torch 1.10.2
    mmcv 1.4.6
    mmcv-full 1.4.6
    mmdet 2.22.0

3.bug:

AttributeError: 'RoIAlignRotated' object has no attribute 'out_size'

@yangxue0827
Copy link
Collaborator

solution refer to #51

@yangxue0827
Copy link
Collaborator

If this solution solves your problem, please provide feedback so we can merge this PR as soon as possible. @sihuo521

@sihuo521
Copy link
Author

sihuo521 commented Mar 2, 2022

If this solution solves your problem, please provide feedback so we can merge this PR as soon as possible. @sihuo521
it works!
1646213396(1)

@zytx121
Copy link
Collaborator

zytx121 commented Mar 3, 2022

Hi @sihuo521
It is a bug that has been merged to the dev branch but still not merged to main branch #51
You could pull code from the dev branch and try again.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants