jongcye / CollaGAN_MRI

Application of CollaGAN (Collaborative GAN) for MRI Image Imputation
Apache License 2.0
24 stars 13 forks source link

NumPy file #1

Open lilivalencia21 opened 4 years ago

lilivalencia21 commented 4 years ago

I'm trying to use your code but I don't know how you create the NumPy file with filename of the slices in the class Brats. Any advice/instruction?

hello-trouble commented 4 years ago

I'm also puzzled about the NumPy file used in this project. do you solve it ?

I'm trying to use your code but I don't know how you create the NumPy file with filename of the slices in the class Brats. Any advice//instruction

lilivalencia21 commented 4 years ago

Reading through the code, you need to have a flist for each stage, training, validation and testing. Each list contains the name of the slices of the case, for instance: ['Brats18_TCIA10_175_1_slice0', 'Brats18_TCIA10_175_1_slice1', 'Brats18_TCIA10_175_1_slice2', ...] Keep in mind that is just one name for case and slice. During data loading in CollaGAN code, a character will be added to each name being that O, C, T, F. My guess is that they referred to the modality and therefore your images should be saved including them. I have to say that I put them almost randomly because there is any explanation regarding this. Something important, the authors load the images as mat files, I changed for npy files.

hello-trouble commented 4 years ago

Thank you very much for your kindly help, I have solved it with Brats18 and the npy files .Four images of different modality are stored in a npy file. Is there any project implemented with pytorch?

lilivalencia21 commented 4 years ago

Did you manage to run the entire code? I have errors with tensorflow related to the MaxPooling layer and I don't have experience with this framework. About the pytorch implementation, I've been looking for it but so far I haven't found any.

hello-trouble commented 4 years ago

I am also a stranger to this framework,

zhangshuang317 commented 4 years ago

Thank you very much for your kindly help, I have solved it with Brats18 and the npy files .Four images of different modality are stored in a npy file. Is there any project implemented with pytorch?

hi, can i get the way to solve brats18 and npy files.?

zhangyu-python commented 3 years ago

@lilivalencia21 Hi, I want to employ the network to my work , but I do not know how to creat the dataset structure and the name of files. could you show me your data structure.? Thank you.