Sean Sube
|
a19bf06003
|
attempt gradient blending of tiles
|
2023-06-03 09:51:44 -05:00 |
Sean Sube
|
6317094c5f
|
feat(api): histogram equalization and blending for highres tiling
|
2023-06-02 01:14:40 -05:00 |
Sean Sube
|
23aaf656d3
|
fix(api): match mask and image size before adding noise (#373)
|
2023-05-03 23:05:40 -05:00 |
Sean Sube
|
ac4aef6ae3
|
resize mask to cover source image before trimming
|
2023-05-02 21:15:14 -05:00 |
Sean Sube
|
c8bc175239
|
fix(api): keep aspect ratio of mask for non-square sources (#373)
|
2023-05-02 20:52:28 -05:00 |
Sean Sube
|
8b57767f4a
|
fix chain stage loading
|
2023-05-01 23:25:55 -05:00 |
Sean Sube
|
95725fff79
|
feat(api): add tile size and stride to image parameters
|
2023-05-01 23:21:25 -05:00 |
Sean Sube
|
746e33b1f5
|
slice mask for views
|
2023-05-01 19:40:19 -05:00 |
Sean Sube
|
e8d6ab64c1
|
add view iteration to panoramic inpaint
|
2023-05-01 19:09:52 -05:00 |
Sean Sube
|
ca611f03df
|
enable all valid inpaint pipes
|
2023-05-01 18:58:29 -05:00 |
Sean Sube
|
fbab26fe31
|
resize mask to match source
|
2023-04-29 15:40:26 -05:00 |
Sean Sube
|
bfe989997e
|
use full tile size for mask and noise
|
2023-04-29 15:10:43 -05:00 |
Sean Sube
|
a1e7a5d077
|
pad incomplete mask tiles
|
2023-04-29 15:00:59 -05:00 |
Sean Sube
|
a4d197a6e7
|
round entire canvas up to tile size
|
2023-04-29 14:55:41 -05:00 |
Sean Sube
|
f782f39cce
|
fix(api): remove size limit on inpainting stage
|
2023-04-29 14:23:00 -05:00 |
Sean Sube
|
ec7d563c58
|
fix(api): resolve SD upscaling model relative to models path
|
2023-04-24 18:23:56 -05:00 |
Sean Sube
|
4f9d12cefa
|
remove LoRAs and TIs from SD upscaling
|
2023-04-23 18:22:44 -05:00 |
Sean Sube
|
8146ef881d
|
only apply prompt embeds when LPW is not selected, load upscale pipeline like others
|
2023-04-23 18:22:41 -05:00 |
Sean Sube
|
0eeb342576
|
apply alternatives to upscale stage
|
2023-04-23 18:22:38 -05:00 |
Sean Sube
|
b249936963
|
feat(api): parse alternative groups in prompts
|
2023-04-23 15:03:11 -05:00 |
Sean Sube
|
b20df68131
|
fix(api): switch between available pipelines
|
2023-04-15 15:37:45 -05:00 |
Sean Sube
|
bd992398ae
|
lint, fix numpy error in pix2pix
|
2023-04-13 18:41:22 -05:00 |
Sean Sube
|
52d639ffed
|
use keyword args for networks
|
2023-04-13 00:02:47 -05:00 |
Sean Sube
|
4aabf1ee27
|
wire up pipeline parameter, apply lint
|
2023-04-12 23:11:53 -05:00 |
Sean Sube
|
2af1530a7e
|
feat: make pipeline type a request parameter
|
2023-04-12 22:58:48 -05:00 |
Sean Sube
|
9e017ee35d
|
feat: add parameter for ControlNet selection
|
2023-04-12 08:43:15 -05:00 |
Sean Sube
|
a3daaf0112
|
initial integration of controlnet pipeline
|
2023-04-11 19:29:25 -05:00 |
Sean Sube
|
00be4f4721
|
fix(api): run PyTorch GC on ROCm devices (#323)
|
2023-04-11 08:34:21 -05:00 |
Sean Sube
|
de61e388a0
|
chore(api): remove some unused non-ONNX code paths
|
2023-04-11 08:26:21 -05:00 |
Sean Sube
|
e3540ac435
|
feat(api): add linear blend stage for chain pipeline (#183)
|
2023-04-10 21:15:57 -05:00 |
Sean Sube
|
2eaf85a43e
|
feat(api): add chain pipeline stages to load images from S3 or URL (#184, #185)
|
2023-04-10 21:03:19 -05:00 |
Sean Sube
|
2a7621c195
|
feat(api): add params for more SwinIR models
|
2023-04-10 19:02:12 -05:00 |
Sean Sube
|
62aa7e8473
|
feat(api): add initial support for BSRGAN and SwinIR upscaling (#153, #154)
|
2023-04-10 17:49:56 -05:00 |
Sean Sube
|
464bfd01b8
|
fix(api): apply FP16 patches to SD upscaling pipeline
|
2023-04-10 08:37:49 -05:00 |
Sean Sube
|
9698e29268
|
lint(api): name context params consistently (#278)
|
2023-04-09 20:33:03 -05:00 |
Sean Sube
|
1cfc538018
|
fix(api): ensure spiral grid coords are always whole pixels
|
2023-04-06 08:52:27 -05:00 |
Sean Sube
|
c8382dc689
|
feat(api): implement spiral tile order for non-square images
|
2023-04-04 20:02:13 -05:00 |
Sean Sube
|
0fdf4d3092
|
implement proper spiral grid coverage
|
2023-04-03 21:39:17 -05:00 |
Sean Sube
|
2c47904057
|
lint(api): use constant for model filename
|
2023-03-24 08:14:19 -05:00 |
Sean Sube
|
a9e55ff9f2
|
remove references to inversion parameter
|
2023-03-18 19:47:22 -05:00 |
Sean Sube
|
f336cc5d02
|
fix(api): provide noise parameter to SD upscaling (#196)
|
2023-03-18 14:02:30 -05:00 |
Sean Sube
|
226710a015
|
fix(api): use exception level logs
|
2023-03-16 22:29:07 -05:00 |
Sean Sube
|
6bdaa4a4ed
|
fix(api): make stage-specific source image optional in GFPGAN stage (#233)
|
2023-03-10 18:15:31 -06:00 |
Sean Sube
|
10fbafaff0
|
fix(api): correct imports
|
2023-03-04 22:25:49 -06:00 |
Sean Sube
|
dbf9eaf1a4
|
fix(api): run shape inference before converting models to fp16
per discussion in https://github.com/microsoft/onnxruntime/issues/14827
|
2023-02-28 22:36:45 -06:00 |
Sean Sube
|
565873b3ae
|
test half precision on all diffusion models
|
2023-02-28 22:23:55 -06:00 |
Sean Sube
|
1f9efb433a
|
apply lint
|
2023-02-28 22:04:55 -06:00 |
Sean Sube
|
c99aa67220
|
name threads, max queues, type/lint fixes
|
2023-02-28 21:44:52 -06:00 |
Sean Sube
|
525ee24e91
|
track started and finished jobs
|
2023-02-26 20:09:42 -06:00 |
Sean Sube
|
584dddb5d6
|
lint all the new stuff
|
2023-02-26 14:15:30 -06:00 |
Sean Sube
|
06c74a7a96
|
feat(api): remove Flask app from global scope
|
2023-02-26 10:15:12 -06:00 |
Sean Sube
|
f898de8c54
|
background workers, logger
|
2023-02-25 23:49:39 -06:00 |
Sean Sube
|
2e7de16778
|
feat: add a way to select textual inversions
|
2023-02-25 11:53:32 -06:00 |
Sean Sube
|
14c7e6a78c
|
apply lint
|
2023-02-21 08:26:09 -06:00 |
Sean Sube
|
82016a163a
|
restore single output in chain pipeline stages
|
2023-02-21 08:14:04 -06:00 |
Sean Sube
|
5f3b84827b
|
feat(api): add batch size to txt2img and img2img pipelines (#195)
|
2023-02-20 08:35:18 -06:00 |
Sean Sube
|
0deaa8898d
|
fix(api): add missing params to SD upscale
|
2023-02-19 23:30:48 -06:00 |
Sean Sube
|
c1189aad96
|
feat: add eta parameter (fixes #194)
|
2023-02-19 23:29:26 -06:00 |
Sean Sube
|
40e396a2c4
|
sonar lint fixes
|
2023-02-19 22:10:35 -06:00 |
Sean Sube
|
f561dfae83
|
fix(api): correct blending mask (fixes #188)
|
2023-02-19 11:04:11 -06:00 |
Sean Sube
|
c69e342ee4
|
apply sonar lint
|
2023-02-19 07:53:20 -06:00 |
Sean Sube
|
30978e3e5b
|
fix(api): only run GC is devices are passed
|
2023-02-19 07:41:16 -06:00 |
Sean Sube
|
b7a780bacc
|
correct param name for upscale mask
|
2023-02-18 22:53:57 -06:00 |
Sean Sube
|
ac1f7449bb
|
fix(api): use stage source when available
|
2023-02-18 22:11:44 -06:00 |
Sean Sube
|
25c56c7d5c
|
fix imports
|
2023-02-18 20:28:21 -06:00 |
Sean Sube
|
2b83f942af
|
restore original LPW names
|
2023-02-18 18:55:02 -06:00 |
Sean Sube
|
4d93c13431
|
apply lint, fix shadowed names
|
2023-02-18 17:59:13 -06:00 |
Sean Sube
|
b4f7973c1e
|
lint(api): use consistent name for source/mask images to avoid conflict with kwargs
|
2023-02-18 16:35:57 -06:00 |
Sean Sube
|
7b8ced0f68
|
feat(api): prefer chain stage parameters over request parameters (#138)
|
2023-02-18 16:27:48 -06:00 |
Sean Sube
|
ab6462d095
|
feat(api): enable optimizations for SD pipelines based on env vars (#155)
|
2023-02-18 11:53:13 -06:00 |
Sean Sube
|
ecf3c03f0f
|
feat: add parameter to run correction before upscaling (#132)
|
2023-02-18 11:04:08 -06:00 |
Sean Sube
|
b2de114c8c
|
fix(api): disable progress in diffusers pipelines
|
2023-02-18 09:42:38 -06:00 |
Sean Sube
|
b4e66ef502
|
feat(api): add flag to disable progress bars (#158)
|
2023-02-18 09:26:13 -06:00 |
Sean Sube
|
400e579491
|
Merge branch 'feat/113-onnx-resrgan'
|
2023-02-18 09:23:36 -06:00 |
Sean Sube
|
b3b10b4746
|
apply lint
|
2023-02-18 08:46:46 -06:00 |
Sean Sube
|
338fc237c7
|
fix(api): convert Real ESRGAN v3 using same arch as runtime
|
2023-02-18 08:41:15 -06:00 |
Sean Sube
|
3ca02d4875
|
fix(api): make size params iterable
|
2023-02-18 05:44:43 -06:00 |
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
|
2c9d96d2ee
|
feat(api): use ONNX for Real ESRGAN v3 model
|
2023-02-17 23:25:42 -06:00 |
Sean Sube
|
0ed4af18ad
|
fix(api): run torch gc alongside python (#156)
|
2023-02-16 18:11:35 -06:00 |
Sean Sube
|
8a2a9174ba
|
fix(api): pass both device and session options to ORT (#38)
|
2023-02-14 18:57:50 -06:00 |
Sean Sube
|
d473a0fd2d
|
fix(api): pass device options to ORT session (#38)
|
2023-02-14 17:12:52 -06:00 |
Sean Sube
|
1289c560bd
|
apply lint
|
2023-02-14 00:12:07 -06:00 |
Sean Sube
|
05756b2b08
|
fix(api): patch more download paths (#134)
|
2023-02-13 22:23:17 -06:00 |
Sean Sube
|
d1b250660e
|
fix(api): convert blend sources to the same size as the mask
|
2023-02-13 21:57:47 -06:00 |
Sean Sube
|
c432ab0795
|
remove oldest items from model cache first
|
2023-02-13 18:33:06 -06:00 |
Sean Sube
|
51d53597c0
|
fix(api): load Real ESRGAN PTH from cache
|
2023-02-13 18:21:05 -06:00 |
Sean Sube
|
0709c1dbf0
|
feat(api): add GFPGAN and Real ESRGAN to model cache
|
2023-02-13 18:10:11 -06:00 |
Sean Sube
|
e9472bc005
|
feat(api): add model cache for diffusion models
|
2023-02-13 18:04:46 -06:00 |
Sean Sube
|
7fa1783be4
|
feat: implement blend tab and copy buttons (#62)
|
2023-02-13 17:34:42 -06:00 |
Sean Sube
|
82487f5771
|
fix(api): separate Real ESRGAN upsampler from GFPGAN stage (#87)
|
2023-02-12 13:50:28 -06:00 |
Sean Sube
|
034be3266e
|
fix(api): accumulate progress from inpaint pipelines (#90)
|
2023-02-12 13:16:17 -06:00 |
Sean Sube
|
2f6a3afddb
|
pass progress on to most stages
|
2023-02-12 12:33:36 -06:00 |
Sean Sube
|
06d4f32574
|
make progress callbacks optional
|
2023-02-12 12:22:11 -06:00 |
Sean Sube
|
d9fc908592
|
feat(api): collect progress from chain pipelines (#90)
|
2023-02-12 12:17:36 -06:00 |
Sean Sube
|
8ea33e9874
|
fix(api): patch various download fns to use cache (#95)
|
2023-02-12 06:25:44 -06:00 |
Sean Sube
|
ffbe0929e6
|
apply lint
|
2023-02-11 18:10:36 -06:00 |
Sean Sube
|
3a290822eb
|
feat(api): pass tile order to inpaint and outpaint pipelines
|
2023-02-11 18:00:18 -06:00 |
Sean Sube
|
b1a1a2b9c4
|
lint(api): apply style fixes
|
2023-02-07 08:20:02 -06:00 |
Sean Sube
|
b6fd288842
|
fix(api): calculate outpaint overlap factor before adding margins
|
2023-02-06 22:49:58 -06:00 |