lizhengwei1992 / Semantic_Human_Matting

Semantic Human Matting
527 stars 145 forks source link

Predict alpha result #22

Closed Jason-xin closed 4 years ago

Jason-xin commented 4 years ago

After trained, I got alpha results like this: image

Then, Is this correct alpha result? And, how can I get the final result like this: image

xiankgx commented 4 years ago

Alpha result should be in the range of 0 to 1, or 0 to 255. You seemed to have trained the model to convert from color to grayscale. Note that grayscale is not alpha.