aurora95 / Keras-FCN

Keras-tensorflow implementation of Fully Convolutional Networks for Semantic Segmentation(Unfinished)
MIT License
650 stars 268 forks source link

Hello, I also have this problem, I want to train my data set, but the picture of my data set is jpg, the label is png, can I use this data set for training, if I can, I need the program What changes have been made, thank you #81

Open watchmexiang opened 5 years ago

watchmexiang commented 5 years ago

Hello, I also have this problem, I want to train my data set, but the picture of my data set is jpg, the label is png, can I use this data set for training, if I can, I need the program What changes have been made, thank you

fookingthg commented 5 years ago

Hi, you can add your jpg image in ~/.keras/datasets/VOC2012/VOCdevkit/VOC2012/JPEGImages and png image in ~/.keras/datasets/VOC2012/combined_annotations

You can then add the name of the image in ~/.keras/datasets/VOC2012/combined_imageset_train.txt