Skip to content

Commit 4f72cb4

Browse files
committed
moved the notebook files into their own directory
1 parent 878ef2e commit 4f72cb4

File tree

6 files changed

+37
-13
lines changed

6 files changed

+37
-13
lines changed

docs/features/OTHER.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
## **Google Colab**
22

3-
Stable Diffusion AI Notebook: <a href="https://colab.research.google.com/github/lstein/stable-diffusion/blob/main/Stable_Diffusion_AI_Notebook.ipynb" target="_parent"><img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/></a> <br>
4-
Open and follow instructions to use an isolated environment running Dream.<br>
3+
Stable Diffusion AI Notebook: <a
4+
href="https://colab.research.google.com/github/lstein/stable-diffusion/blob/main/notebooks/Stable_Diffusion_AI_Notebook.ipynb"
5+
target="_parent"><img
6+
src="https://colab.research.google.com/assets/colab-badge.svg"
7+
alt="Open In Colab"/></a> <br> Open and follow instructions to use an
8+
isolated environment running Dream.<br>
59

610
Output Example:
711
![Colab Notebook](../assets/colab_notebook.png)
@@ -10,8 +14,10 @@ Output Example:
1014

1115
## **Seamless Tiling**
1216

13-
The seamless tiling mode causes generated images to seamlessly tile with itself. To use it, add the `--seamless` option when starting the
14-
script which will result in all generated images to tile, or for each `dream>` prompt as shown here:
17+
The seamless tiling mode causes generated images to seamlessly tile
18+
with itself. To use it, add the `--seamless` option when starting the
19+
script which will result in all generated images to tile, or for each
20+
`dream>` prompt as shown here:
1521

1622
```
1723
dream> "pond garden with lotus by claude monet" --seamless -s100 -n4
@@ -21,7 +27,10 @@ dream> "pond garden with lotus by claude monet" --seamless -s100 -n4
2127

2228
## **Reading Prompts from a File**
2329

24-
You can automate `dream.py` by providing a text file with the prompts you want to run, one line per prompt. The text file must be composed with a text editor (e.g. Notepad) and not a word processor. Each line should look like what you would type at the dream> prompt:
30+
You can automate `dream.py` by providing a text file with the prompts
31+
you want to run, one line per prompt. The text file must be composed
32+
with a text editor (e.g. Notepad) and not a word processor. Each line
33+
should look like what you would type at the dream> prompt:
2534

2635
```
2736
a beautiful sunny day in the park, children playing -n4 -C10

docs/installation/INSTALL_MAC.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@ Requirements
99

1010
\*I haven't tested any of this on Intel Macs but I have read that one person got it to work, so Apple Silicon might not be requried.
1111

12-
Things have moved really fast and so these instructions change often and are often out-of-date. One of the problems is that there are so many different ways to run this.
12+
Things have moved really fast and so these instructions change often
13+
and are often out-of-date. One of the problems is that there are so
14+
many different ways to run this.
1315

14-
We are trying to build a testing setup so that when we make changes it doesn't always break.
16+
We are trying to build a testing setup so that when we make changes it
17+
doesn't always break.
1518

1619
How to (this hasn't been 100% tested yet):
1720

@@ -88,7 +91,9 @@ The original scripts should work as well.
8891
python scripts/orig_scripts/txt2img.py --prompt "a photograph of an astronaut riding a horse" --plms
8992
```
9093

91-
Note, `export PIP_EXISTS_ACTION=w` is a precaution to fix `conda env create -f environment-mac.yaml` never finishing in some situations. So it isn't required but wont hurt.
94+
Note, `export PIP_EXISTS_ACTION=w` is a precaution to fix `conda env
95+
create -f environment-mac.yaml` never finishing in some situations. So
96+
it isn't required but wont hurt.
9297

9398
After you follow all the instructions and run dream.py you might get several errors. Here's the errors I've seen and found solutions for.
9499

docs/installation/INSTALL_WINDOWS.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,18 @@
22

33
## **Notebook install (semi-automated)**
44

5-
We have a [Jupyter notebook](https://github.com/lstein/stable-diffusion/blob/main/Stable-Diffusion-local-Windows.ipynb) with cell-by-cell installation steps. It will download the code in this repo as one of the steps, so instead of cloning this repo, simply download the notebook from the link above and load it up in VSCode (with the appropriate extensions installed)/Jupyter/JupyterLab and start running the cells one-by-one.
6-
7-
Note that you will need NVIDIA drivers, Python 3.10, and Git installed beforehand - simplified
8-
[step-by-step instructions](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install) are available in the wiki (you'll only need steps 1, 2, & 3 ).
5+
We have a [Jupyter
6+
notebook](https://github.com/lstein/stable-diffusion/blob/main/notebooks/Stable-Diffusion-local-Windows.ipynb)
7+
with cell-by-cell installation steps. It will download the code in
8+
this repo as one of the steps, so instead of cloning this repo, simply
9+
download the notebook from the link above and load it up in VSCode
10+
(with the appropriate extensions installed)/Jupyter/JupyterLab and
11+
start running the cells one-by-one.
12+
13+
Note that you will need NVIDIA drivers, Python 3.10, and Git installed
14+
beforehand - simplified [step-by-step
15+
instructions](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)
16+
are available in the wiki (you'll only need steps 1, 2, & 3 ).
917

1018
## **Manual Install**
1119

@@ -43,7 +51,8 @@ conda env create -f environment.yaml (step 6a)
4351
conda activate ldm (step 6b)
4452
```
4553

46-
This will install all python requirements and activate the "ldm" environment which sets PATH and other environment variables properly.
54+
This will install all python requirements and activate the "ldm"
55+
environment which sets PATH and other environment variables properly.
4756

4857
7. Run the command:
4958

@@ -97,6 +106,7 @@ This distribution is changing rapidly. If you used the `git clone` method (step
97106

98107
```
99108
git pull
109+
conda env update -f environment.yaml
100110
```
101111

102112
This will bring your local copy into sync with the remote one.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)