MobileFaceSwap icon indicating copy to clipboard operation
MobileFaceSwap copied to clipboard

Colab?

Open robbsaber opened this issue 2 years ago • 4 comments

Has anyone figured out how to get this to work on colab? Currently getting issues.

robbsaber avatar Apr 22 '22 06:04 robbsaber

Hi, yesterday I have managed to successfully run both image and video tests (CPU only so far) in Colab. I will share the final notebook in GitHub tomorrow.

virtualramblas avatar Apr 25 '22 22:04 virtualramblas

A Colab notebook (inference on CPU) is available here: https://github.com/virtualramblas/python-notebooks-repo/tree/main/Colab/MobileFaceSwap

virtualramblas avatar Apr 26 '22 23:04 virtualramblas

Hi, yesterday I have managed to successfully run both image and video tests (CPU only so far) in Colab. I will share the final notebook in GitHub tomorrow.

You can try run it on GPU by installing pip install paddlepaddle-gpu==2.2.2 instead of paddlepaddle==2.1.2

netrunner-exe avatar Apr 30 '22 16:04 netrunner-exe

Hi, yesterday I have managed to successfully run both image and video tests (CPU only so far) in Colab. I will share the final notebook in GitHub tomorrow.

You can try run it on GPU by installing pip install paddlepaddle-gpu==2.2.2 instead of paddlepaddle==2.1.2

Thanks @netrunner-exe. I focused on the CPU version mostly as I was curious about performance in a perspective of running in devices with lesser computational power and I can say that the results of this work are quite impressive not using a GPU. The authors of MobileFaceSwap did an amazing job.

virtualramblas avatar Apr 30 '22 20:04 virtualramblas