-
Notifications
You must be signed in to change notification settings - Fork 861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to setup dependencies for github... this is what worked for me on 18/7/2023 #433
Comments
did you use anaconda or miniconda? its so frustrating to try and make this work, just errors after errors... |
I used anaconda 3. |
I have a Geforce GTX 1070 and couldnt get it running with cuda 12.2. |
Hi Joaoesp, Also look at this page to see what commands to use for the pytorch version you will install, if you want to use different version there you will also see what cudatoolkit version you need and from there get the right version of CUDA and CUDNN ready before you start the conda enviroment and installation of simswap requirepment. |
GPU: 4060 8gb its stuck on ---- END ---- doesnt move forward, have to close the window. I tried: #120 but then it gives me: -------------- End ---------------- |
I think you should start a new conda environment and follow the steps I pasted at the beginning. Make sure you have the necessary model in checkpoint and download the archface file like they stated in the SimSwap Github. If you are going with pytorch-cuda=11.8, then make sure your NVidia toolset & Cudnn are of suitable version that works with cuda 11.8. |
I did follow your steps, I downloaded the cudnn for 11.x cuda, torch.cuda.is_available returns true and device_count returns 1. |
I re-downloaded the repository and it worked! Ty so much for your help! |
That's great! Congratulations.
From: joaoesp ***@***.***>
Sent: Friday, August 11, 2023 10:54 PM
To: neuralchen/SimSwap ***@***.***>
Cc: nghiap ***@***.***>; Author ***@***.***>
Subject: Re: [neuralchen/SimSwap] How to setup dependencies for github... this is what worked for me on 18/7/2023 (Issue #433)
I re-downloaded the repository and it worked! Ty so much for your help!
-
Reply to this email directly, view it on GitHub<#433 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFBHH34GGYTOH7LQ6JO2J7DXUYFOFANCNFSM6AAAAAA2OFCLFI>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
|
(simswap) C:\SimSwap-main>cd\
(simswap) C:\SimSwap-main>cd simswap-main
(simswap) C:\SimSwap-main>conda create -n simswap python=3.8
(simswap) C:\SimSwap-main>conda activate simswap
(simswap) C:\SimSwap-main>set CMAKE_ARGS="-DONNX_USE_PROTOBUF_SHARED_LIBS=ON"
(simswap) C:\SimSwap-main>conda install pytorch torchvision torchaudio pytorch-cuda=11.8 -c pytorch -c nvidia
(simswap) C:\SimSwap-main>conda install pytorch==1.8.0 torchvision==0.9.0 torchaudio==0.8.0 cudatoolkit=10.2 -c pytorch
(simswap) C:\SimSwap-main>pip install --ignore-installed imageio
(simswap) C:\SimSwap-main>conda install cudatoolkit -c pytorch
(simswap) C:\SimSwap-main>pip install "numpy<1.24"
(simswap) C:\SimSwap-main>pip install insightface==0.2.1 onnxruntime moviepy
The text was updated successfully, but these errors were encountered: