lucidrains / deep-daze

Simple command line tool for text to image generation using OpenAI's CLIP and Siren (Implicit neural representation network). Technique was originally created by https://twitter.com/advadnoun
MIT License
4.37k stars 327 forks source link

Image is not recognised after install. #79

Open WorldOverEnd opened 3 years ago

WorldOverEnd commented 3 years ago

Hi I'm WorldOverEnd and I tried to install Deep-Daze on my computer but after I installed it I tried an example that you guys left and it left me with this error: 'imagine' is not recognized as an internal or external command, operable program or batch file. I'm using windows 10 on a gtx 1060 6GB vram with an ryzen 7 1800x and 8 Gb ram. Can somebody help me thanks.

NuclearSurvivor commented 3 years ago

You did not install Deep-Daze completely. 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!