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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image dimensions do not match #7

Closed
Arktius opened this issue Aug 12, 2019 · 2 comments
Closed

Image dimensions do not match #7

Arktius opened this issue Aug 12, 2019 · 2 comments

Comments

@Arktius
Copy link

Arktius commented Aug 12, 2019

I've just downloaded your jupyter notebook and got an error that the dimensions do not match. I'm talking about the very first cell in pytorch_fcn.ipynb.

Printed output: "(3,192,192,3) (3,6,192,192)"

Thanks in advance for your help. 馃憤

@Arktius
Copy link
Author

Arktius commented Aug 12, 2019

Ok, I've commented out the transpose function in generate_random_data() in simulation.py. In order to see the black pixels, one has to change the calculation of input_images_rgb. Remove " * -255 +255".

@usuyama
Copy link
Owner

usuyama commented May 19, 2020

@Arktius Thanks for posting your solution!

@Arktius Arktius closed this as completed May 19, 2020
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

2 participants