neuralchen / SimSwap

An arbitrary face-swapping framework on images and videos with one single trained model!
Other
4.33k stars 866 forks source link

FileNotFoundError: [Errno 2] No such file or directory: './parsing_model/checkpoint\\79999_iter.pth' #344

Open SadmanXo opened 1 year ago

SadmanXo commented 1 year ago

Facing this following issue

Screenshot 2022-11-18 231656

Used the following commands cause I have a RTX 3050 card. The default preparation commands don't work for me (Get stuck after END)

conda create -n simswap python=3.6 conda activate simswap conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c nvidia -c conda-forge conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch (option): pip install --ignore-installed imageio pip install insightface==0.2.1 onnxruntime moviepy

chuan19 commented 1 year ago

go to https://github.com/neuralchen/SimSwap/blob/main/docs/guidance/preparation.md download the 79999_iter.pth file: We use the face parsing from face-parsing.PyTorch for image postprocessing. Please download the relative file and place it in ./parsing_model/checkpoint from this link.