Lincoln Stein
b46921c22d
move model installation docs into installation dir
2022-10-29 11:15:57 -04:00
Lincoln Stein
13f26a99b8
documentation and usability fixes
2022-10-29 10:37:38 -04:00
Lincoln Stein
ef68a419f1
preload_models.py script downloads the weight files
...
- user can select which weight files to download using huggingface cache
- user must log in to huggingface, generate an access token, and accept
license terms the very first time this is run. After that, everything
works automatically.
- added placeholder for docs for installing models
- also got rid of unused config files. hopefully they weren't needed
for textual inversion, but I don't think so.
2022-10-29 01:02:45 -04:00
psychedelicious
e5dcae5fff
Merges development
2022-10-29 04:25:26 +11:00
Lincoln Stein
7b46d5f823
complete inpaint/outpaint documentation
...
- still need to write INSTALLING-MODELS.md documentation.
2022-10-27 18:43:17 -04:00
Lincoln Stein
cd5141f3d1
fix issues with outpaint merge
2022-10-27 18:02:08 -04:00
Lincoln Stein
1200fbd3bd
add threshold for switchover from Karras to LDM noise schedule
2022-10-27 17:07:50 -04:00
Taylor Kems
4635836ebc
Update IMG2IMG.md
2022-10-27 17:06:49 -04:00
Damian at mba
3539f0a1da
slightly more verbose docs
2022-10-27 22:50:32 +02:00
Damian at mba
737a7f779b
tweak prompt syntax docs
2022-10-27 22:48:06 +02:00
Damian at mba
71dcc17fa0
fix prompt syntax doc table error
2022-10-27 22:45:59 +02:00
Damian at mba
d43167ac0b
improve documentation of "attention weighting" syntax
2022-10-27 22:41:06 +02:00
Lincoln Stein
16e7cbdb38
tweaks to documentation and call signature for advanced prompting
2022-10-27 08:30:09 -04:00
Lincoln Stein
52de5c8b33
documentation fix
2022-10-27 01:58:20 -04:00
Lincoln Stein
799dc6d0df
acceptable integration of new prompting system and inpainting
...
This was a difficult merge because both PR #1108 and #1243 made
changes to obscure parts of the diffusion code.
- prompt weighting, merging and cross-attention working
- cross-attention does not work with runwayML inpainting
model, but weighting and merging are tested and working
- CLI command parsing code rewritten in order to get embedded
quotes right
- --hires now works with runwayML inpainting
- --embiggen does not work with runwayML and will give an error
- Added an --invert option to invert masks applied to inpainting
- Updated documentation
2022-10-27 01:51:35 -04:00
Lincoln Stein
2f1c1e7695
Merge branch 'fix-prompts' of https://github.com/damian0815/InvokeAI into merge-prompt-and-inpaint-model
2022-10-26 08:50:55 -04:00
Lincoln Stein
99d23c4d81
fix merge conflicts
2022-10-25 07:30:26 -04:00
Damian at mba
d12ae3bab0
documentation for new prompt syntax
2022-10-24 14:58:38 +02:00
Lincoln Stein
b159b2fe42
add support for safety checker (NSFW filter)
...
Now you can activate the Hugging Face `diffusers` library safety check
for NSFW and other potentially disturbing imagery.
To turn on the safety check, pass --safety_checker at the command
line. For developers, the flag is `safety_checker=True` passed to
ldm.generate.Generate(). Once the safety checker is turned on, it
cannot be turned off unless you reinitialize a new Generate object.
When the safety checker is active, suspect images will be blurred and
a warning icon is added. There is also a warning message printed in
the CLI, but it can be a little hard to see because of its positioning
in the output stream.
There is a slight but noticeable delay when the safety checker runs.
Note that invisible watermarking is *not* currently implemented. The
watermark code distributed by the CompViz distribution uses a library
that does not seem to be able to retrieve the watermarks it creates,
and it does not appear that Hugging Face `diffusers` or other SD
distributions are doing any watermarking.
2022-10-23 22:26:18 -04:00
Lincoln Stein
2e14ba8716
Let the text-to-mask .mask.png
file be used as a mask
...
Ironically, the black and white mask file generated by the
`invoke> !mask` command could not be passed as the mask to
`img2img`. This is now fixed and the documentation updated.
2022-10-22 13:53:23 -04:00
krummrey
d8c1b78d83
Update CLI.md
...
Corrected path to script in line 11
2022-10-22 10:56:21 +02:00
Lincoln Stein
55db9dba0a
Merge branch 'Improved-fetch-and-option-to-replay-commands-from-file' of https://github.com/ArDiouscuros/stable-diffusion into ArDiouscuros-Improved-fetch-and-option-to-replay-commands-from-file
...
- various small conflicts fixed
2022-10-21 10:12:35 -04:00
Lincoln Stein
ff87239fb0
fix broken image in docs
2022-10-20 06:56:50 -04:00
Lincoln Stein
a357bf4f19
add !mask command to view output of clipseg
...
- The !mask command takes an image path, a text prompt, and
(optionally) a masking threshold. It creates a mask over the region
indicated by the prompt, and outputs several files that show which
regions will be masked by the chosen prompt and threshold.
- The mask images should not be passed directly to img2img because
they are designed for visualization only. Instead, use the
--text_mask option to pass the selected prompt and threshold.
- See docs/features/INPAINTING.md for details.
2022-10-20 06:56:50 -04:00
Carson Katri
9d19213b8a
Merge branch 'development' of github.com:lstein/stable-diffusion into asymmetric-tiling
2022-10-18 13:34:10 -04:00
Lincoln Stein
20551857da
add clipseg support for creating inpaint masks from text
...
On the command line, the new option is --text_mask or -tm.
Example:
```
invoke> a baseball -I /path/to/still_life.png -tm orange
```
This will find the orange fruit in the still life painting and replace
it with an image of a baseball.
2022-10-18 08:27:48 -04:00
Lincoln Stein
230de023ff
resolve doc conflicts during merge
2022-10-18 08:27:33 -04:00
Lincoln Stein
0cf11ce488
add option to CLI and pngwriter that allows user to set PNG compression level
...
- In CLI: the argument is --png_compression <0..9> (-z<0..9>)
- In API, pass `compress_level` to PngWriter.save_image_and_prompt_to_png()
Compression ranges from 0 (no compression) to 9 (maximum compression).
Default value is 6 (as specified by Pillow package).
This addresses an issue first raised in #652 .
2022-10-17 22:27:47 -04:00
mauwii
8858f7e97c
(re-) fix a lot in mkdocs
2022-10-17 22:27:27 -04:00
Carson Katri
d6195522aa
Add seamless_axes docs to CLI.md
2022-10-17 20:17:34 -04:00
Carson Katri
4079333e29
Document the seamless_axes argument
2022-10-17 19:33:17 -04:00
Lincoln Stein
b0b82efffe
restore inline images
...
<div> around the inline images works great in gh-pages, but breaks plain old markdown in GitHub code display. This removes the <div>s, causing slight degradation in quality of gh-page appearance.
2022-10-16 12:07:21 -04:00
Lincoln Stein
e599604294
restore inline images
...
<div> seems to be messing with the ability of the plain-old markdown processor to display inline images. Slightly degrades appearance of gh-pages.
2022-10-16 12:05:33 -04:00
Lincoln Stein
b953f82346
Merge branch 'development' into fix-doc-typos
2022-10-16 11:28:59 -04:00
Lincoln Stein
ef2058824a
add a strength value to inpaint_replace
...
- --inpaint_replace 0.X will cause inpainting to ignore what is under
the masked region with a strength ranging from 0 (don't ignore at all)
to 1.0 (ignore completely)
- sync with upstream development
- update docs
2022-10-16 10:06:47 -04:00
Lincoln Stein
6f93dc7712
cleanup inpainting and img2img
...
- add a `--inpaint_replace` option that fills masked regions with
latent noise. This allows radical changes to inpainted regions
at the cost of losing context.
- fix up readline, arg processing and metadata writing to accommodate
this change
- fixed bug in storage and retrieval of variations, discovered incidentally
during testing
- update documentation
2022-10-16 08:50:55 -04:00
Rupesh Sreeraman
a6e28d2eb7
Fixed documentation typos and resolved merge conflicts in the documentation.
2022-10-16 17:55:57 +05:30
Lincoln Stein
fe2a2cfc8b
Merge branch 'development' into model-switching
2022-10-14 13:18:59 -04:00
Lincoln Stein
1c501333e8
minor doc fixes
2022-10-14 07:30:26 -04:00
db3000
ce5e57d828
Generalize facetool strength argument
2022-10-14 00:03:06 -04:00
Lincoln Stein
6afc0f9b38
add ability to import and edit alternative models online
...
- !import_model <path/to/model/weights> will import a new model,
prompt the user for its name and description, write it to the
models.yaml file, and load it.
- !edit_model <model_name> will bring up a previously-defined model
and prompt the user to edit its descriptive fields.
Example of !import_model
<pre>
invoke> <b>!import_model models/ldm/stable-diffusion-v1/model-epoch08-float16.ckpt</b>
>> Model import in process. Please enter the values needed to configure this model:
Name for this model: <b>waifu-diffusion</b>
Description of this model: <b>Waifu Diffusion v1.3</b>
Configuration file for this model: <b>configs/stable-diffusion/v1-inference.yaml</b>
Default image width: <b>512</b>
Default image height: <b>512</b>
>> New configuration:
waifu-diffusion:
config: configs/stable-diffusion/v1-inference.yaml
description: Waifu Diffusion v1.3
height: 512
weights: models/ldm/stable-diffusion-v1/model-epoch08-float16.ckpt
width: 512
OK to import [n]? <b>y</b>
>> Caching model stable-diffusion-1.4 in system RAM
>> Loading waifu-diffusion from models/ldm/stable-diffusion-v1/model-epoch08-float16.ckpt
| LatentDiffusion: Running in eps-prediction mode
| DiffusionWrapper has 859.52 M params.
| Making attention of type 'vanilla' with 512 in_channels
| Working with z of shape (1, 4, 32, 32) = 4096 dimensions.
| Making attention of type 'vanilla' with 512 in_channels
| Using faster float16 precision
</pre>
Example of !edit_model
<pre>
invoke> <b>!edit_model waifu-diffusion</b>
>> Editing model waifu-diffusion from configuration file ./configs/models.yaml
description: <b>Waifu diffusion v1.4beta</b>
weights: models/ldm/stable-diffusion-v1/<b>model-epoch10-float16.ckpt</b>
config: configs/stable-diffusion/v1-inference.yaml
width: 512
height: 512
>> New configuration:
waifu-diffusion:
config: configs/stable-diffusion/v1-inference.yaml
description: Waifu diffusion v1.4beta
weights: models/ldm/stable-diffusion-v1/model-epoch10-float16.ckpt
height: 512
width: 512
OK to import [n]? y
>> Caching model stable-diffusion-1.4 in system RAM
>> Loading waifu-diffusion from models/ldm/stable-diffusion-v1/model-epoch10-float16.ckpt
...
</pre>
2022-10-13 23:48:07 -04:00
mauwii
ca6385e6fa
fix TEXTUAL_INVERSION.md emoji
2022-10-11 21:41:52 -04:00
mauwii
828ec1fb5c
fix emoji im PROMPTS.md
2022-10-11 21:41:52 -04:00
mauwii
1c687d6d03
more updates to many docs, including:
...
- better readability in dark mode since color change
- better looking changelog
- fix images which where not loading
- also center most of the images
- fix some syntax errors like
- headlines ending with a colon
- codeblocks with wrong fences
- codeblocks without shell
- update conda prompts from ldm to invokeai
- ....
2022-10-11 21:41:52 -04:00
Lincoln Stein
79e79b78aa
mkdocs fixes, PR #1032
...
Squashed commit of the following:
commit 2c1e0168bb03a2cd625f2d4aca40eee0fdf7e4af
Merge: 2325c6c
31f2733
Author: Lincoln Stein <lincoln.stein@gmail.com>
Date: Tue Oct 11 08:33:18 2022 -0400
Merge branch 'mkdocs-fixes' of https://github.com/mauwii/stable-diffusion into mauwii-mkdocs-fixes
commit 31f2733e89
Merge: d9d6d3a
a61a690
Author: Lincoln Stein <lincoln.stein@gmail.com>
Date: Tue Oct 11 08:05:52 2022 -0400
Merge branch 'main' into mkdocs-fixes
commit d9d6d3af3f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 08:13:04 2022 +0200
some more minor, overseen fixes to IMG2IMG
commit 4ab5a2aeba
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 07:49:11 2022 +0200
add 4gotten alt-text to images
commit f778bd9c0f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 07:18:11 2022 +0200
update OTHER.md
- fix codeblocks, add admonitions, embed graphic
commit a19f148a8e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 06:51:29 2022 +0200
update IMG2IMG.md
commit c1f1dfa714
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 06:10:25 2022 +0200
update EMBIGGEN.md
- fix codeblocks
- fix toc
- use admonitions
commit 791e6c63ef
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 05:58:53 2022 +0200
better admonitions for CLI.md
commit e078025f00
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 05:50:32 2022 +0200
huge update to CLI.md
way too many updates to list them all, including:
- render keys for keyboard-shortcuts
- quote commands and "unhide" parameter-values (like `<int>`, `<string>`
- fix codeblocks
- quote commands
- quote filenames
- use admonitions
- ....
commit bd98dd2307
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:49:57 2022 +0200
fix INPAINTING.md
- fix numbered List
- replace text key combos with actual rendered keyboard keys
commit 5392000335
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:30:11 2022 +0200
fix nubered list and codeblocks in INSTALL_WINDOWS
commit ffe9276f1e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 04:12:56 2022 +0200
fix numbered list in INSTALL_LINUX.md
also fix blank lines, codeblocks and admonition
commit 2c6a6a567f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 03:51:03 2022 +0200
upgrade INSTALL_MAC.md:
- use annotations and content-tabs
yes, this looks ugly in repo afterwards, but plz also look at mkdocs:
https://mauwii.github.io/stable-diffusion/installation/INSTALL_MAC/
commit 8f6c544480
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 01:43:11 2022 +0200
comment out PR part in mkdocs-flow.yml
commit b52c14a67f
Merge: 97ebe58
a1b0b91
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 01:17:28 2022 +0200
Merge branch 'mkdocs-fixes' of github.com:mauwii/stable-diffusion into mkdocs-fixes
commit a1b0b91bb3
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:59:44 2022 +0200
fix conda env in codeblock
commit 5f9f9a266e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:43:46 2022 +0200
fix 4gotten title in TEXTUAL_INVERSION
commit 8f025b034e
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:41:52 2022 +0200
quote repo_url and repo_name
otherwise the version/stars/forks did not appear
commit 3a52b7deb3
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:39:54 2022 +0200
fix TEXTUAL_INVERSION headline to fit the others
commit 389b21f966
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:35:48 2022 +0200
fix SAMPLER_CONVERGENCE and add emoji
commit f26fc79a18
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:32:04 2022 +0200
fix INSTALL_DOCKER.md:
- fix title (Docker instead of "Before you begin")
- add headline with Emoji
- fix headlines to render toc correct
commit cbc3520489
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:24:58 2022 +0200
add headline with emoji to INSTALL_MAC.md
commit 25f0614d66
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:21:01 2022 +0200
add log emoji to docs/CHANGELOG.md
commit 42005688fa
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:20:47 2022 +0200
use better fitting Icon for new Name
commit 0c65bad7f5
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:09:07 2022 +0200
add Headline with Emoji to WEB and POSTPROCESS
commit 1c1cf2692e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:56:16 2022 +0200
update index.md:
- remove unused template reference
- make headline rendered bold and underlined, add (kind of) subtitle
- update discord badge and link
- update Quick links to look like in GH-Readme
- also remove self reference to docs
- add screenshot as in GH-Readme
- add note pointing to issues tab
- update path in command line to reflect new Repo Name
commit 0e29b0737e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:23:10 2022 +0200
chng site_name to `Stable Diffusion Toolkit Docs`
commit ad8a60d992
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:00:02 2022 +0200
fix repo_url in mkdocs.yml
commit 234569d6b6
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:54:39 2022 +0200
fix link to upscaling in WEB.md and TOC
- TOC fixed by adding `#` to every headline after `## Parting remarks`
- add missing blank lines
commit 97c84ad824
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:25:32 2022 +0200
fix broken links in docs/CHANGELOG.md
commit bce62b3a32
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:15:37 2022 +0200
add title to CHANGELOG.md to render TOC wo. `**`
alternatively remove `**` around headline
commit 97ebe58b5b
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:59:44 2022 +0200
fix conda env in codeblock
commit 87ac217e43
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:43:46 2022 +0200
fix 4gotten title in TEXTUAL_INVERSION
commit 91439e8a52
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:41:52 2022 +0200
quote repo_url and repo_name
otherwise the version/stars/forks did not appear
commit 8a632a9e8f
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:39:54 2022 +0200
fix TEXTUAL_INVERSION headline to fit the others
commit 7c8ffe2feb
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:35:48 2022 +0200
fix SAMPLER_CONVERGENCE and add emoji
commit e2e86d2d11
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:32:04 2022 +0200
fix INSTALL_DOCKER.md:
- fix title (Docker instead of "Before you begin")
- add headline with Emoji
- fix headlines to render toc correct
commit 8b54c083fe
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:24:58 2022 +0200
add headline with emoji to INSTALL_MAC.md
commit 8d8a032434
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:21:01 2022 +0200
add log emoji to docs/CHANGELOG.md
commit 76519f6fa4
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:20:47 2022 +0200
use better fitting Icon for new Name
commit aff0725533
Author: mauwii <Mauwii@outlook.de>
Date: Tue Oct 11 00:09:07 2022 +0200
add Headline with Emoji to WEB and POSTPROCESS
commit 0f7898cbdd
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:56:16 2022 +0200
update index.md:
- remove unused template reference
- make headline rendered bold and underlined, add (kind of) subtitle
- update discord badge and link
- update Quick links to look like in GH-Readme
- also remove self reference to docs
- add screenshot as in GH-Readme
- add note pointing to issues tab
- update path in command line to reflect new Repo Name
commit f4c04eadf8
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:23:10 2022 +0200
chng site_name to `Stable Diffusion Toolkit Docs`
commit 6e624827c0
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 23:00:02 2022 +0200
fix repo_url in mkdocs.yml
commit 158848dd7e
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:54:39 2022 +0200
fix link to upscaling in WEB.md and TOC
- TOC fixed by adding `#` to every headline after `## Parting remarks`
- add missing blank lines
commit 533736e135
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:29:46 2022 +0200
fix link to truncation_comparison.jpg in OTHER.md
commit dd335142df
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:25:32 2022 +0200
fix broken links in docs/CHANGELOG.md
commit 374dd54f30
Author: mauwii <Mauwii@outlook.de>
Date: Mon Oct 10 22:15:37 2022 +0200
add title to CHANGELOG.md to render TOC wo. `**`
alternatively remove `**` around headline
2022-10-11 08:36:00 -04:00
Lincoln Stein
e0e69ad279
Fix broken path in CodeFormer instructions
...
Closes #1023
2022-10-10 18:07:20 -04:00
Lincoln Stein
e3e8024e15
Update OTHER.md
...
Fix up reference to perlin demo image.
2022-10-10 18:04:14 -04:00
Lincoln Stein
c4cf888532
Update IMG2IMG.md
...
Fix merge messages inadvertently left in file.
2022-10-10 17:56:28 -04:00
Lincoln Stein
67ddba9cff
add discussion of samplers to VARIATIONS.md doc
2022-10-10 14:15:08 -04:00
Lincoln Stein
3449c05bf4
fix embedded images
2022-10-10 11:23:43 -04:00
Lincoln Stein
b30ae57731
update web gui walkthrough
2022-10-10 09:35:40 -04:00
Lincoln Stein
e301cd3321
Update OUTPAINTING.md
...
fix typo
2022-10-10 09:13:35 -04:00
Marco Labarile
acdd5b3922
Fix markdown typo in WEB.md
2022-10-10 09:09:04 -04:00
Lincoln Stein
8faa06fb15
Merge branch 'main' into development
...
- this syncs documentation and code
2022-10-09 14:47:27 -04:00
Lincoln Stein
ce8c238ac4
final tweak to embedded screenshots in WEB.md
2022-10-09 11:45:16 -04:00
Lincoln Stein
f6c37e46e1
make initial screenshot even larger
2022-10-09 11:43:42 -04:00
Lincoln Stein
2d69efccef
fixup image sizes in WEB.md
2022-10-09 11:42:59 -04:00
Lincoln Stein
f9d2aafaeb
fix image links in documentation
2022-10-09 11:42:03 -04:00
Lincoln Stein
5a22a83f4c
add missing doc files
2022-10-09 11:38:39 -04:00
Marco Labarile
0b8cdb6964
Fix markdown typo in WEB.md
2022-10-09 08:57:14 -04:00
Lincoln Stein
4c2db171ca
Update INPAINTING.md
...
Changed Gimp instructions to indicate that partial transparency is better than full transparency.
2022-10-09 08:45:33 -04:00
Lincoln Stein
98fe044dee
rebrand CLI from "dream" to "invoke"
...
- rename dream.py to invoke.py
- create a compatibility script named dream.py that execs() invoke.py
- redo documentation
- change help message in args
- this does **not** rename the libraries, which are still ldm.dream.util, etc
2022-10-08 09:32:06 -04:00
ArDiouscuros
dfd5899611
Merge branch 'development' into Improved-fetch-and-option-to-replay-commands-from-file
2022-10-08 13:26:22 +02:00
plucked
c6611b2ad6
doc: described how filename format works
2022-10-07 10:21:16 +00:00
Kent Keirsey
4f247a3672
Web Docs Update
2022-10-07 13:41:27 +13:00
Lincoln Stein
194b875cf3
Update IMG2IMG.md
...
Added information on the small initial image size bug.
2022-10-05 15:55:38 -04:00
Lincoln Stein
b2cd98259d
rename img files with colons
2022-10-05 12:56:57 -04:00
Damian at mba
3feda31d82
Improve IMG2IMG docs with deeper explanation of what is happening under the hood
2022-10-05 10:21:40 -04:00
Damian at mba
0f55d89e20
Improve IMG2IMG docs with deeper explanation of what is happening under the hood
2022-10-05 10:21:03 -04:00
Lincoln Stein
c4b4a0e56e
Update PROMPTS.md
...
fix broken img tags
2022-10-05 10:10:17 -04:00
Lincoln Stein
95c7742c9c
change "prompt weighting" to "prompt blending"; Issue #931
2022-10-05 10:08:56 -04:00
Lincoln Stein
d16f0c8a8f
add enhancements to CLI command-line completion and history
...
- Added support for pyreadline3 so that Window users can benefit.
- Added the !search command to search the history for a matching string:
~~~
!search puppies
[20] puppies at the food bowl -Ak_lms
[54] house overrun by hungry puppies -C20 -s100
~~~
- Added the !clear command to clear the in-memory and on-disk
command history.
2022-10-04 22:53:07 -04:00
Lincoln Stein
4c482fe24a
refactor how postprocessors work
...
- similar call structures for outpainting, outcropping and face restoration modules
- added documentation for outcropping
- post-processing steps now leave a provenance chain (of sorts) in the sd-metadata field:
~~~
scripts/sd-metadata.py outputs/img-samples/curly.942491079.upscale.png
outputs/img-samples/curly.942491079.upscale.png:
{
"model": "stable diffusion",
"model_id": "stable-diffusion-1.4",
"model_hash": "fe4efff1e174c627256e44ec2991ba279b3816e364b49f9be2abc0b3ff3f8556",
"app_id": "lstein/stable-diffusion",
"app_version": "v1.15",
"image": {
"height": 512,
"width": 512,
"steps": 50,
"cfg_scale": 7.5,
"seed": 942491079,
"prompt": [
{
"prompt": "pretty curly-haired redhead woman",
"weight": 1.0
}
],
"postprocessing": [
{
"tool": "outcrop",
"dream_command": "!fix \"test-pictures/curly.png\" -s 50 -S 942491079 -W 512 -H 512 -C 7.5 -A k_lms -c top 64 right 64"
},
{
"tool": "gfpgan",
"dream_command": "!fix \"outputs/img-samples/curly.942491079.outcrop-02.png\" -s 50 -S 942491079 -W 512 -H 512 -C 7.5 -A k_lms -G 0.8"
},
{
"tool": "upscale",
"dream_command": "!fix \"outputs/img-samples/curly.942491079.gfpgan.png\" -s 50 -S 942491079 -W 512 -H 512 -C 7.5 -A k_lms -U 4.0 0.75"
}
],
"sampler": "k_lms",
"variations": [],
"type": "txt2img"
}
}
~~~
2022-10-04 22:37:25 -04:00
Peter Baylies
f041510659
Merge branch 'development' into development
2022-10-03 23:53:19 -04:00
Rainer Bernhardt
40828df663
missing flag in wget download example
...
The documentation shows a wget command to download the gfpgan files and was missing the `-P` flag
2022-10-03 19:54:44 -04:00
ArDiouscuros
935a9d3c75
Update !fetch command, add documentation and autocomplete list
...
-- !fetch takes second optional argument name of the file to save commands to
2022-10-03 10:38:22 +02:00
Peter Baylies
e246e7c8b9
Merge branch 'development' into development
2022-10-01 19:26:46 -04:00
Lincoln Stein
fe28c5fbdc
add documentation
2022-10-01 15:21:57 -04:00
Peter Baylies
6b838c6105
Merge branch 'development' into development
2022-09-28 19:21:05 -04:00
Lincoln Stein
779422d01b
Merge branch 'development' into patch-2
2022-09-28 18:00:37 -04:00
Lincoln Stein
b947290801
Merge branch 'development' into development
2022-09-28 17:35:30 -04:00
Chris Hayes
f8bd1e9d78
Update UPSCALE.md code block markdown
...
Remove leading ">" to allow users to copy-paste the CLI command without issue.
2022-09-28 17:09:25 -04:00
Lincoln Stein
743342816b
add documentation and bug fixes
...
- normalized how filenames are written out when postprocessing invoked
- various fixes of bugs encountered during testing
- updated documentation
- updated help text
2022-09-28 14:56:51 -04:00
ArDiouscuros
d641d8ab6d
Update documents, add new options information
2022-09-28 14:54:49 -04:00
bsilvereagle
8a7ca4a766
stable-diffusion -> InvokeAI
2022-09-28 14:54:48 -04:00
Peter Baylies
862a34a211
Merge branch 'development' into development
2022-09-27 14:26:21 -04:00
ArDiouscuros
cad237b4c8
Update documents, add new options information
2022-09-27 03:20:55 -04:00
bsilvereagle
79f23ad031
stable-diffusion -> InvokeAI
2022-09-27 02:51:07 -04:00
Peter Baylies
be99d5a4bd
Merge branch 'development' into development
2022-09-26 09:21:15 -04:00
Lincoln Stein
d16d0d3726
Merge branch 'development' into patch-2
2022-09-25 08:37:54 -04:00
spezialspezial
5e23ec25f9
Update CLI.md
...
guidance scale must be >1.0
2022-09-25 08:29:50 +02:00
Peter Baylies
47408bb568
Merge branch 'development' into development
2022-09-24 22:11:18 -04:00
blessedcoolant
53b4c3cc60
Upgrade GFPGAN to Version 1.4
2022-09-24 05:09:45 -04:00
Peter Baylies
60f0090786
Merge branch 'development' into development
2022-09-21 03:10:49 -04:00
Lincoln Stein
6987c77e2a
Update VARIATIONS.md
...
Remove <figure markdown> tags.
2022-09-21 03:08:40 -04:00
Lincoln Stein
e91aad6527
Update EMBIGGEN.md
...
Added info on !fix
2022-09-21 03:06:58 -04:00
Lincoln Stein
0305c63a07
Update PROMPTS.md
...
Removed <figure markdown> tags which were preventing image display.
2022-09-21 03:02:23 -04:00
Lincoln Stein
fff01f2068
Update INPAINTING.md
...
fixed images which had been obscured by <markdown> tags.
2022-09-21 02:59:52 -04:00
Lincoln Stein
25777cf922
Update OUTPAINTING.md
...
fixed image paths
2022-09-21 02:58:25 -04:00
Lincoln Stein
2e5169c74b
added documentation for outpainting
2022-09-21 02:53:08 -04:00
Lincoln Stein
f408ef2e6c
resolved multiple conflicts between PR #683 and subsequent PRs
2022-09-20 23:41:43 -04:00
Lincoln Stein
f360e85d61
Update UPSCALE.md
2022-09-20 23:38:50 -04:00
blessedcoolant
1b5013ab72
GFPGAN and Real ESRGAN Implementation Refactor
2022-09-20 23:37:19 -04:00
Lincoln Stein
43c9288534
Update UPSCALE.md
2022-09-20 23:01:21 -04:00
Lincoln Stein
fc61ddab3c
Merge branch 'development' into postprocessing-commands
2022-09-20 18:48:42 -04:00
Peter Baylies
d5209965bc
Merge branch 'development' into development
2022-09-20 17:40:21 -04:00
Lincoln Stein
3bc40506fd
Merge branch 'main' of github.com:santisbon/stable-diffusion into santisbon-main
2022-09-20 17:23:06 -04:00
Lincoln Stein
555f21cd25
Merge branch 'development' into mkdocs-updates
2022-09-20 17:11:43 -04:00
Mihail Dumitrescu
d176fb07cd
Replace --full_precision with --precision that works even if not specified
...
Allowed values are 'auto', 'float32', 'autocast', 'float16'. If not specified or 'auto' a working precision is automatically selected based on the torch device.
Context: #526
Deprecated --full_precision / -F
Tested on both cuda and cpu by calling scripts/dream.py without arguments and checked the auto configuration worked. With --precision=auto/float32/autocast/float16 it performs as expected, either working or failing with a reasonable error. Also checked Img2Img.
2022-09-20 17:08:00 -04:00
mauwii
38c9001e8e
remove line-breaks from tables in CLI
...
instead I use empty img-tags with defined width in the table headers
2022-09-20 10:11:34 +02:00
mauwii
7335f908af
center pictures in prompt.md
2022-09-20 06:53:04 +02:00
mauwii
96b90be5c3
make pictures in variations appear centered
...
also added captions to most of them
2022-09-20 06:46:51 +02:00
mauwii
06ad4387a2
update Recipe for Photoshop
...
this way the view doesn't break that fast
2022-09-20 06:29:02 +02:00
JamDon2
c6e4352c3f
Add missing option to wget command
2022-09-19 16:28:11 -04:00
Lincoln Stein
23af057e5c
tweaks to make postprocess fixing work better
...
- modify strength of embiggen to reduce tiling ghosts
- normalize naming of postprocessed files (could improve more to avoid
name collisions)
- move restoration modules under ldm.dream
2022-09-19 14:54:52 -04:00
blessedcoolant
7b0cbb34d6
GFPGAN and Real ESRGAN Implementation Refactor
2022-09-19 23:38:56 +12:00
mauwii
e59307d284
fixed incompatible syntax of inpainting PS section
...
this was the best looking result I could come up with.
2022-09-19 12:34:34 +02:00
mauwii
5ab7c68cc7
Merge remote-tracking branch 'upstream/development' into mkdocs-updates
2022-09-19 08:55:13 +02:00
mauwii
ead0e92bac
remove feature list from index.md since in menu
...
fix double bs python path in cli.md and fix tables again
add more keys in cli.md
fix annotations in install_mac.md
remove torchaudio from pythorch-nightly installation
fix self reference
2022-09-19 08:36:42 +02:00
Peter Baylies
dc024845cf
Merge branch 'development' into development
2022-09-18 22:34:00 -04:00
Kent Keirsey
6bf19cd897
Updating with evergreen Discord invite ( #635 )
...
* Update to add Adobe Photoshop Guide for inpainting (#617 )
* updating with Adobe instructions & assets
* Assets for Adobe guide
* correcting paths
* update Readme with evergreen discord invite link
* discord image asset uploaded
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-18 21:30:21 -04:00
Peter Baylies
3692f223e1
Merge branch 'development' into development
2022-09-18 18:58:04 -04:00
mauwii
23e62efdc5
Merge remote-tracking branch 'upstream/development' into mkdocs-updates
2022-09-18 21:41:14 +02:00
mauwii
6ea0a7699e
add Icons to Titles and in index.md
2022-09-18 21:30:18 +02:00
blessedcoolant
f3292a6953
Implement CodeFormer Face Restoration ( #669 )
...
* Implement CodeFormer Face Restoration
* fix codeformer model destination path
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-18 15:01:05 -04:00
mauwii
cdc78cc6a1
use inline codeblocks for those very long prompts
...
this way they linebreak which helps a lot in this case
also removed odd whitespaces
2022-09-18 18:46:03 +02:00
Peter Baylies
c98ade9b25
Merge branch 'development' into development
2022-09-18 12:35:28 -04:00
mauwii
fe0f5bcc11
readd missed backticks and add tabkey
2022-09-18 16:43:04 +02:00
mauwii
df98178018
fix paths in PROMPTS.md
2022-09-18 16:39:18 +02:00
mauwii
0b0cde2351
Merge remote-tracking branch 'upstream/development' into mkdocs-updates
2022-09-18 16:34:14 +02:00
mauwii
5b4c37e043
fix #643 shortcut for --strength is -f
2022-09-18 16:09:08 +02:00
Brent Ozar
3c4c4d71c9
VARIATIONS.md - fix typo in formatting ( #664 )
...
A beginning line for a code section was left out.
2022-09-18 09:50:54 -04:00
Brent Ozar
ea2b0828d8
Documentation for negative prompts ( #668 )
...
Documentation for pull lstein#661, and splits prompt docs into a separate file.
2022-09-18 09:50:19 -04:00
Danny Beer
045aa7a9a3
Support color correction for img2img and inpainting ( #613 )
...
* Support color correction for img2img and inpainting, avoiding the shift to magenta seen when running images through img2img repeatedly.
* Fix docs for color correction
* add --init_color to prompt reconstruction
* For best results, the --init_color option should point to the *very first* image used in the sequence of img2img operations. Otherwise color correction will skew towards cyan.
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-18 09:47:57 -04:00
mauwii
016fd65f6a
use more admonitions and introduce keys
2022-09-18 11:09:27 +02:00
mauwii
0071f43b2c
use Admonitions for notes, warnings, ...
2022-09-18 04:54:20 +02:00
mauwii
66e9fd4771
fix CLI.md
...
disabled toc in order to view those large tables
added linebreaks in long cells to stop multiline arguments/shortcut
added backticks arround arguments to stop interpreting `<...>` as html
added missing identifiers to codeblocks
changed html tags to markdown to insert the png
2022-09-18 03:00:07 +02:00
mauwii
7b28b5c9a1
update format in EMBIGGEN.md to make use of mkdocs
2022-09-17 05:17:21 +02:00
Kent Keirsey
2b9f8e7218
Update to add Adobe Photoshop Guide for inpainting ( #617 )
...
* updating with Adobe instructions & assets
* Assets for Adobe guide
* correcting paths
2022-09-16 17:31:26 -04:00
Peter Baylies
10f4c0c6b3
Merge branch 'development' into development
2022-09-15 20:25:34 -04:00
Matthias Wild
e6011631a1
Mkdocs material ( #593 )
...
* Squashed commit of the following:
commit 82d9c25d9a
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:29:11 2022 +0200
fix branch name in mkdocs-flow
commit 2e276cecc1
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:28:35 2022 +0200
fix theme name
commit 2eb77c1173
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:14:42 2022 +0200
fixed some links and formating in main README
commit 66a7152e48
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 08:58:58 2022 +0200
trigger mkdocs deployment on main
commit 897cc373ce
Merge: 89da371
3b5a830
Author: Matthias Wild <40327258+mauwii@users.noreply.github.com>
Date: Wed Sep 14 07:51:23 2022 +0200
Merge pull request #1 from mauwii/mkdocs
Mkdocs
commit 3b5a8308eb
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:42:56 2022 +0200
huge update
I was pretty busy trying to make the Readmes / docs look good in MkDocs
commit 0b4f5a926f
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:41:45 2022 +0200
update mkdocs config
commit 872172ea70
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:33:49 2022 +0200
added the mkdocs-git-revision-date-plugin
commit eac81bf875
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 06:46:43 2022 +0200
add prettier config
remove markdownlint
move and rename requirements-mkdocs.txt
commit b36d4cc088
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 02:06:39 2022 +0200
add dark theme
commit a14f18fede
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 01:38:02 2022 +0200
update mkdocs flow and config
commit 2764b48693
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 01:15:33 2022 +0200
add mkdocs workflow
commit 1bd22523b1
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 00:57:37 2022 +0200
I already begun with formating / revising the sites
* change repository in mkdocs config to lstein
* adapt changes from repos main README.md
* add PR to mkdocs-flow
* update docs/index.md
- removed unecessary headlines
- added instructions how to host the docs locally
- removed TOC since it is already available via MkDocs
- update appearance of the latest changes
* Update appearance of docs/featuers/changelog
* add me to the contributors
and a small cosmetical change to docs/other/CLI.md
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-15 14:35:22 -04:00
Peter Baylies
54b9cb49c1
Merge branch 'development' into development
2022-09-15 11:09:27 -04:00
Matthias Wild
ec2dc24ad7
Mkdocs-material ( #575 )
...
* Squashed commit of the following:
commit 82d9c25d9a
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:29:11 2022 +0200
fix branch name in mkdocs-flow
commit 2e276cecc1
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:28:35 2022 +0200
fix theme name
commit 2eb77c1173
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 19:14:42 2022 +0200
fixed some links and formating in main README
commit 66a7152e48
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 08:58:58 2022 +0200
trigger mkdocs deployment on main
commit 897cc373ce
Merge: 89da371
3b5a830
Author: Matthias Wild <40327258+mauwii@users.noreply.github.com>
Date: Wed Sep 14 07:51:23 2022 +0200
Merge pull request #1 from mauwii/mkdocs
Mkdocs
commit 3b5a8308eb
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:42:56 2022 +0200
huge update
I was pretty busy trying to make the Readmes / docs look good in MkDocs
commit 0b4f5a926f
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:41:45 2022 +0200
update mkdocs config
commit 872172ea70
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 07:33:49 2022 +0200
added the mkdocs-git-revision-date-plugin
commit eac81bf875
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 06:46:43 2022 +0200
add prettier config
remove markdownlint
move and rename requirements-mkdocs.txt
commit b36d4cc088
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 02:06:39 2022 +0200
add dark theme
commit a14f18fede
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 01:38:02 2022 +0200
update mkdocs flow and config
commit 2764b48693
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 01:15:33 2022 +0200
add mkdocs workflow
commit 1bd22523b1
Author: mauwii <Mauwii@outlook.de>
Date: Wed Sep 14 00:57:37 2022 +0200
I already begun with formating / revising the sites
* change repository in mkdocs config to lstein
* adapt changes from repos main README.md
Co-authored-by: Lincoln Stein <lincoln.stein@gmail.com>
2022-09-15 10:53:41 -04:00
Peter Baylies
357e1ad35f
Merge branch 'development' into development
2022-09-15 09:59:11 -04:00
Claus F. Strasburger
df4d1162b5
docs: VARIATIONS.md used wrong syntax in examples ( #589 )
2022-09-15 07:21:17 -04:00
Peter Baylies
d8d2043467
Merge branch 'development' into development
2022-09-14 12:54:04 -04:00
Robert Bolender
b02ea331df
Clarify behavior of -v and -n parameters ( #551 )
...
Fixes https://github.com/lstein/stable-diffusion/issues/544
2022-09-14 09:47:17 -04:00
Peter Baylies
80579a30e5
Merge branch 'development' into development
2022-09-14 07:10:39 -04:00
Lincoln Stein
5818528aa6
fix web server handling of rel and abs outdir paths ( #550 )
...
* fix web server handling of rel and abs outdir paths
* Can now specify either a relative or absolute path for outdir
* Outdir path does not need to be inside the stable-diffusion directory
* Closes security hole that allowed user to read any file within
stable-diffusion (eek!)
* Closes #536
2022-09-14 07:09:01 -04:00
Peter Baylies
2e438542e9
* Fixes and updates for PR.
2022-09-13 21:56:17 -04:00