yucornetto/MGMatting

Weird matting in checkered patterned images

hackkhai opened this issue · 0 comments

So, I really love MGmatting's work on guidance based matting, But i found this weird matting issue in checkered pattern shirts though the trimap had only grey area around the edges. I have attached a sample image trimap and output. I ran this command to test the model.
CUDA_VISIBLE_DEVICES=0 python infer.py --config ./config/MGMatting-RWP-100k.toml --checkpoint ../latest_model.pth --image-dir ./image/ --mask-dir ./masks/ --output ./ --image-ext .jpeg --mask-ext .png --guidance-thres 128
and i even tried guidance threshold to 127 same issue
Can you help me solve this problem
Thanks!

0
0
0