Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tensor size error #1

Closed
arnicas opened this issue Nov 15, 2022 · 1 comment
Closed

Tensor size error #1

arnicas opened this issue Nov 15, 2022 · 1 comment

Comments

@arnicas
Copy link

arnicas commented Nov 15, 2022

hi, this is amazing..... but in the colab as soon as multiconditioning starts, it throws this error:

/content/Paella/modules.py in forward(self, x, c, r)
145 r_embed = self.gen_r_embedding(r)
146 x = self.embedding(x).permute(0, 3, 1, 2)
--> 147 s = torch.cat([c, r_embed], dim=-1)[:, :, None, None]
148 level_outputs = self.down_encode(x, s)
149 x = self._up_decode(level_outputs, s)

RuntimeError: Tensors must have same number of dimensions: got 4 and 2

@dome272
Copy link
Owner

dome272 commented Nov 15, 2022

Hey there,
sorry I forgot to push the last changes today. It should work now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants