You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from light_cnns import parnet_s
model = parnet_s(1, 12)
model.eval()
print(model)
input = torch.randn(1, 1, 12, 5000) # 1张高12宽5000分辨率的黑白单通道照片
y = model(input)
print(y.size())
运行报错:
RuntimeError: The size of tensor a (312) must match the size of tensor b (313) at non-singleton dimension 3
x: torch.Size([1, 384, 1, 312])
y: torch.Size([1, 384, 1, 313])
a = x + y 这里报错
The text was updated successfully, but these errors were encountered:
light_cnns ==0.4.2
from light_cnns import parnet_s
model = parnet_s(1, 12)
model.eval()
print(model)
input = torch.randn(1, 1, 12, 5000) # 1张高12宽5000分辨率的黑白单通道照片
y = model(input)
print(y.size())
运行报错:
RuntimeError: The size of tensor a (312) must match the size of tensor b (313) at non-singleton dimension 3
x: torch.Size([1, 384, 1, 312])
y: torch.Size([1, 384, 1, 313])
a = x + y 这里报错
The text was updated successfully, but these errors were encountered: