3d-prostate-segmentation icon indicating copy to clipboard operation
3d-prostate-segmentation copied to clipboard

Example

Open shathaa1983 opened this issue 2 years ago • 13 comments

Hi, thank you for sharing such great work, I am trying to apply your work I faced some issues could you please provide us with simple example or procedure to follow the work and what is expected to see after each step.

Thank you

shathaa1983 avatar Sep 21 '22 18:09 shathaa1983

Hi! I am not sure what you mean by "simple example or procedure" here.

But, I can list down a rough process you should follow:

  1. Download the data from Promise12.
  2. Use resizing.py to resize all your images to a common shape.
  3. Use train.py and predict.py to train your model.

amanbasu avatar Sep 21 '22 21:09 amanbasu

Thank you for your answer. I got this error, could you please help?

image

shathaa1983 avatar Sep 22 '22 14:09 shathaa1983

You probably need to clear the session and start the training again - adam must be already defined in the previous graph.

amanbasu avatar Sep 22 '22 15:09 amanbasu

Yes, you alright.

I got another error image Just a quick notice, I read in the github web site that you mentioned the new image size is (128,128,64) however you defined the new image size in the resizing.py (144,144,50) So which size should I use?

shathaa1983 avatar Sep 22 '22 15:09 shathaa1983

You can use any. Depending on your GPU memory and batch size.

amanbasu avatar Sep 22 '22 15:09 amanbasu

Sounds good

I am trying to solve this error but without luck image

shathaa1983 avatar Sep 22 '22 19:09 shathaa1983

Did you convert all your images to the same shape?

amanbasu avatar Sep 25 '22 13:09 amanbasu

It should be in the resizing.py, right?

shathaa1983 avatar Sep 25 '22 15:09 shathaa1983

Yes.

amanbasu avatar Sep 25 '22 15:09 amanbasu

image I select this new image size for the reshape, but still have the same error. I tried multiple actions but without luck.

shathaa1983 avatar Sep 25 '22 15:09 shathaa1983

Make sure the you give the correct path to read the images while training. And also verify the image size in the DataGenerator.

amanbasu avatar Sep 25 '22 15:09 amanbasu

Ok, I will follow your instructions, could you please provide the python version, TensorFlow version, and other requirements to install?

shathaa1983 avatar Sep 25 '22 15:09 shathaa1983

Tensorflow 1.10 and python 3.6

amanbasu avatar Sep 26 '22 01:09 amanbasu