SimSwap
SimSwap copied to clipboard
FileNotFoundError: [Errno 2] No such file or directory: './parsing_model/checkpoint\\79999_iter.pth'
Facing this following issue
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
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.