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

Mask value matters in prediction? #9

Open
yaozr opened this issue May 9, 2021 · 1 comment
Open

Mask value matters in prediction? #9

yaozr opened this issue May 9, 2021 · 1 comment

Comments

@yaozr
Copy link

yaozr commented May 9, 2021

great job many thanks...

I however meet some issue with the original Pytorch_unet, I use one channel one class case, with 1024*1024 input images(value 0-255) and mask(value 0-1)
and use scale factor 0.25 hopping it train on 256x256 image...

I however get only black on prediction.
when I change mask to (0-255) and predict thresold 0.999999 it gives some meaningful result.
I know its other project but I hope you might have some experience on it?

thanks again

ZY

@YuzhouPeng
Copy link
Owner

you can try to convert gray image to three channel, and train them.

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