Commit Graph

1112 Commits

Author SHA1 Message Date
9f34ddfcea fix crash on len(Nonetype) in k_sampler 2.0.0-rc6 2022-10-07 08:05:13 -04:00
c6a7be63b8 fix crash in generate._transparency_check_and_warning() 2.0.0-rc5 2022-10-06 21:00:27 -04:00
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
d60df54f69 fix k_samplers in img2img - probably correct now 2022-10-06 18:53:54 -04:00
82481a6f9c Merge branch 'release-candidate-2' of github.com:invoke-ai/InvokeAI into release-candidate-2 2022-10-06 13:58:53 -04:00
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
3444c8e6b8 Merge branch 'release-candidate-2' into release-candidate-2 2022-10-06 13:53:27 -04:00
d84321e080 Adds hotkeys to modal 2022-10-06 13:49:09 -04:00
6542556ebd Adds next/prev image buttons/hotkeys 2022-10-06 13:48:59 -04:00
70bbb670ec Add Basic Hotkey Support 2022-10-06 13:27:42 -04:00
5f42d08945 realesrgan inherits precision setting from main program 2022-10-06 12:23:30 -04:00
911c99f125 Fix WebUI CORS Issue 2022-10-06 11:17:48 -04:00
2154dd2349 prevent crashes due to uninitialized free_gpu_mem 2022-10-06 10:54:05 -04:00
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
183b98384f set perlin & threshold to zero on generator initialization 2022-10-06 09:35:04 -04:00
6d475ee290 * Bug fixes for new Threshold and Perlin options 2022-10-06 08:46:27 -04:00
2f29b78a00 enable --hires to use k* samplers 2022-10-05 17:18:32 -04:00
bcb6e2e506 Fix for crashes in txt2img hires fix mode 2022-10-05 17:13:43 -04:00
194b875cf3 Update IMG2IMG.md
Added information on the small initial image size bug.
2022-10-05 15:55:38 -04:00
b2cd98259d rename img files with colons 2.0.0-rc3 2022-10-05 12:56:57 -04:00
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
show 2.0.0-rc2
2022-10-05 12:44:16 -04:00
488890e6bb preload script more robust for downloading gfpgan 2022-10-05 11:29:48 -04:00
3feda31d82 Improve IMG2IMG docs with deeper explanation of what is happening under the hood 2022-10-05 10:21:40 -04:00
c4b4a0e56e Update PROMPTS.md
fix broken img tags
2022-10-05 10:10:17 -04:00
95c7742c9c change "prompt weighting" to "prompt blending"; Issue #931 2022-10-05 10:08:56 -04:00
44e3995425 remove dangling -V from normalized dream command 2022-10-05 00:48:17 -04:00
7e6443c882 release candidate for InvokeAI 2.0 2.0.0-rc1 2022-10-04 23:05:40 -04:00
5dd9e30c2f Merge branch 'development' of github.com:invoke-ai/InvokeAI into development 2022-10-04 22:58:09 -04:00
f368f682e1 remove unecessary import of pyreadline3 2022-10-04 22:53:07 -04:00
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
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
a09c64a1fe merge outcropping and postprocessing fixes 2022-10-04 22:47:21 -04:00
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
609983ffa8 add outcrop postprocessor 2022-10-04 22:37:25 -04:00
0f9bff66bc Merge branch 'development' of github.com:pbaylies/stable-diffusion into pbaylies-development 2022-10-04 22:31:11 -04:00
7f31a79431 Merge branch 'development' into development 2022-10-04 20:58:08 -04:00
c5a0fc8f68 Updates frontend README 2022-10-04 20:55:34 -04:00
87cb35f5da Fixes img2img sampler metadata hardcoded to ddim 2022-10-04 20:55:34 -04:00
5d911b43c0 Merge branch 'development' into development 2022-10-04 18:40:42 -04:00
483097f31c fix off-by-one error 2022-10-05 00:15:47 +02:00
7a3eae4572 revert to original k* noise schedule 2022-10-05 00:15:47 +02:00
db349aa3ce * Fix meshgrid warning for perlin noise. 2022-10-04 16:58:22 -04:00
b5c114c5b7 * Changes for PR 2022-10-04 14:37:32 -04:00
f34279b3e7 add perlin options to formatted dream cmd 2022-10-04 14:32:18 -04:00
815addc452 * Update for another pretty yet not backwards-compatible web rewrite. 2022-10-04 00:28:06 -04:00
d2db92236a * Indent fix 2022-10-04 00:01:13 -04:00
ef20df8933 * Rebuilt frontend, more webui bit-rot. 2022-10-03 23:56:50 -04:00
f041510659 Merge branch 'development' into development 2022-10-03 23:53:19 -04:00
feb405f19a reorder mask creation and scaling to avoid deleting colors under transparency 2022-10-03 23:29:09 -04:00
2c8806341f Fixes error on missing init/mask image 2022-10-03 23:28:53 -04:00