SimSwap
SimSwap copied to clipboard
Incompatible with new GPU
GeForce RTX 3080 with CUDA capability sm_86 is not compatible with the current PyTorch installation. The current PyTorch install supports CUDA capabilities sm_37 sm_50 sm_60 sm_61 sm_70 sm_75 compute_37
New version of pytorch reports about conflict and not installing.
Did you try to install this pytorch version https://pytorch.org/get-started/previous-versions/#v180 ?
conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge
Yes and I got this error with it. Now I am installed new version and getting AttributeError: module 'torch._C' has no attribute '_cuda_setDevice'.
Now removed anaconda and did clean install. Instead string from preparation used your command conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=11.1 -c pytorch -c conda-forge Didn't step "(option): pip install onnxruntime-gpu"
C:\ProgramData\Anaconda3\envs\simswap\lib\site-packages\torch\serialization.py:656: SourceChangeWarning: source code of class 'torch.nn.parallel.data_parallel.DataParallel' has changed. Tried to save a patch, but couldn't create a writable file DataParallel.patch. Make sure it doesn't exist and your working directory is writable.
warnings.warn(msg, SourceChangeWarning)
Traceback (most recent call last):
File "test_one_image.py", line 35, in
Added encoding="utf-8"
to line 635 in serialization.py. Getting lot of warnings about changed file but at least model started to do something.
But works only for "Simple face swapping for already face-aligned images" option others getting FileNotFoundError: [Errno 2] No such file or directory: './parsing_model/checkpoint\79999_iter.pth'
This file not exist and nothing in preparation instructions creates it.
It seems setup instruction obsolete and now missing important file. Found and downloaded it and trouble got solved.