This repository includes the official project of Mask Guided (MG) Matting, presented in our paper: Mask Guided Matting via Progressive Refinement Network
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!
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!