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

Trick between uint8 and uint16 of labels #161

Open
ecustWallace opened this issue Jul 24, 2019 · 0 comments
Open

Trick between uint8 and uint16 of labels #161

ecustWallace opened this issue Jul 24, 2019 · 0 comments

Comments

@ecustWallace
Copy link

During my testing, I found that there was always 100% for 0 class and 0% for 1 class in binary case. Actually it's not the problem of code but the label files. If the label files are uint16, the 1 pixels will be regarded as 0 so that the model can't be trained. I tried to transform them into uint8 by Matlab then it works.

Hope this helps for other guys and thanks for this outstanding code.

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

1 participant