InvokeAI/ldm
Lincoln Stein 9141132a5c enhance outcropping with ability to direct contents of new regions
This commit does several things that improve the customizability of the CLI `outcrop` command:

1. When outcropping an image you can now add a `--new_prompt` option, to specify a new prompt to be applied to the outpainted region instead of the prompt used to generate the image.
2. Similarly you can provide a new seed using `--seed` (or `-S`). A seed less than zero will pick one randomly.
3. The metadata written into the outcropped file is now more informative about what was previously stored.
4. This PR also fixes the crash that happened when trying to outcrop an image  that does not contain InvokeAI metadata.

Other changes:

- add error checking suggested by @Kyle0654
- add special case in invoke.py to allow -1 to be passed as seed.
  This now only occurs for postprocessing commands. Previously, -1
  caused previous seed to be used, and this still applies to generate
  operations.
2022-11-11 20:34:21 +00:00
..
data Textual Inversion for M1 2022-09-27 01:39:17 +02:00
invoke enhance outcropping with ability to direct contents of new regions 2022-11-11 20:34:21 +00:00
models save VRAM by not recombining tensors that have been sliced to save VRAM 2022-11-01 22:39:48 -04:00
modules Revert "Use array slicing to calc ddim timesteps" 2022-11-07 15:37:53 -05:00
generate.py enhance outcropping with ability to direct contents of new regions 2022-11-11 20:34:21 +00:00
lr_scheduler.py prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
simplet2i.py Squashed commit of the following: 2022-09-12 14:31:48 -04:00
util.py add ability to import and edit alternative models online 2022-10-13 23:48:07 -04:00