zizhaozhang / unet-tensorflow-keras

A concise code for training and evaluating Unet using tensorflow+keras
MIT License
186 stars 72 forks source link

Could you provide a data layer demo to read image and corresponding groundtruth mask? #1

Closed JunMa11 closed 6 years ago

JunMa11 commented 7 years ago

Excuse me, I'm a fresh man in tensorflow and keras. I failed to create a data layer demo. Would it be possible for you to provide a data layer demo to read image and corresponding groundtruth mask ? I would appreciate your help.

zizhaozhang commented 7 years ago

I like to use Keras to load image with mask and do automatic augmentation online. Please see this example, https://keras.io/preprocessing/image/. Very straightforward