HieuPhan33 / MaskGAN

MaskGAN for unpaired MR-to-CT synthesis. Official implementation of MICCAI 2023
22 stars 5 forks source link

Running train.py #3

Closed fatemeh-phd76 closed 2 months ago

fatemeh-phd76 commented 8 months ago

Hello again; i am created root file that contain 2 folders named MRI and US. each one contains 20 paired 3D images normalized *.npy. i changed directory and structure in main.py as you said. but i cant run train.py yet. Could you please tell me where should i change the code to fix it?

HieuPhan33 commented 8 months ago

Hi, my code expects 2D images in jpg and jpeg format.

Can you try preprocessing and extracting 2D slices using the code here: https://github.com/HieuPhan33/MaskGAN/tree/master/preprocess