TypeError: 'module' object is not callable
Author: MrDecCreated Oct 19, 2023Updated 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
Source: xmu-xiaoma666/External-Attention-pytorch