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: 'module' object is not callable #112

Open
MrDec opened this issue Oct 19, 2023 · 0 comments
Open

TypeError: 'module' object is not callable #112

MrDec opened this issue Oct 19, 2023 · 0 comments

Comments

@MrDec
Copy link

MrDec commented Oct 19, 2023

感谢您的贡献爱,在使用示例代码时
from fightingcv_attention.attention import CrissCrossAttention
import torch

if name == 'main':
input=torch.randn(2, 3, 256, 256)
model = CrissCrossAttention(64)
outputs = model(input)
print(outputs.shape)
出现TypeError: 'module' object is not callable

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

1 participant