dongwu92 / AutoPortraitMatting

Tensorflow implementation of Automatic Portrait Matting on paper "Automatic Portrait Segmentation for Image Stylization"
Apache License 2.0
478 stars 151 forks source link

Data about annotation #40

Open xiaopingzi231 opened 5 years ago

xiaopingzi231 commented 5 years ago

Generating tfrecord format, how do I assign label to each pixel in images_mask set ? eg. num_class=2; value = 0 , label = 0; value = 255, label=1; how about value=1~254?