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

test problem #35

Open
wwwtttjjj opened this issue Feb 10, 2023 · 2 comments
Open

test problem #35

wwwtttjjj opened this issue Feb 10, 2023 · 2 comments

Comments

@wwwtttjjj
Copy link

nice work!
I obtained good results using a private dataset for a four-class classification [0,100,200,255]. However, I encountered a puzzling issue. When I used the command "pymic_nll test config/unet_trinet.cfg" to run the test set, the generated pred_mask values are not only [0,100,200,255], but essentially include all values from 0 to 255.
I am certain that I used four-class classification during my training and I can see the Dice coefficient for each class.

@taigw
Copy link
Contributor

taigw commented Feb 26, 2023

@wwwtttjjj Hi, I do not know what happened exactly with your case. Have you debugged to find some reasons?

@wwwtttjjj
Copy link
Author

yean,I have solved this problem, but I don't know why it happened.
If I input a three-channel jpg image, the test output is the wrong mask.But when I input a single-channel png image, the result of test is my four-category mask

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