Open ahundt opened 7 years ago
Hi My work is semantic segmentation. if I want to increase the number of the images that my network can see, (something like data augmentation), is there any prepared code for doing this? Something like the "ImageDataGenerator" of the keras does.
Is this still needed? or have the features of SegDataGenerator been implemented into the Keras ImageDataGenerator? I am doing an implementation of U-net for semantic segmentation and was hoping to use the Keras ImageDataGenerator. Then I can across this repo and it is the first I read about the Keras ImageDataGenerator not handling segmentation.
Questions by @mptorr in https://github.com/fchollet/keras/issues/6538#issuecomment-301342345
It isn't there yet unfortunately. Suggestions/pull requests are welcome.
SegDataGenerator expects the data to be in pascal_voc format, since the images are in jpg and the labels are in png the authors decided to put neither in the dataset list txt files. If you walk through the process in the README.md you'll end up with a folder properly set up for running which makes things much more clear.