Closed OnlyStopOnTop closed 1 year ago
@OnlyStopOnTop What torch version are you using? Is it 1.9.0? If not run this command after replacing the cuda_tag
.
pip install torch==1.9.0+<cuda_tag> torchvision==0.10.0+<cuda_tag> -f https://download.pytorch.org/whl/torch_stable.html
According to this issue https://github.com/neuralchen/SimSwap/issues/355 in the SimSwap repo it's an issue related with the torch version.
I run torch 2.0 with CUDA 11.8 I checked the list for compatibility and that´s why I choosed torch 2.0
I´m not sure if torch 1.9 is for cuda 11.8
I run torch 2.0 with CUDA 11.8 I checked the list for compatibility and that´s why I choosed torch 2.0
I´m not sure if torch 1.9 is for cuda 11.8
How about you try first installing torch 1.9.0 with cuda 11.1 and see if it will work
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
If it doesn't, as a second step try downgrading cuda to version 11.1
Unisntalled torch and cuda completly.
Installed CUDA 11.1 from nvidia
Than I wanted to install cuda toolkit with:
conda install cudatoolkit=11.1 and conda install cudatoolkit=111
I get:
(dot) C:\Users\alber\Desktop\dot-main>conda install cudatoolkit=11.1 Collecting package metadata (current_repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve. Collecting package metadata (repodata.json): done Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
Current channels:
To search for alternate channels that may provide the conda package you're looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Cuda 11.1 toolkit isn´t even available in the anaconda database. Could you please give me the right advice?
pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 -f https://download.pytorch.org/whl/torch_stable.html
Does give me:
(dot) C:\Users\alber\Desktop\dot-main>python -c "import torch; print(torch.cuda.is_available())"
C:\Users\alber\miniconda3\envs\dot\lib\site-packages\torch\package_mock_zipreader.py:17: UserWarning: Failed to initialize NumPy: numpy.core.multiarray failed to import (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:67.)
_dtype_to_storage = {data_type(0).dtype: data_type for data_type in _storages}
Traceback (most recent call last):
File "
@OnlyStopOnTop we now provide windows exes , can you give a try?
This issue is outdated. Feel free to reopen it after pulling the latest updates
:bug: Bug Report
SimSwap and SimswapHQ are not working. FOMM and faceswapping are.
As I try to run SimSwap I get the error code below:
Best regards