Rubics-Xuan / TransBTS

This repo provides the official code for : 1) TransBTS: Multimodal Brain Tumor Segmentation Using Transformer (https://arxiv.org/abs/2103.04430) , accepted by MICCAI2021. 2) TransBTSV2: Towards Better and More Efficient Volumetric Segmentation of Medical Images(https://arxiv.org/abs/2201.12785).
Apache License 2.0
388 stars 81 forks source link

why are there no label 0 in my predict ? #9

Closed cqlouis closed 3 years ago

cqlouis commented 3 years ago

My dear friend, when I run your code, there are only label 1,2,4 in my result . All the background are label 1, I was puzzled. I just only download your code here , then change the path to my environment, and edit the parallel code into single GPU.
My platform is Ubuntu20.04 + RXT 3090.

Have you ever encountered the same problem ?

Would you please give me some suggestions?

Many thanks in advance!

cqlouis commented 3 years ago

It seems all the background are label 1, and edema is label 2, ET is label 4, NET is label 1. No label 0 exists.

Rubics-Xuan commented 3 years ago

我之前没遇到这种问题,因为np.zeros()已经初始0为背景了。

Rubics-Xuan commented 3 years ago

如果问题已经解决了的话,我就close了哈。

NadiyaC249 commented 1 year ago

My dear friend, when I run your code, there are only label 1,2,4 in my result . All the background are label 1, I was puzzled. I just only download your code here , then change the path to my environment, and edit the parallel code into single GPU. My platform is Ubuntu20.04 + RXT 3090.

Have you ever encountered the same problem ?

Would you please give me some suggestions?

Many thanks in advance! hi did u fix the problem ? how? please give me some advice

NadiyaC249 commented 1 year ago

@cqlouis

wangyunyuwyy commented 1 year ago

My dear friend, when I run your code, there are only label 1,2,4 in my result . All the background are label 1, I was puzzled. I just only download your code here , then change the path to my environment, and edit the parallel code into single GPU. My platform is Ubuntu20.04 + RXT 3090. Have you ever encountered the same problem ? Would you please give me some suggestions? Many thanks in advance! hi did u fix the problem ? how? please give me some advice

请问您这个问题得到解决了吗?我也遇到了这样的问题,期待您的回复。