SCINet icon indicating copy to clipboard operation
SCINet copied to clipboard

stacks=2, bug

Open baicuya opened this issue 1 year ago • 3 comments

Unable to use stacks2,

For example: input_len = 48, horizon = 6, batch_size = 32 res1 shape: torch.randn(32, 48, 2) x shape: torch.randn(32, 6, 2) x = torch.cat((res1, x), dim=1), x shape: torch.randn(32, 54, 2)

issue: x = self.blocks2(x) d = x_odd.mul(torch.exp(self.phi(x_even)))

This tensor cannot match: RuntimeError: The size of tensor a (7) must match the size of tensor b (8) at non-singleton dimension 2

baicuya avatar Mar 22 '23 09:03 baicuya

Looks like after the spliting, the x_odd and x_even have different length. Please check if the input satisfies the special requirement mentioned in the README.

VEWOXIC avatar Mar 22 '23 12:03 VEWOXIC

您好,请问您这个问题已经解决了吗?

Hoju0216 avatar Mar 18 '24 12:03 Hoju0216

没解决> 您好,请问您这个问题已经解决了吗?

baicuya avatar Mar 19 '24 12:03 baicuya