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

Error in dimension of image tensor #7

Open
bigrobinson opened this issue Dec 5, 2019 · 0 comments
Open

Error in dimension of image tensor #7

bigrobinson opened this issue Dec 5, 2019 · 0 comments

Comments

@bigrobinson
Copy link

First of all, thanks for taking the time to put this pytorch implementation together. I am getting the following error. Also can you explain what the purpose of the torch.cat line is?

Traceback (most recent call last):
File "train.py", line 133, in
train(opt)
File "train.py", line 58, in train
state = torch.cat(tuple(image for _ in range(4)))[None, :, :, :]
IndexError: too many indices for tensor of dimension 2

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

1 participant