ai-forever / ghost

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

Out of memory (Coom) repeatedly #36

Open Fibonacci134 opened 2 years ago

Fibonacci134 commented 2 years ago

Hey guys, wondering if anyone else is having this issue. Get up to about 43% and then get an coom error. Im using a 1650 with 4gbVram and 32gb Ram on a Linux laptop. Simswap works fine, but having an issue with this.

threefoldo commented 2 years ago

You need at least 8GB GPU, 11GB is recommended.

Fibonacci134 commented 2 years ago

You need at least 8GB GPU, 11GB is recommended.

Thank you for the answer. Wonder if there's a way to run it on a lower spec gpu. Lol thank God for simswap!

ramnnv commented 2 years ago

Im running sberswap on gtx1060 6GB. Works perfect on a pictures and videos needs to be less than 20 seconds.

Fibonacci134 commented 2 years ago

Im running sberswap on gtx1060 6GB. Works perfect on a pictures and videos needs to be less than 20 seconds.

Thanks for the info bro.

iacoposk8 commented 2 years ago

I also have the gtx1060 6GB and i solved it by adding --batch_size 20 when i run inference.py