daniel985 / MobileNet4Segmentation

5 stars 3 forks source link

help #2

Open alexliyang opened 6 years ago

alexliyang commented 6 years ago

Hi: my image files and labels are different files, how to rewrite data load codes?

Thank you!

daniel985 commented 6 years ago

you can write codes to load images and labels at the same time, then save them as 'RGBA' format, 'RGB' save image and 'A' save label.

daniel985 commented 6 years ago

'png' image has 4 channels('RGBA'), just try to load the sample image in data file, you will get it!