Open zhide730 opened 1 month ago
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! 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).![000000](https://github.com/ewrfcas/LeftRefill/assets/76744898/89c3a161-2651-4211-994b-275a8cd2780f)