We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
"TypeError: expected Variable as element 1 in argument 0, but got tuple" Error message is printed at x = torch.cat((x, s), 1) in Model02.py
I modified some codes following the closed issues.
I tried to debug and fix. But I can't. Do you know what is the problem? Thank you
The text was updated successfully, but these errors were encountered:
You may need to update your PyTorch?
>>> a = torch.tensor([[1., 2.]], requires_grad=True) >>> b = torch.tensor([[3., 4.]], requires_grad=True) >>> torch.cat((a, b), 1) tensor([[1., 2., 3., 4.]], grad_fn=<CatBackward>)
For me it works just fine.
Sorry, something went wrong.
No branches or pull requests
Hello,
"TypeError: expected Variable as element 1 in argument 0, but got tuple" Error message is printed at
x = torch.cat((x, s), 1) in Model02.py
I modified some codes following the closed issues.
I tried to debug and fix. But I can't.
Do you know what is the problem?
Thank you
The text was updated successfully, but these errors were encountered: