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

[Bug] In predict.py. images are not unpadded #73

Closed
ternaus opened this issue Dec 25, 2021 · 6 comments
Closed

[Bug] In predict.py. images are not unpadded #73

ternaus opened this issue Dec 25, 2021 · 6 comments

Comments

@ternaus
Copy link

ternaus commented Dec 25, 2021

For inference, images are padded to be divisible by 8, but after the prediction is done they are not unpadded.

=> when one uses bin/predict.py input images and output images have a different shape

@cohimame
Copy link
Collaborator

Hello!

Vladimir, thank you for your bug report!

Gonna fix it in couple of days

@Jeff-Zilence
Copy link

Thank you for your nice code. I got similar issue. Has this been addressed in current version?

@windj007
Copy link
Collaborator

windj007 commented Feb 16, 2022

Hi! Sorry for the late reply! No, we have not fixed this issue yet. The fix is pretty simple. If this is urgent for you, feel free to make a PR.

@ZeeRizvee
Copy link
Contributor

Hi there. I also noticed the same and was looking for a fix. Can you please guide? @windj007

@windj007
Copy link
Collaborator

Fixed now in #107, please update and try

@ZeeRizvee
Copy link
Contributor

Working perfectly now! @ternaus guess we can close the issue now

@ternaus ternaus closed this as completed Apr 12, 2022
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

5 participants