Unsupervised_Anomaly_Detection_Brain_MRI icon indicating copy to clipboard operation
Unsupervised_Anomaly_Detection_Brain_MRI copied to clipboard

Details about the BrainWeb data that is being used

Open srivathsapv opened this issue 3 years ago • 9 comments

Can you explain in detail about how you download the BrainWeb dataset? The website does not have much information and I am able to download only one series at a time. How do you download the tissue labels and skull map? How many patients/scans are you using from Brain Web?

srivathsapv avatar Aug 27 '20 19:08 srivathsapv

@StefanDenn3r hi and thanks for sharing this code, I have the same problem with @srivathsapv, please guide us best regards

amirmmi avatar Sep 10 '20 08:09 amirmmi

@amirmmi On a side note, I was able to use IXI and ADNI datasets successfully.

srivathsapv avatar Sep 10 '20 16:09 srivathsapv

@srivathsapv Thank you very much for your help

amirmmi avatar Sep 10 '20 20:09 amirmmi

Hi Guys, sorry for the late reply and thanks for opening the issue. BrainWeb dataset: Please keep in mind that this is a simulated dataset. This was more meant as an easy introduction to the code base since we can quite easily overfit on it and verify that everything is correctly set up. However, I agree, it is quite tedious to download each series at a time. Maybe it makes sense to change this to another dataset, which is easier to deal with. I'll add it as a todo for me. If you would like to do that, feel free to open a pull request. I'd really appreciate it! For actual experiments, I'd recommend to rather use a dataset with real patients, such as the MS ISBI 2015 dataset.

@srivathsapv I'd really appreciate if you could make a pull request with the IXI and ADNI dataset since it seems like you have already implemented it and others would benefit from it. That would be great!

StefanDenn3r avatar Sep 15 '20 20:09 StefanDenn3r

@StefanDenn3r To make it work with IXI and ADNI, my changes were mostly in dataloaders/BRAINWEB.py itself. But yeah, sure I can create a PR soon.

srivathsapv avatar Sep 15 '20 20:09 srivathsapv

@srivathsapv hi there. I'm having difficulty to use BRAINWEB dataset too. hence, i saw your comment and decided to use IXI dataset. appreciate if you can share your code change in BRAINWEB.py for me to double check it with mine since im unable to run using that dataset

irfixq avatar Nov 26 '20 10:11 irfixq

@srivathsapv Hey, I tried using IXI dataset on T1 images but the l1 loss does not seem to go below 0.04 (I tried VAE and AE). Can you please check if you were able to get the results as in the paper (~1e-10) and if so the steps you took to train on IXI.

user1234554321 avatar May 11 '21 15:05 user1234554321

I am using Brainweb dataset, placed in relevant folders but following error

Screenshot_5

zeexan-dev avatar Jun 24 '21 08:06 zeexan-dev

@srivathsapv did you the pull request?

AndresJGUTP avatar Jun 28 '22 15:06 AndresJGUTP

Hi All, any update? I am facing the same dataset issue.

Shancong-Mou avatar Aug 25 '22 14:08 Shancong-Mou

Hi All, any update? I am facing the same dataset issue.

@StefanDenn3r

Shancong-Mou avatar Aug 25 '22 14:08 Shancong-Mou

MS ISBI 2015 dataset

@StefanDenn3r Can you please share the Brainweb data that you downlaoded and processed as a folder such that we can use directly? This can significantly increase the visibility of your paper, even outside the medical field, such as ML and Computer vision. Thanks!

Shancong-Mou avatar Aug 25 '22 14:08 Shancong-Mou

Hello, unfortunately, I don't like sharing the Brainweb data as a folder, since this data does not belong to us. However, I am working on an automatic download of the BrainWeb dataset, which should make it very easy for you to get started working with the code base. Please give me some time for that. I will give you an update here in the next few days.

Best regards, Stefan

StefanDenn3r avatar Aug 28 '22 13:08 StefanDenn3r

Hello everybody, please have a look at the latest commit. I added a script for downloading the Brainweb dataset. Furthermore, I also updated the Jupiter Notebook, which now uses this script to download the dataset and let's you start right away with training your models. Please try it out! Open In Colab For now, I will close this issue. If you have any issues, please feel free to reopen it.

Best, Stefan

StefanDenn3r avatar Sep 14 '22 11:09 StefanDenn3r

Hello everybody, please have a look at the latest commit. I added a script for downloading the Brainweb dataset. Furthermore, I also updated the Jupiter Notebook, which now uses this script to download the dataset and let's you start right away with training your models. Please try it out! Open In Colab For now, I will close this issue. If you have any issues, please feel free to reopen it.

Best, Stefan

Thanks, stefan, that is awesome! By the way, could you please also post the performance of each method on the Brinaweb dataset? Seems like retraining from scratch takes a lot of time.

Shancong-Mou avatar Sep 22 '22 04:09 Shancong-Mou

Hi, the Brainweb Dataset should rather be considered as an example dataset to give you an idea of how to integrate your own dataset and for validating if the whole pipeline is set up correctly, i.e. if the gradients look reasonable, the losses are decreasing and so on. Therefore, there is not really a performance to report.

Best, Stefan

StefanDenn3r avatar Sep 25 '22 20:09 StefanDenn3r