PUT
PUT copied to clipboard
The results were relatively bad? Why?
Thanks for the excellent code, when I inference the picture.
gt:
mask:
Lama result:(The result of Lama https://github.com/advimman/lama)
PUT result:(The result of model tpami2024_vit_base_naturalscene_res512)
python scripts/inference.py --func inference_inpainting
--name OUTPUT/tpami2024_vit_base_naturalscene_res512/checkpoint/000599e_742800iter.pth
--input_res 512,512
--num_token_per_iter -1
--num_token_for_sampling 1
--num_sample 1
--num_replicate 1
--image_dir data/naturalscene_512_sample/gt
--mask_dir data/naturalscene_512_sample/mr0.5_0.6
--gpu 0