-
Notifications
You must be signed in to change notification settings - Fork 0
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
Incorrect segmentation results? #2
Comments
I am getting the exact same issue as you |
do you think it is related to the model or maybe something changed in the latest version of the requirments? |
Hi @abdullahbaa5 and @danielcollura, Sorry for the late reply, but this very strange issue took me a while to verify. I'm still trying to understand the real cause of this problem, but in the meantime you can check the correctness of the code for older versions of tensorflow. |
Thank you for taking out your time to figure the issue out! I will degrade the tensorflow version and get back to you. |
Probably I found the error... Retraining the model with newer TF versions takes me too long now, so I "fixed" this problem in the latest commit replacing the normalization function with a dummy one. Let me know if the error persists. |
thank you! it works great now. |
@abdullahbaa5 how do you downgrade TF to 2.9.3? what version of python are you using? |
Now it should work also with higher TF versions but I didn't test it yet. |
@Nico-Curti Thanks for your response. I tested on Saturday with the latest version and got the incorrect segmentation as displayed in the beginning. I was using the Jupyter notebook in the repo and just provided the path to the image. I am also using M1 MacBook Pro. |
Did you reinstall also the package after the pull? |
I reinstalled the package. My TF version is 2.16.1. My python version is 3.11.8. |
I checked all the latest versions of tensorflow and now the code should work fine up to I hope this can help you in your work. |
Just found this awesome easy to setup and use library but the results for segmentation are not correct, even when the image that was used for your example is used:
Any idea what might be causing this?
The text was updated successfully, but these errors were encountered: