Commit Graph

169 Commits (master)

Author SHA1 Message Date
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)
1 year ago
Bryce 14739bc90b feature: api server (alpha)
`aimg run-api-server`

Proof of concept for now
1 year ago
Bryce a8aa9f703a build: exclude broken versions of timm as dependencies 1 year ago
Bryce e5d6880bc3 version: 12.0.2 1 year ago
Bryce d5a276584b fix: move normal map code inline
Fixes conda package. Fixes #317
1 year ago
Bryce 23d4810670 version: 12.0.1 1 year ago
Bryce 17f3541d57 version: 12.0.0 1 year ago
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
1 year ago
Bryce 4cbd278972 version: 11.1.1 1 year ago
Bryce 3012d28357 version: 11.1.0 1 year ago
Bryce 37d6642c83 fix: fix model downloads that were broken
by [library change in transformers 4.27.0](8f3b4a1d5b)
1 year ago
Bryce de2a72f718 version: 11.0.0 1 year ago
Bryce 7b79444c4c version: 10.2.0 1 year ago
Bryce e3b23584ed refactor: split up command line tool 1 year ago
Bryce 81b4a0687b version: 10.1.1 - doc fix 1 year ago
Bryce 185fe523fd version: 10.1.0 1 year ago
Bryce c0c8e081b8 docs: fix links for package publishing 1 year ago
Bryce 54c3ad51d6 feature: controlnet 1 year ago
Bryce 1ceb17c083 fix: edit was broken by recent changes 1 year ago
Bryce 08f6014941 version: 10.0.0 1 year ago
Bryce 68e7fd73c5 perf: add xformers dependency 1 year ago
Bryce ad62496557 version: 9.0.2 1 year ago
Bryce 75e3c32d54 version: 9.0.1 1 year ago
Bryce d1dbd500eb fix: use entry_points for windows
python converts entry_points to exe files so they run on windows.  The scripts that work on linux/macos don't work on windows.
1 year ago
Bryce 5bedaebe45 version: 9.0.0 1 year ago
Bryce d9a70a55c6 feature/docs: cleanup cli
- add colors to help text
- add suggestion to use `aimg` shell
- lazy imports for faster response time
1 year 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.
1 year ago
Bryce b611a92b49 version: 8.3.1 1 year ago
Bryce d7eaac2c5e version: 8.3.0 1 year ago
Bryce 8791e15bec version: 8.2.0 1 year ago
Bryce 72517f28c6 version: 8.1.0 1 year ago
Bryce 9bef5a151a version: 8.0.5 1 year ago
Bryce 3a7c861f0a version: 8.0.4 1 year ago
Bryce bbe3f8473f version: 8.0.3 1 year ago
Bryce fce9fe9225 version: 8.0.2 1 year ago
Bryce 319b601449 version: 8.0.1 1 year ago
Bryce 5db67f9a0d version: 8.0.0 1 year ago
Bryce 7c05c3aae2 feature: image edit gifs and demo-reels 1 year ago
Bryce 6109a8041d version: 7.6.0 1 year ago
Bryce c94dac76dc version: 7.5.0 1 year ago
Bryce 049059dc03 version: 7.4.3 1 year ago
Bryce 2dd99c183c version: 7.4.2 1 year ago
Bryce 03eb7c21b0 version: 7.4.1 1 year ago
Bryce 5d6d955ffd version: 7.4.0 1 year ago
Bryce 4bc78b9be5 build: vendorize realesrgan
Removes lots of dependencies including problematic `grpcio` and `tb-nightly`
1 year ago
Bryce 35ac8d64d7 build: vendorize parts of basicsr
Trying to get rid of tb-nightly dependency and any other unnecessary dependencies.
1 year ago
Bryce e9a3e1a99b build: unpin dependencies 1 year ago
Bryce eb40842078 test: more flexible embedding test 1 year ago
Bryce 1381c7fed4 lint: new ruff linter 1 year ago
Bryce c46d1c373c version: 7.3.0 1 year ago
Bryce e8f8a73478 version: 7.2.0 1 year ago
Bryce 218bb23e3f version: 7.1.1 1 year ago
Bryce f283729986 version: 7.1.0 2 years ago
Bryce 26a504fef4 version: 7.0.0
Major version because new images have negative prompt by default.
2 years ago
Bryce 0e342a126e version: 6.1.2 2 years ago
Bryce ca126b0760 version: 6.1.1 2 years ago
Bryce 8e9e119052 version: 6.1.0 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 fceb600fb4 version: 6.0.0a0
rushed release
2 years ago
Bryce e67341223b feature: Stable Diffusion 2.0
working: CUDA and MacOS
working: 512p model with all samplers
working: inpainting with all samplers
working: 768p model with ddim sampler
2 years ago
Bryce 1a866c48e1 version: 5.1.0 2 years ago
Bryce 411f359f4e version: 5.0.1 2 years ago
Bryce b8a88370de fix: lower memory reqs for attention on M1s 2 years ago
Bryce 64a0e0bb50 version: 5.0.0 2 years ago
Bryce 54cc874cba version: 4.1.0 2 years ago
Bryce 97682da9ed version: 4.0.0 2 years ago
Bryce 497dc81d9e fix: k-sampler methods were broken 2 years ago
Bryce d947d9f5c8 version 3.0.0 2 years ago
Bryce bba079a8b2 version: 2.4.1
bugfixes
2 years ago
Bryce 26483ef128 version: 2.4.0 2 years ago
Bryce Drennan 31c2160e21
feature: prompt expansion (#51)
You can use `{}` to randomly pull values from lists.  A list of values separated by `|` and enclosed in `{ }` will be randomly drawn from in a non-repeating fashion. Values that are surrounded by `_ _` will pull from a phrase list of the same name.   Folders containing .txt phraselist files may be specified via
`--prompt_library_path`. The option may be specified multiple times.  Built-in categories:

      3d-term, adj-architecture, adj-beauty, adj-detailed, adj-emotion, adj-general, adj-horror, animal, art-movement,
      art-site, artist, artist-botanical, artist-surreal, aspect-ratio, bird, body-of-water, body-pose, camera-brand,
      camera-model, color, cosmic-galaxy, cosmic-nebula, cosmic-star, cosmic-term, dinosaur, eyecolor, f-stop,
      fantasy-creature, fantasy-setting, fish, flower, focal-length, food, fruit, games, gen-modifier, hair, hd,
      iso-stop, landscape-type, national-park, nationality, neg-weight, noun-beauty, noun-fantasy, noun-general,
      noun-horror, occupation, photo-term, pop-culture, pop-location, punk-style, quantity, rpg-item, scenario-desc,
      skin-color, spaceship, style, tree-species, trippy, world-heritage-site

   Examples:

   `imagine "a {red|black} dog" -r 2 --seed 0` will generate both "a red dog" and "a black dog"

   `imagine "a {_color_} dog" -r 4 --seed 0` will generate four, different colored dogs. The colors will eb pulled from an included
   phraselist of colors.

   `imagine "a {_spaceship_|_fruit_|hot air balloon}. low-poly" -r 4 --seed 0` will generate images of spaceships or fruits or a hot air balloon

   Credit to [noodle-soup-prompts](https://github.com/WASasquatch/noodle-soup-prompts/) where most, but not all, of the wordlists originate.
2 years ago
Bryce 0244d4151f version: 2.3.1 2 years ago
Bryce 5cc19c460c version: 2.3.0 2 years ago
Bryce 282fbc19b5 version: 2.2.1 2 years ago
Bryce da0b983622 version: 2.2.0 2 years ago
Bryce 9fe3cf79c2 feature: better masking segmentation from clipseg 2 years ago
Bryce c92e5c443f version: 2.0.3 2 years ago
Bryce 2791917fc8 version: 2.0.1 2 years ago
Bryce 0fb03f2a1f fix/version: 2.0.1
quick fix for compatibility with Pillow < 9.1.0
https://stackoverflow.com/questions/71738218/module-pil-has-not-attribute-resampling
2 years ago
Bryce 7fb652d38a version: 2.0.0 2 years ago
Bryce b69b4c770e feature: interactive prompt
- add quiet flag
- add mask-modify-original flag
2 years ago
Bryce 8e844f2eae version: 1.6.2 2 years ago
Bryce 09f00f9652 version: 1.6.1 2 years ago
Bryce a275d9c9cd version: 1.6.0 + docs 2 years ago
Bryce 41b0ae99b3 version 1.5.4
minor changes to help with google colab compat
2 years ago
Bryce 6f77c23c1d version 1.5.4
minor changes to help with google colab compat
2 years ago
Bryce 83c809e2b7 version 1.5.3
bugfix missing config file
2 years ago
Bryce 3d64867e1f version 1.5.2
bugfix missing config file
2 years ago
Bryce 37db8db1a2 version 1.5.1 2 years ago
Bryce 4705d182d5 feature: generate captions for images
- add wip functionality for negative masks
- ci: add code linter that removes unused imports
- add instructions to install rust on osx
2 years ago
Bryce 60a04a5d68 version: 1.4.0
we can get the stem of the pear
2 years ago
Bryce be85133070 version: 1.3.0 2 years ago
Bryce 930295d840 feature: txt2mask - automated text replacement
from https://github.com/timojl/clipseg
2 years ago
Bryce 7087c4a680 feature: automatic mask generation
mask generation working but not integrated
2 years ago
Bryce 33f1e2aeec version 1.2.0
- add url init images
- don't install protobuf versions that are causing problems
https://github.com/brycedrennan/imaginAIry/issues/7
https://github.com/protocolbuffers/protobuf/issues/10571
2 years ago
Bryce af3dc6bacd fix: restrict usage of difficult protobuf versions 2 years ago
Bryce c7a822d701 feature: urls as init images
- --init-image accepts urls
- cleanup command line code
2 years ago
Bryce 47db34647b version 1.1.4 2 years ago
Bryce da0ba308b2 version: 1.1.3
fix compat with python 3.8,3.9
2 years ago
Bryce 51a8b1b8d8 fix: filter logic was wrong 2 years ago