abeja-inc / platform-template-image-segmentation

MIT License
0 stars 0 forks source link

Add label image conversion #11

Closed keigohtr closed 5 years ago

keigohtr commented 5 years ago

What is this PR for?

Our precondition is that the format of label image is RGBA. Since we converted label images from RGBA to RGB automatically via pillow, I decided to specify how to convert it manually.

This PR includes

What type of PR is it?

Minor

What is the issue?

N/A

How should this be tested?

N/A

keigohtr commented 5 years ago

Close this PR since pillow's RGBA to RGB does the almost same thing (and we don't need to set the specific RGB value according to A plane). I will create another PR for setting the random seed.