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

About output & label #6

Open
AIddddddd opened this issue Apr 5, 2023 · 4 comments
Open

About output & label #6

AIddddddd opened this issue Apr 5, 2023 · 4 comments

Comments

@AIddddddd
Copy link

I'm interested in your research, but when running the code, there is a problem, my output and label shape do not match,output.shape = (8, 1, 352, 352)
label.shape = (8, 1, 352, 352, 3) please why is this, thanks

@AIddddddd
Copy link
Author

Sorry,this problem occurred https://github.com/jcwang123/BA-Transformer ,it is not this program,Looking forward to your reply

@jcwang123
Copy link
Owner

Maybe the channel (...,3) is the RGB channel while our label should be single-channel. You can select any one channel as the final label, like:
label = label[...,0]

@AIddddddd
Copy link
Author

thank you,i got it

@AIddddddd
Copy link
Author

Maybe the channel (...,3) is the RGB channel while our label should be single-channel. You can select any one channel as the final label, like: label = label[...,0]

Thanks for your answer, I have another question, I am running the isic2016-part1-test dataset on the CPU, but his results are not good, is this due to the hardware gap?

Dice value of test dataset : 0.736586
Jc value of test dataset : 0.641301
Hd95 value of test dataset : 25.044101
Assd value of test dataset : 4.535037

@AIddddddd AIddddddd reopened this Apr 6, 2023
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