advimman / lama

🦙 LaMa Image Inpainting, Resolution-robust Large Mask Inpainting with Fourier Convolutions, WACV 2022
https://advimman.github.io/lama-project/
Apache License 2.0
7.91k stars 838 forks source link

Using JPG files instead of PNG for inpainting results in an error. #283

Closed bukdohee closed 9 months ago

bukdohee commented 9 months ago

When attempting inpainting, the recommended format is PNG, but I tried JPG for its faster processing speed. However, I encounter an error in predict.py. Does anyone know why it doesn't work with JPG format?