Sanster / IOPaint

Image inpainting tool powered by SOTA AI Model. Remove any unwanted object, defect, people from your pictures or erase and replace(powered by stable diffusion) any thing on your pictures.
https://www.iopaint.com/
Apache License 2.0
19.27k stars 1.97k forks source link

how to convert lama ckpt to pt format ? #168

Closed tomtao008 closed 1 year ago

tomtao008 commented 1 year ago

i download new lama best.ckpt file , i want convert to pt format how to ?

Sanster commented 1 year ago

https://github.com/saic-mdal/lama/blob/main/bin/to_jit.py