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

'RoIAlignRotated' object has no attribute 'out_size' #40

Closed
gys1287009045 opened this issue Feb 27, 2022 · 7 comments
Closed

'RoIAlignRotated' object has no attribute 'out_size' #40

gys1287009045 opened this issue Feb 27, 2022 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@gys1287009045
Copy link

Modify the 101 line of rotate_single_level_roi_extractor.py:
out_size = self.roi_layers[0].out_size
to:
out_size = self.roi_layers[0].output_size[0]

@yangxue0827 yangxue0827 added the bug Something isn't working label Feb 28, 2022
@DangChuong-DC
Copy link
Contributor

I found potential error if change the line of code as suggestion due to mismatches between ops in mmcv

Here is my temporary fix:
temp_fixes1

@yangxue0827
Copy link
Collaborator

Could you submit a PR to help us fix this bug? @DangChuong-DC

@DangChuong-DC
Copy link
Contributor

PR is ready #51

@yangxue0827
Copy link
Collaborator

thx!

@LUO77123
Copy link

LUO77123 commented Mar 2, 2022

修改了出现这类问题:TypeError: can't multiply sequence by non-int of type 'tuple'

@zytx121
Copy link
Collaborator

zytx121 commented Mar 3, 2022

Hi @gys1287009045
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants