1
0
Fork 0
Commit Graph

43 Commits

Author SHA1 Message Date
Sean Sube 0e108daa0f
fix(api): resize images to min dimensions by padding if necessary (#172) 2023-02-18 05:35:53 -06:00
Sean Sube 1f06b502d5
fix(api): always fill inpaint/outpaint mask with white 2023-02-11 18:55:22 -06:00
Sean Sube 54dd34d211
lint(api): apply black and isort style 2023-02-05 07:53:35 -06:00
Sean Sube dcbd059082 feat(api): add img2img and inpaint chain stages 2023-01-28 12:42:02 -06:00
Sean Sube 56a4acee2a fix(api): split up and cache upscaling and correction stages 2023-01-27 23:28:14 -06:00
Sean Sube caafc9ebc9 lint(api): make modules for chain pipeline and params 2023-01-27 22:48:06 -06:00
Sean Sube 71ff3bb1c4 feat(api): start implementing chain pipelines 2023-01-27 17:08:36 -06:00
Sean Sube b971b659e3 use a torch rng 2023-01-26 23:15:24 -06:00
Sean Sube 670bc1ced5 improve logging, provide rng within filter 2023-01-26 22:58:36 -06:00
Sean Sube 936ebba510 attempt to run SD upscaling in smaller tiles 2023-01-26 22:44:20 -06:00
Sean Sube a5d3ffcc73 fix(api): use correct coordinate system for outpainting 2023-01-22 22:09:39 -06:00
Sean Sube 3679735d86 feat: add fill color control to inpaint 2023-01-18 08:41:02 -06:00
Sean Sube b496e7121c fix(api): premultiply noise before compositing 2023-01-17 17:49:46 -06:00
Sean Sube e59449fec1 feat(api): add conversion script for models 2023-01-16 09:57:59 -06:00
Sean Sube 1283bc3d3f fix(api): look up noise coordinates correctly 2023-01-16 07:49:25 -06:00
Sean Sube ff70d36a05 lint(api): add class for params, size, other common data 2023-01-15 19:14:58 -06:00
Sean Sube 5bb3f6c558 feat: add noise source with solid color 2023-01-15 14:26:04 -06:00
Sean Sube df6b07194b fix(api): set default mask filter to none, matching the client 2023-01-15 14:06:37 -06:00
Sean Sube 40080ad46b feat: add gaussian multiply to mask filters 2023-01-15 14:04:54 -06:00
Sean Sube eedea93ade fix(api): blend source and noise in correct order 2023-01-15 13:47:39 -06:00
Sean Sube f142418707 fix(api): convert mask before blending source 2023-01-15 13:45:37 -06:00
Sean Sube 081a96d536 fix(api): use full-image compositing, write debug images to output dir 2023-01-15 13:40:11 -06:00
Sean Sube f5ed77a349 fix(api): reduce copies, fix function signatures 2023-01-15 11:09:47 -06:00
Sean Sube ef06b45599 fix(api): reuse results of blur modes 2023-01-15 10:54:17 -06:00
Sean Sube e2d17e1833 fix(api): fill gaussian blur with noise first 2023-01-15 10:49:09 -06:00
Sean Sube 6c07d124e0 feat(api): add a mask filter to blend outpainting edges 2023-01-15 09:54:55 -06:00
Sean Sube 4675f89bb7 fix(api): add missing origin argument to noise sources 2023-01-15 09:40:08 -06:00
Sean Sube e403980a44 feat(api): add parameters for noise source and blend op to inpaint 2023-01-15 09:21:09 -06:00
Sean Sube 77470a610a feat(api): add original source and gaussian blur noise sources 2023-01-15 00:14:05 -06:00
Sean Sube 9376de880e feat(api): add normal and uniform noise sources 2023-01-14 21:46:14 -06:00
Sean Sube 1d4560cf36 fix blend, use mask as mult 2023-01-14 16:24:46 -06:00
Sean Sube 70047737e6 syntax fix 2023-01-14 16:19:54 -06:00
Sean Sube 6772cb4297 per-channel blend 2023-01-14 16:18:37 -06:00
Sean Sube 6fded9de2d build noise by pixels 2023-01-14 16:14:37 -06:00
Sean Sube 4233c34813 syntax fix, save noise image 2023-01-14 16:03:56 -06:00
Sean Sube b8b7dcf757 reshape using image stride 2023-01-14 16:00:12 -06:00
Sean Sube d4d1687851 reshape data before imaging 2023-01-14 15:49:46 -06:00
Sean Sube e05ed35f6b flatten noise data 2023-01-14 15:44:19 -06:00
Sean Sube 1220155d39 use sum of histogram, remove unused imports 2023-01-14 15:36:19 -06:00
Sean Sube e9620fd62e generate noise channel-wise 2023-01-14 15:34:57 -06:00
Sean Sube 0b46ce4090 calculate single stats instance 2023-01-14 15:27:30 -06:00
Sean Sube 9b56c75b92 adjust weights by channel sum 2023-01-14 15:24:04 -06:00
Sean Sube b24b1eb961 feat(gui): produce noise based on source image histogram 2023-01-14 15:19:41 -06:00