Chenlei Hu
442398bb9f
Port SDForge's preprocessor structure ( #2754 )
...
* wip
* wip2
* wip3
* fix issues
* Add scribble xdog
* port legacy processors
* nit
* Add tests
* Fix modules test
* Add back normal_dsine
* Remove legacy code
* Remove code
* Add tests
* rename param
* Linter ignore
* fix is_image
* fix is_image
* nit
* nit
* Better assertion message
* Add back ip-adapter-auto
* Add test
* Fix various tag matching
* fix
* Add back preprocessor cache
* Add back sparse ctrl
* fix test failure
* Add log
2024-04-17 22:28:56 -04:00
Chenlei Hu
fcd542e547
Unify IP-Adapter preprocessor ( #2710 )
2024-03-29 23:22:17 -04:00
青龍聖者@bdsqlsz
bcd0322e87
✨ Support New Softedge Preprocesser NormalDsine ( #2701 )
...
✨ Support New Softedge Preprocesser NormalDsine
2024-03-26 20:11:57 +08:00
Chengsong Zhang
461f8c5f16
AnimateDiff 2.0.0-a ControlNet part ( #2661 )
...
* ad
* ad
* sparsectrl and keyframe, excluding ip-adapter emb interpolation
* fix ruff
* ipadapter prompt travel. now implementation has been finished, next step test every feature
* sparsectrl works, ip-adapter still not working
* everything but i2i batch is working properly
* everything but i2i batch is working properly, fix ruff
2024-03-02 06:12:54 -06:00
Chenlei Hu
44e0875956
Fix linter issues under script ( #2667 )
2024-02-28 23:58:34 -05:00
h3rmit
1d39c2ab58
Compatibility fixes for WebUI < v1.5.0 ( #2647 )
...
* fix: backward compatibility of clipvision with webui v1.3.0
* fix: backward compatibility with webui < v1.5.0
* nits
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2024-02-17 10:13:09 -05:00
Chenlei Hu
9473a777c7
✨ Instant ID ( #2580 )
...
* instant id
* Add extra control type enum
* wip
* wip
* Fix all obvious issues
* Fix insightface model issue
* append keypoints images
* ui
* Fix res
* Remove model2
* separate unit control
* Fix context issue
* insightface model download
2024-01-27 17:29:07 -05:00
青龍聖者@bdsqlsz
0c8d8d9b2c
default use safe steps = 2
2024-01-24 12:39:32 +08:00
青龍聖者@bdsqlsz
70ef227f25
update
2024-01-24 12:39:32 +08:00
Chenlei Hu
7fb40bf803
🔧 Explicit error on ipadapter invalid preprocessor/model pair ( #2551 )
...
* 🔧 Explicit error on ipadapter invalid preprocessor/model pair
* nit
2024-01-22 19:34:47 -05:00
Chenlei Hu
b23015aff6
🔧 Filter preprocessor selection based on sd version ( #2550 )
...
* format
* filter module
2024-01-22 19:15:14 -05:00
Chenlei Hu
e5adb1697d
✨ Add depth_anything ( #2544 )
...
* ✨ Add depth_anything
* Fix various issues
* Add tests
2024-01-22 16:14:26 -05:00
Chenlei Hu
25e41dc63b
Real multi-inputs ControlNet unit ( #2539 )
...
* real multi-inputs
* add tests
* nit
* 🐛 Fix negative prompt issue
2024-01-22 02:27:37 -05:00
Chenlei Hu
eaa18bb213
Reland "Add Densepose (TorchScript)" ( #2459 )
...
* Revert "Revert "Add Densepose (TorchScript)""
* 🐛 Fix unload
2024-01-11 21:09:17 -05:00
Chenlei Hu
6e649def2b
Revert "Add Densepose (TorchScript)" ( #2457 )
2024-01-11 08:15:19 -05:00
Fannovel16
7734e372ec
Add Densepose (TorchScript) ( #2314 )
...
* Add annotator DensePose
* Register densepose
* fix densepose and add filters
* Change alias
---------
Co-authored-by: 青龍聖者@bdsqlsz <qinglongshengzhe@gmail.com>
2024-01-11 00:35:56 -06:00
Chenlei Hu
a846376516
IP-Adapter face id ( #2434 )
...
* faceid
* remove unused file
* Update To_KV
* faceid_plus
* Remove unncessary dep
* Change download path
* Add install script
* nit
* nits
* Fixes controlmode visibility
2024-01-10 09:35:03 -05:00
Chenlei Hu
7247119255
✨ Hand refiner preprocessor ( #2394 )
...
* Add hand refiner submodule
* Add depth_hand_refiner reprocessor
* Install script for hand refiner dependenceis
* Sync submodules
* Format
* Support cpu
* Handle unload module
* 🐛 Fix name conflict
2024-01-03 21:33:14 -05:00
青龍聖者@bdsqlsz
79948d8c29
Add Animal Pose Preprocessor (RTMPose AP-10K) ( #2293 )
...
* add support for animal pose
* Update __init__.py
* fix typo
* flatten json result list
* format files
* remove unused functions
* 🚧 Support edit
* nits
* fix test expecetations
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-12-23 15:55:21 -05:00
Chenlei Hu
10bd9b25f6
Add anime_face_segment ( #2279 )
...
Update __init__.py
update add aliases
Update global_state.py
fix typo
fix typo2
Update __init__.py
Update __init__.py
Update __init__.py
Update __init__.py
Update __init__.py
Update __init__.py
Update __init__.py
Update __init__.py
RGB2BGR
fix for device
fix for special resolution
Co-authored-by: 青龍聖者@bdsqlsz <qinglongshengzhe@gmail.com>
2023-11-21 22:43:55 -05:00
Chenlei Hu
45eb903538
✨ Filter cn model by sd version active ( #2267 )
2023-11-19 17:49:46 -05:00
lllyasviel
3011ff6e70
support all recent ip-adapters
...
support all recent ip-adapters
2023-10-31 19:49:08 -07:00
lllyasviel
e4fbb1b3e3
add models ( #2085 )
...
* add blur
* t2ia
* t2ia
2023-09-08 21:05:09 -07:00
lllyasviel
2b12b2760d
Update global_state.py ( #2079 )
2023-09-07 01:36:37 -07:00
lllyasviel
1d5402326d
sdxl support (for SAI/HuggingFace/diffuser/community models) ( #1952 )
...
sdxl support (for SAI/HuggingFace/diffuser/community models)
1.1.400
2023-09-04 10:41:42 -07:00
Chenlei Hu
4fa9190436
Reland Reland "Port DW Pose preprocessor" ( #1892 )
...
* Port DW Pose preprocessor (#1856 )
* ➕ Add dependencies
* 🚧 wip
* 🚧 wip
* 🚧 download models
* 🚧 Minor fixes
* 🔧 update gitignore
* 🐛 Fix normalization issue
* 🚧 load DW model only when DW preprocessor is selected
* ✅ Change test config
* 🎨 nits
* 🐛 Fix A1111 safe torch issue
📝 v1.1.235 (#1859 )
Revert "Port DW Pose preprocessor (#1856 )" (#1860 )
This reverts commit 0d3310f599 .
Reland "Port DW Pose preprocessor" (#1861 )
* Revert "Revert "Port DW Pose preprocessor (#1856 )" (#1860 )"
This reverts commit 17e100e1fe .
* 🐛 Fix install.py
📝 v1.1.236 (#1862 )
🐛 Delay import of mmpose (#1866 )
📝 v1.1.237 (#1868 )
🐛 Fix all keypoints invalid issue (#1871 )
🐛 lazy import
🚧 update test expectation
🚧 Switch to onnx
🚧 solve onnx package issue
🔧 Check cuda in more efficient way
🎨 Format code
🔧 Make onnx runtime optional
* Use cv2 to load and run model on cpu
* nit
2023-08-09 00:21:18 -04:00
Chenlei Hu
4fd548b4d2
Revert "Reland dw pose onnx ( #1890 )" ( #1891 )
...
This reverts commit e141d33be9 .
2023-08-07 17:50:12 -04:00
Chenlei Hu
e141d33be9
Reland dw pose onnx ( #1890 )
...
* Port DW Pose preprocessor (#1856 )
* ➕ Add dependencies
* 🚧 wip
* 🚧 wip
* 🚧 download models
* 🚧 Minor fixes
* 🔧 update gitignore
* 🐛 Fix normalization issue
* 🚧 load DW model only when DW preprocessor is selected
* ✅ Change test config
* 🎨 nits
* 🐛 Fix A1111 safe torch issue
📝 v1.1.235 (#1859 )
Revert "Port DW Pose preprocessor (#1856 )" (#1860 )
This reverts commit 0d3310f599 .
Reland "Port DW Pose preprocessor" (#1861 )
* Revert "Revert "Port DW Pose preprocessor (#1856 )" (#1860 )"
This reverts commit 17e100e1fe .
* 🐛 Fix install.py
📝 v1.1.236 (#1862 )
🐛 Delay import of mmpose (#1866 )
📝 v1.1.237 (#1868 )
🐛 Fix all keypoints invalid issue (#1871 )
🐛 lazy import
* 🚧 update test expectation
* 🚧 Switch to onnx
* 🚧 solve onnx package issue
* 🔧 Check cuda in more efficient way
* 🎨 Format code
2023-08-07 17:35:37 -04:00
lvmin
20d25bb546
Revert "Port DW Pose preprocessor ( #1856 )"
...
This reverts commit 0d3310f599 .
2023-08-05 02:58:03 -07:00
Chenlei Hu
8f44b22ee5
Reland "Port DW Pose preprocessor" ( #1861 )
...
* Revert "Revert "Port DW Pose preprocessor (#1856 )" (#1860 )"
This reverts commit 17e100e1fe .
* 🐛 Fix install.py
2023-08-04 16:04:02 -04:00
Chenlei Hu
17e100e1fe
Revert "Port DW Pose preprocessor ( #1856 )" ( #1860 )
...
This reverts commit 0d3310f599 .
2023-08-04 15:13:51 -04:00
Chenlei Hu
0d3310f599
Port DW Pose preprocessor ( #1856 )
...
* ➕ Add dependencies
* 🚧 wip
* 🚧 wip
* 🚧 download models
* 🚧 Minor fixes
* 🔧 update gitignore
* 🐛 Fix normalization issue
* 🚧 load DW model only when DW preprocessor is selected
* ✅ Change test config
* 🎨 nits
* 🐛 Fix A1111 safe torch issue
2023-08-04 15:02:58 -04:00
Abdullah Alfaraj
b4cdd10283
[API]: expose the filter functionality to api ( #1667 )
...
* [API]: expose the filter functionality to the api
* add basic unit_test for the filter api endpoint
* rename filter_list to filter
* 🚧 Return all filters throught API call
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-07-17 23:38:50 -04:00
Chenlei Hu
67a18f9df7
🐛 Only scan dir if dir exists ( #1759 )
...
* 🐛 Only scan dir if dir exists
* nit
2023-07-04 13:31:19 -04:00
Chenlei Hu
8e143d3545
Set default cache size for first time installation ( #1706 )
2023-06-25 00:45:53 -04:00
Chenlei Hu
b1ab84fec8
🐛 Remove mandatory mkdir for detected_maps ( #1677 )
...
* 🐛 Remove mandatory mkdir for detected_maps
* nits
2023-06-22 22:13:41 -04:00
lllyasviel
5c9731319b
[1.1.121] Preprocessor: inpaint_only+lama ( #1558 )
...
[1.1.121] Preprocessor: inpaint_only+lama (#1558 )
2023-06-08 17:42:08 -07:00
lllyasviel
34df0a3374
prepare for future preprocessors ( #1552 )
2023-06-04 14:18:05 -07:00
Chenlei Hu
d3b64fbdd5
Reland logs; debug ( #1540 )
...
fallback
2023-06-04 13:55:45 -04:00
Chenlei Hu
b0a7dc8864
Revert "Logging migration ( #1537 )" ( #1538 )
...
This reverts commit f7eeb481ea .
2023-06-03 19:13:16 -04:00
Chenlei Hu
f7eeb481ea
Logging migration ( #1537 )
...
* 🔊 Use logger to replace print in scripts
* 🐛 Fix double handler issue
2023-06-03 18:14:56 -04:00
Chenlei Hu
624ec956f3
[Refactor] Move controlnet.Script.uigroup out as ui.controlnet_ui_group ( #1475 )
...
* 🚚 Move controlnet.Script.uigroup out.
* 🚚 rename uigroup
* explicitly declare fields
* 🐛 nits
* 🔥 remove unused imports
* reload utils
* reload utils
* 🚚 Move get_module_basename to global_state
* Update scripts/controlnet.py
---------
Co-authored-by: ljleb <lebel.louisjacob@gmail.com>
2023-05-31 22:22:40 -04:00
lllyasviel
5fe0981be0
add inpaint_only ( #1441 )
2023-05-26 19:42:52 -07:00
lllyasviel
4e20236f3c
add tile_colorfix+sharp ( #1434 )
2023-05-26 06:22:40 -07:00
lllyasviel
aa3ef8215a
add tile_colorfix ( #1430 )
...
* add tile_colorfix
* add tile_colorfix
* add tile_colorfix
2023-05-25 23:54:40 -07:00
huchenlei
11f89b4044
🐛 exclude shuffle from preprocessor cache
2023-05-21 14:57:21 -04:00
huchenlei
ca3252598b
🔧 Add cmd args to set cache size
2023-05-21 14:12:36 -04:00
huchenlei
bbe357e6ac
✨ Add cache for preprocessors
2023-05-21 13:36:03 -04:00
lllyasviel
ecc84a2891
add preprocessor reference_adain and adain_attn ( #1278 )
...
add preprocessor reference_adain and adain_attn
2023-05-14 22:30:47 -07:00
lllyasviel
b2f9c73532
[Major Update] Reference-only Control ( #1235 )
...
[Major Update] Reference-only Control
2023-05-13 02:56:31 -07:00