Commit Graph

364 Commits

Author SHA1 Message Date
Bryce
e53459a50a build: check for torch version at runtime (fixes #329) 2023-05-20 17:29:06 -07:00
Bryce
758d574f8c build: specify proper Pillow minimum version (fixes #325) 2023-05-20 17:29:06 -07:00
Bryce
2a26495653 fix: package will not try to install xformers on aarch64 machines.
While this will allow the dockerfile to build on MacOS M1, [torch will not be able to use the M1 when generating images.](https://github.com/pytorch/pytorch/issues/81224#issuecomment-1499741152)
2023-05-20 17:29:06 -07:00
Bryce
14739bc90b feature: api server (alpha)
`aimg run-api-server`

Proof of concept for now
2023-05-20 17:29:06 -07:00
Bryce
38ac0b7f54 tests: fix tests 2023-05-20 13:09:00 -07:00
Bryce
39dffa9166 style: lintfix 2023-05-20 13:09:00 -07:00
Bryce
dc8f8d5a3d feature: add colorization controlnet. improve aimg colorize command 2023-05-20 13:09:00 -07:00
Bryce
7e62297f73 feature: add simple script to print structure of weight files
useful for debugging
2023-05-20 13:09:00 -07:00
Bryce
df25936d6f feature: automatic use of inpainting
feature disabled since controlnet inpainting doesn't work great. Was disabled by setting `inpaint_method="finetune",`
2023-05-20 13:09:00 -07:00
Bryce
d32e1060cd feature: multi-controlnet support at the command line
add controlnet option for edit demo
2023-05-20 13:09:00 -07:00
Bryce
bcaa000d35 fix: model logging 2023-05-20 13:09:00 -07:00
Bryce
926692ad03 tests: "prime" the controlnets
Trying to get things working on m1. doesn't fix everything
2023-05-20 13:09:00 -07:00
Bryce
fb19e34acc fix: allow use of upscaler on mps device 2023-05-20 13:09:00 -07:00
Bryce
3b066f8e29 fix: don't hide error messages during upscale 2023-05-20 13:09:00 -07:00
Bryce
eca97a25a0 tests: adjust tests to pass 2023-05-20 13:09:00 -07:00
Bryce
4c77fd376b feature: improvements to memory management
not thoroughly tested on low-memory devices
2023-05-20 13:09:00 -07:00
Bryce
6db296aa37 tests: faster tests 2023-05-20 11:35:49 -07:00
Adam Menges
6f9e9f64a9
docs: fix incorrect command in readme (#327) 2023-05-16 20:56:42 -07:00
Bryce
c082ea523f tests: update tests
- controlnet version changes + graphics card change
2023-05-13 23:41:00 -07:00
Bryce
a8aa9f703a build: exclude broken versions of timm as dependencies 2023-05-13 08:22:53 -07:00
Bryce
2a77b9b048 docs: add python prompt expansion example 2023-05-06 14:11:35 -07:00
Bryce
629c1c9ba9 docs: add cache clear instructions 2023-05-06 14:11:35 -07:00
Bryce
bffe1ffde0 docs: add python upscaling example 2023-05-06 14:11:35 -07:00
Bryce
e5d6880bc3 version: 12.0.2 2023-05-06 13:04:57 -07:00
Bryce
d5a276584b fix: move normal map code inline
Fixes conda package. Fixes #317
2023-05-06 13:01:50 -07:00
Bryce Drennan
726ffe48c9
docs: make controlnet sections linkable 2023-05-05 08:56:05 -07:00
Bryce
23d4810670 version: 12.0.1 2023-05-05 08:34:34 -07:00
Bryce
9ccf55e7c7 docs: better "add details" example 2023-05-05 08:29:52 -07:00
Bryce
3258af7e02 fix: use correct device for depth images on mps 2023-05-05 08:29:52 -07:00
Bryce
17f3541d57 version: 12.0.0 2023-05-05 03:03:47 -07:00
Bryce
c9fccc1757 feature: add openjourney-v4 2023-05-05 02:53:43 -07:00
Bryce
db8d3b74ea feature: add "detail" control mode.
Add details to an image. Great for upscaling an image.
2023-05-05 02:53:43 -07:00
Bryce
b5356b143f feature: partial add of inpainting controlnet
todo: figure out how to input "mask" for this mode
2023-05-05 02:53:43 -07:00
Bryce
9526a85a71 feature: add "edit" control mode
Edit images using text instructions with any SD 1.5 based model. Similar to instructPix2Pix.
2023-05-05 02:53:43 -07:00
Bryce
476a81a967 feature: add "shuffle" control mode
Image is generated from elements of control image. similar to style transfer
2023-05-05 02:53:43 -07:00
Bryce
750d4f7ea8 docs: cleanup 2023-05-05 02:53:43 -07:00
Bryce
832adf27bc feature: update controlnets to 1.1
- smaller filesizes for the controlnet weights
- fix: works with other 1.5 based models
- enables more control modes getting added
2023-05-04 19:48:27 -07:00
Bryce
9a82dc5e4c fix: raw control images are now properly loaded. fixes #296 2023-04-28 20:52:32 -07:00
Bryce
765e607c2c fix: file numbers start after latest image, even if some previous images were deleted 2023-04-28 20:52:32 -07:00
Bryce
4cbd278972 version: 11.1.1 2023-04-18 08:11:41 -07:00
Luke Pearson
94728d978e fix: changed sample to True to generate caption using blip model 2023-04-18 08:03:37 -07:00
Bryce
95d3d08d27 fix: better input image path handling
throw exception for non-existent images
2023-04-14 00:22:43 -07:00
Bryce
3012d28357 version: 11.1.0 2023-03-18 13:50:41 -07:00
Bryce
37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
2023-03-18 13:49:11 -07:00
Bryce
eb26d5a7c5 feature: add art-scene, desktop-background, interior-style, painting-style phraselists
fix: file globbing works in the interactive shell
feature: make compilation animations simple slide shows
2023-03-11 15:40:52 -08:00
Bryce
de2a72f718 version: 11.0.0 2023-02-28 23:39:25 -08:00
Bryce
52044c1073 fix: use model appropriate composition size 2023-02-28 23:14:22 -08:00
Bryce
3b777b98d8 fix: improved large images using composition 2023-02-28 21:04:00 -08:00
Bryce
a449fbd5e2 feature: remove tiling message for upscaler 2023-02-28 21:04:00 -08:00
Bryce
40da2b0357 tests: fix tests 2023-02-28 21:04:00 -08:00