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

fan_small_12_p16_224_se_attn Forward Issue #13

Open
kiansierra opened this issue Sep 26, 2022 · 2 comments
Open

fan_small_12_p16_224_se_attn Forward Issue #13

kiansierra opened this issue Sep 26, 2022 · 2 comments

Comments

@kiansierra
Copy link

kiansierra commented Sep 26, 2022

Hi there
I receive the following error when running the forward method on models with FANBlock_SE
TypeError: forward() missing 2 required positional arguments: 'H' and 'W'

An example of code that reproduces the issue

from FAN.models.fan import fan_small_12_p16_224_se_attn
import torch

model = fan_small_12_p16_224_se_attn()
model(torch.ones(2,3,224,224))

Open In Colab

@Carl1998-CY
Copy link

Is your problem solved? I'm having the same issue too

@kiansierra
Copy link
Author

No but I believe this PR Would fix it #21

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

2 participants