SimSwap icon indicating copy to clipboard operation
SimSwap copied to clipboard

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

Open SadmanXo opened this issue 2 years ago • 1 comments

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

SadmanXo avatar Nov 18 '22 17:11 SadmanXo

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.

chuan19 avatar Jun 01 '23 07:06 chuan19