Open sfxworks opened 3 years ago
You are using an earlier version of pytorch than 1.7.1, you need to upgrade it Try to use this in command prompt:
pip uninstall torch
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
It is showing that it was never installed
C:\Users\shaba>pip uninstall torch
WARNING: Skipping torch as it is not installed.
C:\Users\shaba>pip3 uninstall torch
WARNING: Skipping torch as it is not installed.
C:\Users\shaba>pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.8.0+cu111
ERROR: No matching distribution found for torch==1.8.0+cu111
C:\Users\shaba>pip3 install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
Looking in links: https://download.pytorch.org/whl/torch_stable.html
ERROR: Could not find a version that satisfies the requirement torch==1.8.0+cu111
ERROR: No matching distribution found for torch==1.8.0+cu111
I will just send you my tutorial on how to download it from the very start You need to download a version of TensorFlow before V2 because Deep Daze doesn't support V2 You will also need CUDA 11.1
Microsoft Visual C++ > Download Here Python 3.8 > Download Here TensorFlow python package > Download Here CUDA 11.1 > Download Here
Make a new folder where ever you choose, drag and drop the TensorFlow python package (The .whl) file then run these commands
cd C:\the folder path
pip install tensorflow_gpu-2.4.0-cp38-cp38-win_amd64.whl
After you have done that type this in a new command line The next lines of code are to create a virtual environment and upgrades the different things you need to run the command.
python -m venv --system-site-packages .\venv
.\venv\Scripts\activate
pip install --upgrade pip
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html
pip install --upgrade CLIP
pip install --upgrade wheel
pip install deep-daze
pip install --upgrade tensorflow
(CLIP, wheel, and torch are just to verify that you have the most up-to-date installation)
I might be missing some information so let me know how all these goes and im here to help!
For me the solution was to use the cmd instead of using the console of vscode.
Will look into this