Commit Graph

89 Commits (a449fbd5e23f7e98c897357a9ec0894cc532f3b8)

Author SHA1 Message Date
Bryce 70c58467c0 fix: img2img was broken for all samplers except ddim,plms
img2img was broken for all samplers except plms and ddim when init image strength was >~0.25.  Been this way for a while. whoops
2 years ago
Bryce d5cff45bff feature: allow input of raw control images 2 years ago
Bryce d7e494241c fix: composition images were too blurry 2 years ago
Bryce b261c62d4e docs: update docs 2 years ago
Bryce 54c3ad51d6 feature: controlnet 2 years ago
Bryce 929eff353e fix: edit was broken by recent changes 2 years ago
Bryce 882cc7e0f1 feature: generate large images with coherent composition 2 years ago
Bryce 2aef6089e0 feature: generate large images
Added a composition stage so large images are more coherent
2 years ago
Bryce 1c8893cecc fix: fix image gen retry 2 years ago
Bryce ea1d4baafe refactor: cleanup image generation code 2 years ago
Bryce 6c1e3b2ae7 feature: allow specifying output format
closes #228
2 years ago
Bryce Drennan 9eacf5e7ed
perf: improve startup time by doing some imports lazily (#233)
just running `aimg --help` or `aimg --version` was very slow due to all the imports being brought in eagerly

Before changes `aimg --help`
`2.24s user 4.05s system 184% cpu 3.416 total`

After changes:
`0.04s user 0.02s system 8% cpu 0.625 total`

Used `PYTHONPROFILEIMPORTTIME=1 aimg --help` to find time consuming imports.

Also switched to using `scripts` instead of `entrypoints` since the scripts are much faster.

Made duplicate SAMPLER_TYPE_OPTIONS that can be loaded without loading all the samplers themselves.

Likely a breaking change - not sure.
2 years ago
Bryce 19444d8e22 fix: first frame should be the interesting one 2 years ago
Bryce Drennan 9ee09ac842
feature: add compilation animations (#224)
- add generation/compare gifs
2 years ago
Bryce Drennan 9e06013ade
feature: save gifs that show image generation process (#218) 2 years ago
Bryce Drennan 7bdde559cc
performance: memory management improvements (#210)
- tile mode made more efficient. especially when not being used
- add script to iteratively make bigger images
2 years ago
Bryce c7ed86a36f feature: auto-retry generation unsafe image is created 2 years ago
Bryce 16cef16c3e feature: facilitate references to previous image generation 2 years ago
Bryce 7c05c3aae2 feature: image edit gifs and demo-reels 2 years ago
Bryce 2a3e19f5a1 feature: 🎉 Edit Images with Instructions alone! 2 years ago
Bryce 81f294216b feature: 🎉 outpainting 2 years ago
Bryce fad7f17790 feature: run face enhancement on the GPU
Should run 10x faster
2 years ago
Bryce 5cc73f6087 feature: finetuning
- feature: finetuning your own image models
- feature: image prep command. crops to face or other interesting parts of photo
- fix: back-compat for hf_hub_download
- feature: add prune-ckpt command
- feature: allow specification of model config file
2 years ago
Bryce 239b235140 feature: depth-based image-to-image generations (and inpainting) 2 years ago
Bryce ad0b9e8ab8 feature: tile in a single dimension ("x" or "y") 2 years ago
Bryce 2f8edc1530 feature: negative prompting
- feature: negative prompting.  `--negative-prompt` or `ImaginePrompt(..., negative_prompt="ugly, deformed, extra arms, etc")`
- feature: a default negative prompt is added to all generations. Images in SD-2.0 don't look bad anymore. Images in 1.5 look improved as well.
2 years ago
Bryce 015088507f feature/refactor/fix: better defaults. correct version in metadata
- feature: use different default steps and image sizes depending on sampler and model selceted
- fix: #110 use proper version in image metadata
- refactor: samplers all have their own class that inherits from ImageSampler
2 years ago
Bryce 893b041a8f feature: progress image callback 2 years ago
Bryce 7af1ab66ca fix: add workaround for bug in k_diffusion on mps
As documented here: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4558#issuecomment-1310387114

- make image logs more consistent
- note which step the progress images belong to in the filename
2 years ago
Bryce 7fba2972e8 feature: added `DPM++ 2S a` and `DPM++ 2M` samplers
-fix: fix bug with `--show-work`
2 years ago
Bryce 021a0c540d feature: inpainting model support; improved model manager 2 years ago
Bryce 94c0aeab12 feature: switch between models without restarting python instance 2 years ago
Bryce 4d802a043e feature: stable diffusion 1.5 2 years ago
Bryce dcf953383e tests: support distributed test runs
- switch to expected images instead of hashes. allow fuzzy matches
feature: more consistent seeds
2 years ago
Bryce 4ba1965db8 feature: k-diff sampler img2img and masking 2 years ago
Bryce 281d23adf2 refactor: prep for supporting img2img in k-samplers 2 years ago
Bryce 72026c8c90 refactor: merge img2img and txt2img pipelines 2 years ago
Bryce a105dadbc4 refactor: combine identical schedules 2 years ago
Bryce 8d4b5cb9e1 refactor: standardize samplers more 2 years ago
Bryce 299687645b refactor: remove unused parameter 2 years ago
Bryce b0123a8f43 refactor: remove unused parameters 2 years ago
Bryce 7ae77faf07 refactor: log indentation via formatter
Replace manual indentation with a context-aware logging formatter.
2 years ago
Bryce df3c752eb8 refactor: consolidate logging utils 2 years ago
Bryce 6a80759016 feature: improved safety filter
- provides more informative logs
- provides a detailed safety score object
- adds non-bypassable filter for extreme content
2 years ago
Bryce 9ba302a5f4 refactor: begin to standardize samplers 2 years ago
Bryce 340a90bacd feature: allow loading custom model weights at command line
Addresses #40
2 years ago
Bryce d689b06256 fix: ensure init-image-strength 0 is respected
addresses https://github.com/brycedrennan/imaginAIry/issues/38
2 years ago
Bryce 48117bbcb1 feature: face-fidelity is now configurable
remove face-fixing from upscaled version
2 years ago
Bryce 95a8fa31a9 fix: inpainting producing blurry images
while the previous version did produce much better blending it also makes images that lack detail for some reason.

tests: Added more tests to help catch this sort of thing earlies

fix: found that median blur is really slow, so I made sure we only do it on downsampled masks.  Was taking like 3 minutes to run on the large pearl girl picture on M1

- docs: update examples
2 years ago
Bryce 6cae290038 fix: inpainting now matches photo at high generation strength
- 🎉 fix: inpainted areas correlate with surrounding image, even at 100% generation strength.  Previously if the generation strength was high enough the generated image
would be uncorrelated to the rest of the surrounding image.  It created terrible looking images.
 - fix: mask boundaries are more accurate
2 years ago