Open baicuya opened 1 year ago
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
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.
您好,请问您这个问题已经解决了吗?
没解决> 您好,请问您这个问题已经解决了吗?
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