haofanwang / inswapper

One-click Face Swapper and Restoration powered by insightface 🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

environment pip freeze needed

BurakTasdemir opened this issue · comments

restoration.py uses basicsr and facelib libraries and they are not mentioned in the requirements.txt. Current versions of these libraries does not match with the restoration.py. Can you provide pip freeze for the working environment

Those two are from the CodeFromer. That's why you need git clone https://huggingface.co/spaces/sczhou/CodeFormer step.

Screenshot 2023-07-21 at 2 03 47 AM

If you do that, you will be able to import successfully.

Checking out how to setup codeformer properly might help too.

Do you have Git Large File Storage (LFS) installed?

Git-LFS is required to download CodeFormer files