Skip to content

Commit

Permalink
Add New Logo (#454)
Browse files Browse the repository at this point in the history
* Add instructions on how to install alongside pyenv (#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 (#436)

Co-authored-by: Henry van Megen <hvanmegen@gmail.com>

* Add New Logo

Co-authored-by: Håvard Gulldahl <havard@lurtgjort.no>
Co-authored-by: Henry van Megen <h.vanmegen@gmail.com>
Co-authored-by: Henry van Megen <hvanmegen@gmail.com>
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
  • Loading branch information
5 people committed Sep 9, 2022
1 parent f8a5408 commit c33a84c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 14 deletions.
25 changes: 12 additions & 13 deletions README.md
@@ -1,7 +1,7 @@
<h1 align='center'><b>Stable Diffusion Dream Script</b></h1>

<p align='center'>
<img src="static/logo_temp.png"/>
<img src="static/logo.png"/>
</p>

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

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

4. Preliminary inpainting support.

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

7. Weighted subprompts for prompt tuning.

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

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

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

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


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`

```
(ldm) ~/stable-diffusion$ python3 ./main.py --base ./configs/stable-diffusion/v1-finetune.yaml \
-t \
Expand Down Expand Up @@ -460,7 +459,7 @@ repository and associated paper for details and limitations.
- WebUI supports GFPGAN/ESRGAN facial reconstruction and upscaling [Kevin Gibbons](https://github.com/bakkot)
- WebUI supports incremental display of in-progress images during generation [Kevin Gibbons](https://github.com/bakkot)
- A new configuration file scheme that allows new models (including upcoming stable-diffusion-v1.5)
to be added without altering the code. ([David Wager](https://github.com/maddavid12))
to be added without altering the code. ([David Wager](https://github.com/maddavid12))
- Can specify --grid on dream.py command line as the default.
- Miscellaneous internal bug and stability fixes.
- Works on M1 Apple hardware.
Expand All @@ -484,8 +483,8 @@ There are separate installation walkthroughs for [Linux](#linux), [Windows](#win

```
~$ wget https://repo.anaconda.com/archive/Anaconda3-2022.05-Linux-x86_64.sh
~$ chmod +x Anaconda3-2022.05-Linux-x86_64.sh
~$ ./Anaconda3-2022.05-Linux-x86_64.sh
~$ chmod +x Anaconda3-2022.05-Linux-x86_64.sh
~$ ./Anaconda3-2022.05-Linux-x86_64.sh
```

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

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

**Note:** Tildebyte has written an alternative ["Easy peasy Windows
install"](https://github.com/lstein/stable-diffusion/wiki/Easy-peasy-Windows-install)
Expand Down
2 changes: 1 addition & 1 deletion ldm/simplet2i.py
Expand Up @@ -10,4 +10,4 @@
class T2I(Generate):
def __init__(self,**kwargs):
print(f'>> The ldm.simplet2i module is deprecated. Use ldm.generate instead. It is a drop-in replacement.')
super().__init__(kwargs)
super().__init__(kwargs)
Binary file added static/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed static/logo_temp.png
Binary file not shown.

0 comments on commit c33a84c

Please sign in to comment.