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

AssertionError: CUDA unavaliable #72

Closed AppleCraxkhead closed 3 years ago

AppleCraxkhead commented 3 years ago

This is definitely PEBKAC but whenever I run Imagine "x" I get: Traceback (most recent call last): File "c:\python39\lib\runpy.py", line 197, in _run_module_as_main return _run_code(code, main_globals, None, File "c:\python39\lib\runpy.py", line 87, in _run_code exec(code, run_globals) File "C:\Python39\Scripts\imagine.exe__main__.py", line 4, in File "c:\python39\lib\site-packages\deep_daze__init__.py", line 1, in from deep_daze.deep_daze import DeepDaze, Imagine File "c:\python39\lib\site-packages\deep_daze\deep_daze.py", line 25, in assert torch.cuda.is_available(), 'CUDA must be available in order to use Deep Daze' AssertionError: CUDA must be available in order to use Deep Daze

AppleCraxkhead commented 3 years ago

nvm I'm quite stupid and figured it out

itsHNTR commented 3 years ago

Im having the same issue. how did you fix it?

AppleCraxkhead commented 3 years ago

Im having the same issue. how did you fix it?

yeah just do pip uninstall torch then go here and select your OS etc, then run the command it gives u