fly1995 / MDFA-Net

cardiac segmentation
4 stars 2 forks source link

The relationship between the various code files, in what order should I run this code? #1

Open Halleyawoo opened 3 years ago

Halleyawoo commented 3 years ago

Hello, I have benefited a lot from reading your paper, but I did not understand the logical relationship of each file. What do the 200, 400, and 600 appear in the code mean, you are using the MS-CMRSeg 2019 data set for training and test it?

fly1995 commented 3 years ago

1.200 500 600 represent different position,you can refer to data(MS-CMRSeg2019 and MyoPS2020)

  1. in cross-validation experiments, we train and validate with MS-CMRSeg2019; in external validation experiments, we train with MS-CMRSeg2019, test with MyoPS2020 3.Data_format_conversion.py You can transform jpg to npy, nii to npy, npy tp jpg, npy tp mat. Data_preprocess.py You can propocess the data step by step according to this file. Including augmentation. Network.py All network are compared in this paper. Train_network.py Train network(after Data_preprocess.py). predict time.py Compute prediction time. Predict.py Predict model (get test result). Metrics.py All metrics are used in this paper. External_validation_train.py External_validation_prediction.py compute_metrics.py Compute test result metrics.

At 2021-05-10 22:01:49, "Halleyawoo" @.***> wrote:

Hello, I have benefited a lot from reading your paper, but I did not understand the logical relationship of each file. What do the 200, 400, and 600 appear in the code mean, you are using the MS-CMRSeg 2019 data set for training and test it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Halleyawoo commented 3 years ago

@fly1995 Thanks for your reply. My understanding is to first use Data_format_conversion.py to convert the nii file to npy, then use Data_preprocess.py to preprocess the image, and then train the network. Is this order correct? The MS-CMRSeg 2019 data set has three forms: bSSFP, T2 and LGE. How do you choose between the three forms in the paths that appear in the Data_format_conversion.py and Data_preprocess.py files? I found that some places are in lge format, and some are in c0. I am a little confused here. Could you please answer me, thank you~ 我的理解是先用Data_format_conversion.py把nii文件转为npy,然后再使用Data_preprocess.py进行图片预处理,然后再训练网络,这个顺序对吗? MS-CMRSeg 2019数据集有bSSFP、T2和LGE三种形式,您在Data_format_conversion.py和Data_preprocess.py文件里面出现的路径中如何进行三种形式的选择呢?我发现有些地方是lge格式的,有些是c0的,这里我有点迷惑,麻烦您解答一下,谢谢啦

Halleyawoo commented 3 years ago

@fly1995 Hello, did you process the data in the three formats of lge, bSSPF, and T2 separately in Data_preprocess.py? You processed it three times in total, and then segmented the images in the three formats separately?