Lincoln Stein
3d7bc074cf
autorotate init images using exif orientation tag
2022-10-07 12:06:50 -04:00
Jakub Kolčář
70bb7f4a61
fixed perlin noise generation for mps (macos) - fix for cpu fallback
2022-10-07 10:36:45 -04:00
Lincoln Stein
9c9cb71544
rebuild frontend package
2022-10-07 10:20:02 -04:00
spezialspezial
a7515624b2
remove duplicated code
2022-10-07 08:12:55 -04:00
Lincoln Stein
9f34ddfcea
fix crash on len(Nonetype) in k_sampler
2022-10-07 08:05:13 -04:00
Lincoln Stein
c6a7be63b8
fix crash in generate._transparency_check_and_warning()
2022-10-06 21:00:27 -04:00
Lincoln Stein
75165957c9
Revert "realesrgan inherits precision setting from main program"
...
This reverts commit 5f42d08945
.
This fix was intended to solve issue #939 , in which ESRGAN generates
dark images when upscaling 4X on certain GTX cards. However, the fix
apparently causes conflicts with some versions of the ESRGAN library,
and this fix will have to wait until after release of 2.0.
2022-10-06 20:52:38 -04:00
Lincoln Stein
d60df54f69
fix k_samplers in img2img - probably correct now
2022-10-06 18:53:54 -04:00
Lincoln Stein
82481a6f9c
Merge branch 'release-candidate-2' of github.com:invoke-ai/InvokeAI into release-candidate-2
2022-10-06 13:58:53 -04:00
Lincoln Stein
90d64388ab
Merge branch 'release-candidate-2' into release-candidate-2
...
- This includes #949 "Bug fixes for new Threshold and Perlin Options"
2022-10-06 13:57:43 -04:00
Lincoln Stein
3444c8e6b8
Merge branch 'release-candidate-2' into release-candidate-2
2022-10-06 13:53:27 -04:00
psychedelicious
d84321e080
Adds hotkeys to modal
2022-10-06 13:49:09 -04:00
psychedelicious
6542556ebd
Adds next/prev image buttons/hotkeys
2022-10-06 13:48:59 -04:00
blessedcoolant
70bbb670ec
Add Basic Hotkey Support
2022-10-06 13:27:42 -04:00
Lincoln Stein
5f42d08945
realesrgan inherits precision setting from main program
2022-10-06 12:23:30 -04:00
blessedcoolant
911c99f125
Fix WebUI CORS Issue
2022-10-06 11:17:48 -04:00
Lincoln Stein
2154dd2349
prevent crashes due to uninitialized free_gpu_mem
2022-10-06 10:54:05 -04:00
Lincoln Stein
f3050fefce
bug and warning message fixes
...
- txt2img2img back to using DDIM as img2img sampler; results produced
by some k* samplers are just not reliable enough for good user
experience
- img2img progress message clarifies why img2img steps taken != steps requested
- warn of potential problems when user tries to run img2img on a small init image
2022-10-06 10:39:08 -04:00
Lincoln Stein
183b98384f
set perlin & threshold to zero on generator initialization
2022-10-06 09:35:04 -04:00
Peter Baylies
6d475ee290
* Bug fixes for new Threshold and Perlin options
2022-10-06 08:46:27 -04:00
Lincoln Stein
2f29b78a00
enable --hires to use k* samplers
2022-10-05 17:18:32 -04:00
ArDiouscuros
bcb6e2e506
Fix for crashes in txt2img hires fix mode
2022-10-05 17:13:43 -04: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
Lincoln Stein
4d5b208601
multiple fixes in response to preflight testing bug reports
...
- updated environment-mac.yml #932
- use the upstream GFPGAN library now that issues with color-changing fixed
and facial recognition improved #905
- preload_models fixed to download additional models needed by gfpgan
2022-10-05 12:44:16 -04:00
Lincoln Stein
488890e6bb
preload script more robust for downloading gfpgan
2022-10-05 11:29:48 -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
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
44e3995425
remove dangling -V from normalized dream command
2022-10-05 00:48:17 -04:00
Lincoln Stein
7e6443c882
release candidate for InvokeAI 2.0
2022-10-04 23:05:40 -04:00
Lincoln Stein
5dd9e30c2f
Merge branch 'development' of github.com:invoke-ai/InvokeAI into development
2022-10-04 22:58:09 -04:00
Lincoln Stein
f368f682e1
remove unecessary import of pyreadline3
2022-10-04 22:53:07 -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
18e667f98e
fix miscellaneous regressions:
...
- embiggen needs to use ddim sampler due to low step count
- --hires_fix option needs to be written to log and command string
- fix call signature of _init_image_mask()
2022-10-04 22:48:19 -04:00
Lincoln Stein
a09c64a1fe
merge outcropping and postprocessing fixes
2022-10-04 22:47:21 -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
Lincoln Stein
609983ffa8
add outcrop postprocessor
2022-10-04 22:37:25 -04:00
Lincoln Stein
0f9bff66bc
Merge branch 'development' of github.com:pbaylies/stable-diffusion into pbaylies-development
2022-10-04 22:31:11 -04:00
Lincoln Stein
7f31a79431
Merge branch 'development' into development
2022-10-04 20:58:08 -04:00
psychedelicious
c5a0fc8f68
Updates frontend README
2022-10-04 20:55:34 -04:00
psychedelicious
87cb35f5da
Fixes img2img sampler metadata hardcoded to ddim
2022-10-04 20:55:34 -04:00
Peter Baylies
5d911b43c0
Merge branch 'development' into development
2022-10-04 18:40:42 -04:00
Lincoln Stein
483097f31c
fix off-by-one error
2022-10-05 00:15:47 +02:00
Lincoln Stein
7a3eae4572
revert to original k* noise schedule
2022-10-05 00:15:47 +02:00
Peter Baylies
db349aa3ce
* Fix meshgrid warning for perlin noise.
2022-10-04 16:58:22 -04:00
Peter Baylies
b5c114c5b7
* Changes for PR
2022-10-04 14:37:32 -04:00
Lincoln Stein
f34279b3e7
add perlin options to formatted dream cmd
2022-10-04 14:32:18 -04:00
Peter Baylies
815addc452
* Update for another pretty yet not backwards-compatible web rewrite.
2022-10-04 00:28:06 -04:00
Peter Baylies
d2db92236a
* Indent fix
2022-10-04 00:01:13 -04:00