brain_segmentation icon indicating copy to clipboard operation
brain_segmentation copied to clipboard

Anybody Is the label obtained by running brain_pipeline.py all black?

Open tanggirltt opened this issue 5 years ago • 11 comments

After running brain_pipeline.py,I got the labels all black. I use BRATS 2015.Will the all-black label affect the subsequent model training?Thanks.

tanggirltt avatar Apr 18 '19 03:04 tanggirltt

yes it is black image

nagwa1 avatar Apr 20 '19 00:04 nagwa1

我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了

jiqixuexiaihaozhe avatar Apr 23 '19 13:04 jiqixuexiaihaozhe

https://www.zhihu.com/question/66787493/answer/256380279 这是知乎上的一个小伙伴提供的资源,你可以参考一下

---Original--- From: "jiqixuexiaihaozhe"[email protected] Date: Tue, Apr 23, 2019 21:03 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

tanggirltt avatar Apr 27 '19 09:04 tanggirltt

thank you

---Original--- From: "nagwa1"[email protected] Date: Sat, Apr 20, 2019 08:57 AM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

yes it is black image

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

tanggirltt avatar Apr 27 '19 09:04 tanggirltt

太感谢你了!!!!祝你天天开心^O^

---Original--- From: "tanggirltt"[email protected] Date: Sat, Apr 27, 2019 17:07 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

https://www.zhihu.com/question/66787493/answer/256380279 这是知乎上的一个小伙伴提供的资源,你可以参考一下

---Original--- From: "jiqixuexiaihaozhe"[email protected] Date: Tue, Apr 23, 2019 21:03 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jiqixuexiaihaozhe avatar Apr 27 '19 09:04 jiqixuexiaihaozhe

我做实验做了两个星期了,还没搞出来,不开心😂

---Original--- From: "jiqixuexiaihaozhe"[email protected] Date: Sat, Apr 27, 2019 17:12 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

太感谢你了!!!!祝你天天开心^O^

---Original--- From: "tanggirltt"[email protected] Date: Sat, Apr 27, 2019 17:07 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

https://www.zhihu.com/question/66787493/answer/256380279 这是知乎上的一个小伙伴提供的资源,你可以参考一下

---Original---
From: "jiqixuexiaihaozhe"[email protected]
Date: Tue, Apr 23, 2019 21:03 PM
To: "naldeborgh7575/brain_segmentation"[email protected];
Cc: "tanggirltt"[email protected];"Author"[email protected];
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

tanggirltt avatar Apr 27 '19 09:04 tanggirltt

你是哪里出了问题? ------------------ 原始邮件 ------------------ 发件人: "tanggirltt"[email protected] 发送时间: 2019年4月27日(星期六) 下午5:13 收件人: "naldeborgh7575/brain_segmentation"[email protected]; 抄送: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected]; 主题: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我做实验做了两个星期了,还没搞出来,不开心

---Original--- From: "jiqixuexiaihaozhe"[email protected] Date: Sat, Apr 27, 2019 17:12 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

太感谢你了!!!!祝你天天开心^O^

---Original---
From: "tanggirltt"[email protected]
Date: Sat, Apr 27, 2019 17:07 PM
To: "naldeborgh7575/brain_segmentation"[email protected];
Cc: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected];
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

https://www.zhihu.com/question/66787493/answer/256380279 这是知乎上的一个小伙伴提供的资源,你可以参考一下

---Original---
From: "jiqixuexiaihaozhe"[email protected]
Date: Tue, Apr 23, 2019 21:03 PM
To: "naldeborgh7575/brain_segmentation"[email protected];
Cc: "tanggirltt"[email protected];"Author"[email protected];
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

jiqixuexiaihaozhe avatar Apr 27 '19 09:04 jiqixuexiaihaozhe

同学,能加个好友嘛?QQ1448449285😊

---Original--- From: "jiqixuexiaihaozhe"[email protected] Date: Sat, Apr 27, 2019 17:42 PM To: "naldeborgh7575/brain_segmentation"[email protected]; Cc: "tanggirltt"[email protected];"Author"[email protected]; Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

你是哪里出了问题? ------------------ 原始邮件 ------------------ 发件人: "tanggirltt"[email protected] 发送时间: 2019年4月27日(星期六) 下午5:13 收件人: "naldeborgh7575/brain_segmentation"[email protected]; 抄送: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected]; 主题: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

我做实验做了两个星期了,还没搞出来,不开心

---Original---
From: "jiqixuexiaihaozhe"[email protected]
Date: Sat, Apr 27, 2019 17:12 PM
To: "naldeborgh7575/brain_segmentation"[email protected];
Cc: "tanggirltt"[email protected];"Author"[email protected];
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

太感谢你了!!!!祝你天天开心^O^

---Original---
From: "tanggirltt"[email protected]
Date: Sat, Apr 27, 2019 17:07 PM
To: "naldeborgh7575/brain_segmentation"[email protected];
Cc: "jiqixuexiaihaozhe"[email protected];"Comment"[email protected];
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)

https://www.zhihu.com/question/66787493/answer/256380279 这是知乎上的一个小伙伴提供的资源,你可以参考一下

---Original---    
From: "jiqixuexiaihaozhe"<[email protected]>    
Date: Tue, Apr 23, 2019 21:03 PM    
To: "naldeborgh7575/brain_segmentation"<[email protected]>;    
Cc: "tanggirltt"<[email protected]>;"Author"<[email protected]>;    
Subject: Re: [naldeborgh7575/brain_segmentation] Anybody Is the label obtained by running brain_pipeline.py all black? (#28)    
   
   
   
我没有下载下来2015年的数据,有谁能发一下直接下载的链接吗,跪求啊,毕业不了了    
     
—    
You are receiving this because you authored the thread.    
Reply to this email directly, view it on GitHub, or mute the thread.    


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

tanggirltt avatar Apr 27 '19 09:04 tanggirltt

Let me know, have a solution is figured out for this issue?

sathickibrahims18 avatar Nov 13 '19 07:11 sathickibrahims18

@sathickibrahims18 it's actually pixel values are 0,1,2,3,4 for labels when you will do plt.imshow since the values are low and are close to zero they will give you output as black image. But you don't have to worry because patches will depend on the pixel value (0,1,2,3,4) so even if it's showing black, it won't create a problem. If you want to show then multiply all the numpy array value with 255/4.

ninjakx avatar Nov 15 '19 10:11 ninjakx

Thanks a lot, @ninjakx. It's really helpful.

sathickibrahims18 avatar Nov 15 '19 10:11 sathickibrahims18