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.38k stars 327 forks source link

HOW TO RUN DEEP DAZE ON WINDOWS #189

Open GYKgamer opened 2 years ago

GYKgamer commented 2 years ago

I figured out a way to run deep daze as many of us people are having problems.

First step is to install ubuntu from windows store. Next is to install wsl2 (search google how to do that) open ubuntu and set it up next delete and re install python (using the installer not using ubuntu) use pip install deep_daze then use the imagine command AND BOOM.

(btw idk if this works but it worked for me)

GYKgamer commented 2 years ago

image

breadbrowser commented 2 years ago

what pip version?

GYKgamer commented 2 years ago

I did latest

katnova commented 2 years ago

... You can run deep-daze without using WSL

  1. Just install Anaconda
  2. Launch Anaconda from the windows start menu
  3. Create a new env conda create --name deep-haze
  4. Activate your new conda env conda activate deep-haze
  5. If you plan on using a CUDA capable GPU (Must be CUDA 11.3 or previous), install pytorch using conda conda install -c pytorch torchvision cudatoolkit=11.3 pytorch
  6. Install deep-daze pip install deep-daze
  7. Run deep-daze imagine "a deer drinking from a river"

NOTES:

breadbrowser commented 2 years ago

lmao he only needs to just do pip install torch==1.7.1

breadbrowser commented 2 years ago

also need gpu made by the people who made gforce now