Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about Collectives
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Learn more about Teams
I want to setup Stable Diffusion (server?) to emulate some scenes in some works of fiction I've worked on over the years (e.g. "self-made" concept art). However even as a developer I'm completely lost on the provided instructions as I'm not familiar with any of the prerequisites involved.
I've obviously have read the
readme file
and installed Conda however the instructions are extremely lacking as they clearly presume you already know what you're doing. Then after installation I ran the very first command:
(base) PS C:\Users[user]> conda env create -f environment.yaml
I received the following error:
EnvironmentFileNotFound: 'C:\Users[user]\environment.yaml' file not found
How do I properly setup Conda, Python and Stable Diffusion?
I'm interested in getting through the whole process, not just the first error.
–
–
–
The reason your commands aren't working is that you need to git clone
the repository first:
git clone https://github.com/CompVis/stable-diffusion.git
Which will drop a stable-diffusion
folder where you ran the command. Once you cd
into that directory, you should see an environment.yaml
file that you can use for your conda
commands:
cd stable-diffusion
conda env create -f ./environment.yaml
If you don't have git
installed, you'll want to use a suitable installer from here.
–
Yes, there are those "easy" options too, such as .exe and .dmg installer files for Windows and Mac's respectively.
There are also some simpler than what you found daunting, but less limited than the above pre-defined, self-contained options, such as via:
https://github.com/cmdr2/stable-diffusion-ui
Every option/approach has its trade-offs.
The underlying issue you are contending with is that you are jumping in at the point of 400% - 1,000% yearly AI growth rates and all the rapid changes in evolution and options that this implies, and the desire to bypass the challenge on jumping onto the rapid technology, code and related options that this is. Many of the people, groups and companies powering this amazing revolution and growth rates and sharing this with others also have time constraints, and therefor are fine providing standard modes of setup and access via industry-standard tools and methods like GitHub, Conda, Brew and other such tools. However, a certain percentage of people will be frustrated by this. For them, there are other simplified, less leading-edge access options.
While there are simple installs that are self-contained and relatively easy, they by their nature provide a smaller slice of any given area of AI, which is simplifying for the knowledge/time-constrained individual at the expense of limiting access to many the latest installable or other options.
You can also just use an online version of it where someone has done the more difficult installation and configuration work for you. From Mid Journey and Google Colab options to things you can simply find by searching for online stable diffusion, such as: https://stablediffusionweb.com
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.