Commit Graph

19 Commits (50e796a3b72c413c04f0d042b46682249cd9da1d)

Author SHA1 Message Date
Bryce 50e796a3b7 refactor: move code around 6 months ago
Bryce 32b5175e0e feature: better upscaling
- use face enhancement in a smarter way that doesn't blur high-res images
- use a different upscale model for composition images

**Upscaling**
RealESRGAN is great but it blurs parts of images it doesn't understand

4xUltrasharp is a finetune of RealESRGan that isn't as good but doesn't have this blurry patch problem.  This makes it more suitable to use as part of the composition/upscale process.  We still use realesrgan for any last-step upscales since it does look better.

had to write a state dict translator to use the ultrasharp model

**Face Enhancement**

We no longer enhance faces that are larger than 512 pixels. They should already have enough details and the face enhancer doesn't produce faces at high enough resolution to look good at that size.
6 months ago
Bryce d834e8b5b3 test: run non-gpu tests on github 7 months ago
jaydrennan d39486af54 fix: updates test marking to use nodeid instead of name 7 months ago
Bryce 7880ee1389 feature: update midas (depth maps) 7 months ago
Bryce Drennan 2144f26fa7
feature: add ability to dynamically make word images (#417) 7 months ago
Bryce d478771cc0 refactor: move a bunch of stuff to utils 7 months ago
jaydrennan 3f3e080d39 feature: adds ability to use qrcode
feature: adds controlnet qrcode image generation.
feature: adds control net for qrcode image generation.
7 months ago
Bryce 37ecd1e5e0 fix: videogen. track gpu tests 7 months ago
Bryce b261c62d4e docs: update docs 1 year ago
Bryce 1563e0b871 test: add some autoencoder tests
the fold-unfold encoding/decoding looks like it's slower and has worse seams than the sliced feathering approach
1 year ago
Bryce 24e10f9e5f fix: don't report a safety issue when a black image is generated 1 year ago
Bryce eb40842078 test: more flexible embedding test 2 years ago
Bryce db5ebe9095 tests: tests can run without any network calls 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 38c7f88950 feature: boolean logic masks
Specify advanced text based masks using boolean logic and strength modifiers. Mask descriptions must be lowercase. Keywords uppercase.
Valid symbols: `AND`, `OR`, `NOT`, `()`, and mask strength modifier `{*1.5}` where `+` can be any of `+ - * /`. Single-character boolean
operators also work.  When writing strength modifies know that pixel values are between 0 and 1.

 - feature: apply mask edits to original files
 - feature: auto-rotate images if exif data specifies to do so
 - fix: accept mask images in command line
2 years ago
Bryce 930295d840 feature: txt2mask - automated text replacement
from https://github.com/timojl/clipseg
2 years ago
Bryce 8238e59067 tests: add more tests 2 years ago
Bryce 7a33ee2480 feature: cleaned up logging
- cleans up all the logging. hide most of it
 - create better readme. show example images
 - save metadata into image
2 years ago