ai-forever / ghost

A new one shot face swap approach for image and video domains
Apache License 2.0
1.28k stars 268 forks source link

Is there any way to use this with CPU or a AMD Radeon GPU ? #49

Open WanessaMoto opened 2 years ago

WanessaMoto commented 2 years ago

I don't mind if it's slow, as long it works. I can use other tools that also utilizes pytorch like Real-ESRGAN, with no problems on my Radeon, but this one i couldn't figure it out how to.

sebaro commented 1 year ago

I'm using this code on CPU, it uses GFPGAN for face enhance: https://gist.github.com/sebaro/a035f85e7f875daefb9613a33a98f32b