tf_unet icon indicating copy to clipboard operation
tf_unet copied to clipboard

question

Open pierpy opened this issue 6 years ago • 3 comments

jDear Doctor Akeret, I found on github your interesting u-net python tool. I'm trying to use it in a project. I can train the network on my data but I have two questions:

  1. If i try to increase the number of layers I get an error;
  2. Why the origninal image is cropped? Is it possible to train on the whole immage?
  3. On the contrary, is it possible to train considering patches of the original image?

Thanks in advance

pierpy avatar Mar 18 '19 09:03 pierpy

If i try to increase the number of layers I get an error;

Without description we can't help you

Why the origninal image is cropped? Is it possible to train on the whole immage?

This is due to the network architecture using "valid" padding in the convolutional layers - you can read more on this in the original Ronneberger et al. paper

On the contrary, is it possible to train considering patches of the original image?

Yes, but you have to implement this yourself

jakeret avatar Mar 18 '19 14:03 jakeret

Thank for your reply.. i fixed the number of layers issue. For the implementation of the whole image training can you tell me which part of the code I have to modify? I guess in the store_prediction function but i can not figure out perfectly...

Il giorno lun 18 mar 2019 alle ore 15:00 Joel Akeret < [email protected]> ha scritto:

If i try to increase the number of layers I get an error;

Without description we can't help you

Why the origninal image is cropped? Is it possible to train on the whole immage?

This is due to the network architecture using "valid" padding in the convolutional layers - you can read more on this in the original Ronneberger et al. paper

On the contrary, is it possible to train considering patches of the original image?

Yes, but you have to implement this yourself

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jakeret/tf_unet/issues/254#issuecomment-473921630, or mute the thread https://github.com/notifications/unsubscribe-auth/AHChl8Blq7lkuyHZIggm7DKNd0U88yAdks5vX5wXgaJpZM4b5Ubo .

--

Ing. Pierpaolo Croce, PhD. Institute for Advanced Biomedical Technologies - ITAB and Department of Neuroscience and Imaging University of Chieti "G. D'Annunzio" Via dei Vestini, 33 66013 Chieti, Italy

pierpy avatar Mar 18 '19 19:03 pierpy

@pierpy split the images to your needs before placing them into the training folder

daboe01 avatar Oct 11 '19 05:10 daboe01