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

TypeError: must be real number, not NoneType #34

Closed
huanmx opened this issue Nov 19, 2021 · 3 comments
Closed

TypeError: must be real number, not NoneType #34

huanmx opened this issue Nov 19, 2021 · 3 comments

Comments

@huanmx
Copy link

huanmx commented Nov 19, 2021

Hi!
When I add CA module to the backbone, I got TypeError: "must be real number, not NoneType". The error occurs in nn.AdaptiveAvgPool2d((None, 1)). How to solve the problem?

@huanmx huanmx closed this as completed Nov 20, 2021
@xxxjjjx
Copy link

xxxjjjx commented Nov 22, 2021

Have you solved this problem?

@vaerdu
Copy link

vaerdu commented Jan 12, 2022

Hi! When I add CA module to the backbone, I got TypeError: "must be real number, not NoneType". The error occurs in nn.AdaptiveAvgPool2d((None, 1)). How to solve the problem?

我也遇到了同样的问题,请问你解决了吗?

@vaerdu
Copy link

vaerdu commented Jan 12, 2022

Have you solved this problem?

请问这个问题你解决了吗?

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

No branches or pull requests

3 participants