-
Notifications
You must be signed in to change notification settings - Fork 86
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
No folder named "Labels", Tuple Index out of range, size mismatch. #17
Comments
Yes, I think it should be 'data/labels'. The README was not updated a while.
The last time I used
I am not sure if this has any relevance but the |
I'm having the same issue. Did you find a solution? |
No, I have not. Sorry I'm not of more help.
…On Sat, May 5, 2018, 2:30 AM henning3871, ***@***.***> wrote:
I have the same issue. Did you find a solution?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ASZsAXVRRshLZUAPP9BdYYkxoDoTqdWwks5tvXEegaJpZM4R6LNt>
.
|
The problem should be in transform.py. You can try deleting the lines 101 to 111 in main.py and try again. |
board.image(color_transform(targets[0].cpu()[0].data) will fix |
This is caused by the gray_image 's axis, after add this line code |
First I think there's a small error in the README tutorial: Should the correct directory should be data/labels instead of data/classes ?
Anyways, I get the following traceback:
My first attempt at an obvious solution was to change it to
color_image = torch.ByteTensor(3, size[0], size[1]).fill_(0)
But I still have a size mismatch error. Tensor is 256 x 256 and Mask is 256.
The text was updated successfully, but these errors were encountered: