MarvinTeichmann / KittiSeg

A Kitti Road Segmentation model implemented in tensorflow.
MIT License
911 stars 403 forks source link

redundant patches in my training data #190

Open chetanreddym opened 6 years ago

chetanreddym commented 6 years ago

Hello Marvin, Thanks for sharing your code. I am trying to train the network on my data to do a binary segmentation of my input images. Now i am using the crop_patch option to crop my input images into 256x256 patches, but the problem here is while doing so, i am ending up with few patches which solely consists of only one class(for example only background). How can i eliminate such patches and use only the ones which contain both the classes of my interest.