You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: