ChengBinJin / MRI-to-CT-DCNN-TensorFlow

This repository is the implementations of the paper "MR-based Synthetic CT Generation using Deep Convolutional Neural Network Method," Medical Physics 2017.
100 stars 32 forks source link

Question about running main.py #6

Open joventino opened 4 years ago

joventino commented 4 years ago

Hi, I was able to run preprocessing and training, as described in the readme. However I am not understanding how to run the main.py for a new image series. What kind of file should I need to provide in "python main.py --load_model=" ?

mozhagn1991 commented 4 years ago

Hi there, You just need to specify the created folder in the model directory for instance after training my model I got a new file named 20200810-1641 in the model directory. You just need to address it: ython main.py --load_model=20200810-1641

rboucenna commented 3 years ago

Hi both,

Ok to load the model but how I can apply this model for new MR images and plot CT images? CT_Images=Load_model.predict(MR imagesFolder) How to do this ? Thank you ++++

rboucenna commented 3 years ago

It's not possible to load models?

rboucenna commented 3 years ago

import matplotlib.pyplot as plt CT_test=load_model.predict([MR_test]) plt.imshow(CT_test[0], cmp=binary)

Shreeram44 commented 4 months ago

how many epochs do I have to run, during training?