MRI-to-CT-DCNN-TensorFlow icon indicating copy to clipboard operation
MRI-to-CT-DCNN-TensorFlow copied to clipboard

Question about running main.py

Open joventino opened this issue 4 years ago • 5 comments

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=" ?

joventino avatar Apr 16 '20 18:04 joventino

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

mozhagn1991 avatar Aug 16 '20 06:08 mozhagn1991

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 avatar May 21 '21 20:05 rboucenna

It's not possible to load models?

rboucenna avatar May 21 '21 20:05 rboucenna

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

rboucenna avatar May 21 '21 22:05 rboucenna

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

Shreeram44 avatar Jun 04 '24 14:06 Shreeram44