Comments (6)
If you look at issue #131, it looks like big sleep won't work without cuda. To answer your original question, it won't work on most of all macs (I'm not sure if older mac's with Nvidia GPUs would work, but probably not)
from big-sleep.
Did you do
python3
import big-sleep.Imagine as dream
dream(text = "text")
Or just
dream(text = "text")
?
The dream command is not available directly from the shell, you have to enter python and import big-sleep. also, this may not be an issue to you, but if it says no module called big-sleep you may want to exit()
and use pip3
or python3 -m pip
instead of pip
, if you have multiple versions of python installed. Then re-enter python3 and try again
from big-sleep.
Thank you for your answer.
When I enter python3 and write "import big-sleep.Imagine as dream"
It says :
File "<stdin>", line 1
import big-sleep.Imagine as dream
^
SyntaxError: invalid syntax
This doesn't get better with pip3 or python3 -m pip instead of pip.
from big-sleep.
Sorry, typo. try this instead
big_sleep.Imagine as dream
from big-sleep.
Thanks ! but I get the same
File "<stdin>", line 1 big_sleep.Imagine as dream ^ SyntaxError: invalid syntax
EDIT : ok it worked with "import big_sleep.Imagine as dream"
I get :
>>> import big_sleep.Imagine as dream Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/Users/.../Downloads/big-sleep-main/big_sleep/__init__.py", line 1, in <module> from big_sleep.big_sleep import BigSleep, Imagine File "/Users/.../Downloads/big-sleep-main/big_sleep/big_sleep.py", line 26, in <module> assert torch.cuda.is_available(), 'CUDA must be available in order to use Big Sleep' AssertionError: CUDA must be available in order to use Big Sleep
from big-sleep.
Ok thanks! :)
from big-sleep.
Related Issues (20)
- Can't install because of conflicting dependencies HOT 5
- RuntimeError: Model has been downloaded but the SHA256 checksum does not not match HOT 3
- [help wanted] Just how much vram is needed to enable the option for OpenAI's larger model? HOT 1
- I would like to know dataset for BigGAN training
- Checkpoint
- Generated images are completely black?! 😵 What am I doing wrong? HOT 7
- Run big sleep in kaggle
- M1 "cuda" Support ? HOT 10
- whoops
- Option for initializing the generation with an image file? HOT 15
- How to use the CUDA to big-sleep?
- Error: tensor is not a torch image
- About warmup step of CLIP
- 1girl, simple background , nsfw ,{ pants ), messy , cum on bodyI ), wet , mist , stream , crying medium breast , short curly messy hair ,( blue hair )(( pink mediumhair )), beautiful aqua gradient blue and pink eyes ( torn . clothes ) I , nude , white clothes , streaming tear , upper body HOT 1
- Man in Sky
- Development HOT 1
- Pixshot.AI
- AI图片生成 HOT 1
- s
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from big-sleep.