Skip to content

Commit c33a84c

Browse files
blessedcoolanthavardgulldahlhvanmegenHenry van Megenlstein
authored
Add New Logo (CompVis#454)
* Add instructions on how to install alongside pyenv (CompVis#393) Like probably many others, I have a lot of different virtualenvs, one for each project. Most of them are handled by `pyenv`. After installing according to these instructions I had issues with ´pyenv`and `miniconda` fighting over the $PATH of my system. But then I stumbled upon this nice solution on SO: https://stackoverflow.com/a/73139031 , upon which I have based my suggested changes. It runs perfectly on my M1 setup, with the anaconda setup as a virtual environment handled by pyenv. Feel free to incorporate these instructions as you see fit. Thanks a million for all your hard work. * Disabled debug output (CompVis#436) Co-authored-by: Henry van Megen <[email protected]> * Add New Logo Co-authored-by: Håvard Gulldahl <[email protected]> Co-authored-by: Henry van Megen <[email protected]> Co-authored-by: Henry van Megen <[email protected]> Co-authored-by: Lincoln Stein <[email protected]>
1 parent f8a5408 commit c33a84c

File tree

4 files changed

+13
-14
lines changed

4 files changed

+13
-14
lines changed

README.md

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1 align='center'><b>Stable Diffusion Dream Script</b></h1>
22

33
<p align='center'>
4-
<img src="static/logo_temp.png"/>
4+
<img src="static/logo.png"/>
55
</p>
66

77
<p align="center">
@@ -22,7 +22,7 @@ text-to-image generator. This fork supports:
2222
generating images in your browser.
2323

2424
3. Support for img2img in which you provide a seed image to guide the
25-
image creation
25+
image creation. (inpainting & masking coming soon)
2626

2727
4. Preliminary inpainting support.
2828

@@ -33,9 +33,9 @@ text-to-image generator. This fork supports:
3333

3434
7. Weighted subprompts for prompt tuning.
3535

36-
8. [Image variations](VARIATIONS.md) which allow you to systematically
37-
generate variations of an image you like and combine two or more
38-
images together to combine the best features of both.
36+
7. [Image variations](VARIATIONS.md) which allow you to systematically
37+
generate variations of an image you like and combine two or more
38+
images together to combine the best features of both.
3939

4040
9. Textual inversion for customization of the prompt language and images.
4141

@@ -387,9 +387,8 @@ and introducing a new vocabulary to the fixed model.
387387

388388
To train, prepare a folder that contains images sized at 512x512 and execute the following:
389389

390-
391390
WINDOWS: As the default backend is not available on Windows, if you're using that platform, set the environment variable `PL_TORCH_DISTRIBUTED_BACKEND=gloo`
392-
391+
393392
```
394393
(ldm) ~/stable-diffusion$ python3 ./main.py --base ./configs/stable-diffusion/v1-finetune.yaml \
395394
-t \
@@ -460,7 +459,7 @@ repository and associated paper for details and limitations.
460459
- WebUI supports GFPGAN/ESRGAN facial reconstruction and upscaling [Kevin Gibbons](https://github.com/bakkot)
461460
- WebUI supports incremental display of in-progress images during generation [Kevin Gibbons](https://github.com/bakkot)
462461
- A new configuration file scheme that allows new models (including upcoming stable-diffusion-v1.5)
463-
to be added without altering the code. ([David Wager](https://github.com/maddavid12))
462+
to be added without altering the code. ([David Wager](https://github.com/maddavid12))
464463
- Can specify --grid on dream.py command line as the default.
465464
- Miscellaneous internal bug and stability fixes.
466465
- Works on M1 Apple hardware.
@@ -484,8 +483,8 @@ There are separate installation walkthroughs for [Linux](#linux), [Windows](#win
484483

485484
```
486485
~$ wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh
487-
~$ chmod +x Anaconda3-2022.05-Linux-x86_64.sh
488-
~$ ./Anaconda3-2022.05-Linux-x86_64.sh
486+
~$ chmod +x Anaconda3-2022.05-Linux-x86_64.sh
487+
~$ ./Anaconda3-2022.05-Linux-x86_64.sh
489488
```
490489

491490
After installing anaconda, you should log out of your system and log back in. If the installation
@@ -674,9 +673,9 @@ python scripts\dream.py
674673
```
675674

676675
10. Subsequently, to relaunch the script, first activate the Anaconda
677-
command window (step 3), enter the stable-diffusion directory (step 5,
678-
"cd \path\to\stable-diffusion"), run "conda activate ldm" (step 6b),
679-
and then launch the dream script (step 9).
676+
command window (step 3), enter the stable-diffusion directory (step 5,
677+
"cd \path\to\stable-diffusion"), run "conda activate ldm" (step 6b),
678+
and then launch the dream script (step 9).
680679

681680
**Note:** Tildebyte has written an alternative ["Easy peasy Windows
682681
install"](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)

ldm/simplet2i.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
class T2I(Generate):
1111
def __init__(self,**kwargs):
1212
print(f'>> The ldm.simplet2i module is deprecated. Use ldm.generate instead. It is a drop-in replacement.')
13-
super().__init__(kwargs)
13+
super().__init__(kwargs)

static/logo.png

21.7 KB
Loading

static/logo_temp.png

-34.4 KB
Binary file not shown.

0 commit comments

Comments
 (0)