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
Test on image of different size #3
Comments
Hey @Bajsk , Im sorry for that I didn't handle different size well. You can pad the image into 713x713 (since the kernel size & stride are designed to this resolution in original work), and it can work well ! I will fix to support different input size soon. |
Thanks for the quick reply. Do you mean the inference.py will work with an image of size 713x713? I have just tried it now but it seems not working? tensorflow.python.framework.errors_impl.InvalidArgumentError: padded_shape[0]=98 is not divisible by block_shape[0]=4 |
@Bajsk , I have fixed this problem, you can update this repo and try your resizied image! |
@hellochick Thanks. Work like a charm now. |
I resized images of cityscape dataset to 256x512 and I tried inference.py on them with the following command
but it kept raising:
Can you please tell me how to run the inference code with images of different size?
The text was updated successfully, but these errors were encountered: