haofanwang / inswapper

One-click Face Swapper and Restoration powered by insightface 🔥
490 stars 76 forks source link

environment pip freeze needed #2

Open BurakTasdemir opened 1 year ago

BurakTasdemir commented 1 year ago

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

swanhtet1992 commented 1 year ago

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.

AbeEstrada commented 1 year ago

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

Git-LFS is required to download CodeFormer files