4 ms·
I'm working on getting this running. Instead of "venv/bin/activate" I had to run "source venv/bin/activate". And I got an error installing the requirements, f
by dgreensp 4y ago
I'm working on getting this running. Instead of "venv/bin/activate" I had to run "source venv/bin/activate". And I got an error installing the requirements, fixed by running "pip install pyyaml" as a separate command.
- valley_guy_12 4y agoHaving to use "source" means you have an older version of conda. Python package management is kind of a mess.
- dgreensp 4y agoWow, I'm getting as low as 1.2 seconds per "step" (about a minute for a 512x512 image with default settings) on my 32 GB M1 laptop (2021, 16-inch).
- bfirsh 4y agoThere's a little "." before "venv/bin/activate" that's easy to miss. I'll update it to "source" to make it more obvious.
- dgreensp 4y agoGreat. FYI, the issue with pyyaml was caused by the "--pre" flag. The reason installing it separately fixes the problem is because it installs it without the "--pre" flag, and then it is already installed when you install the requirements. I haven't been able to make sense of n-samples and n-iters. Changing the former caused generation to freeze at 0%. Changing the latter seems to generate multiple images, even though the SD docs for n-iters are "sample this often".