Problems with running test_inpainting.py
Hello! When I tried to run the test_inpainting.py file, I received the following error: the inpainted image was black. But the inpainting results are normal when using the gradio demo. Can you give me some suggestions? Is there an error in my input format? In my input mask, the pixel value that requires inpainting is 1(white), and the pixel value that does not require inpainting is 0(black).
The mask format is correct (1 means mask, 0 means valid regions). You could provide more details about the "black" inpainted results. Besides, I think that the mask should be dilated to cover the whole object and its shadow.
hello! @zhide730 how do we prepare dataset for test_inptainting.py?