-
Notifications
You must be signed in to change notification settings - Fork 44
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
Demo cannot handle input images of non 512x512 size #17
Comments
The image that produced the above error has size of 1400x933 |
Submitted Pull Request #18 for this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was running the demo of the mi-gan with my own set of testing images. I noticed that for images that aren't 512x512 an error is produced.
/scripts/demo.py", line 140, in main composed_img = img_resized * mask_resized + result_image * (1 - mask_resized) ~~~~~~~~~~~~^~~~~~~~~~~~~~ ValueError: operands could not be broadcast together with shapes (341,512,3) (340,512,1)
The text was updated successfully, but these errors were encountered: