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

ModuleNotFoundError #74

Open s7l opened 3 years ago

s7l commented 3 years ago
from deep_daze.clip import load, tokenize

ModuleNotFoundError: No module named 'deep_daze.clip'; 'deep_daze' is not a package

NuclearSurvivor commented 3 years ago

you need to use the command "imagine"

ie: imagine "floating castle"

ParityError commented 3 years ago

I have a similar issue, and there is no imagine command.

$ pip install deep-daze
Collecting deep-daze
  Downloading deep_daze-0.8.0-py3-none-any.whl (1.4 MB)
     |████████████████████████████████| 1.4 MB 3.3 MB/s 
...
Successfully installed deep-daze-0.8.0 einops-0.3.0 fire-0.4.0 ftfy-5.9 imageio-2.9.0 
pytorch-ranger-0.1.1 siren-pytorch-0.0.9 torch-1.8.1 torch-optimizer-0.1.0 torchvision-0.9.1 wcwidth-0.2.5

Upon trying the command:

$ imagine
-bash: imagine: command not found

So I went directly in the site-packages directory:

$ python deep_daze.py
from deep_daze.clip import load, tokenize
ModuleNotFoundError: No module named 'deep_daze.clip'; 'deep_daze' is not a package

Where should the imagine command be installed?