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
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
The text was updated successfully, but these errors were encountered:
baicuya
changed the title
if stacks=2, Exception:RuntimeError,The size of tensor a (7) must match the size of tensor b (8) at non-singleton dimension 2
stacks=2, bug
Mar 22, 2023
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
The text was updated successfully, but these errors were encountered: