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
8.12k stars 861 forks source link

Process speed via CPU #278

Open DNucX opened 1 year ago

DNucX commented 1 year ago

Hello,

Is running via GPU going to always be more faster than CPU? I do not have a GPU for my server and am only able to run via device=cpu. I noticed it takes about 20-30 seconds to complete the command/task for me.

My CPU is: Intel 2.60GHz 12 cores.

If running via GPU is more faster than CPU, is there a way for those who have to run via CPU to be more faster? Is there a specific CPU speed that would be ideal?

Thank you!

thanhnew2001 commented 7 months ago

20s is weight too slow for one image.