Commit Graph

117 Commits (a5f9d59717dc2f31b65791ec006e3db33f647631)

Author SHA1 Message Date
Chenlei Hu a5f9d59717
Add clip mask support (#2721)
* Add clip mask support

* nit

* Add tests
2024-03-31 12:13:51 -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
Chenlei Hu aa2aa812e8
Remove dep basicsr (#2682)
* Remove dep basicsr

* nit
2024-03-05 21:52:19 -05: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
George0726 f6755d288d
Update processor.py (#2665)
Fix large size bug
2024-02-28 21:38:33 -05:00
Chenlei Hu 9c907a936a
🐛 Fix error message (#2613) 2024-01-31 21:47:12 -05:00
Chenlei Hu a773a1a816
Real multi-inputs for all IP-Adapters (#2594)
* Add adapter tests

* real multi inputs

* multi-inputs

* Fix hook

* Use real multi for instant id
2024-01-28 12:44:40 -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
Chenlei Hu 14ab5e4ff6
Revert " Real multi-inputs unit" (#2583) 2024-01-25 08:52:10 -05:00
Chenlei Hu 6a1d882e89
Real multi-inputs unit (#2578)
* Add adapter tests

* real multi inputs
2024-01-24 20:19:11 -05:00
青龍聖者@bdsqlsz 0c8d8d9b2c default use safe steps = 2 2024-01-24 12:39:32 +08:00
青龍聖者@bdsqlsz 15f78b13eb add util 2024-01-24 12:39:32 +08:00
青龍聖者@bdsqlsz 70ef227f25 update 2024-01-24 12:39:32 +08:00
Chenlei Hu 2b44ac8d6b
🐛 Fix padding (#2547) 2024-01-22 16:16:37 -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 5fde5430de
Support IP-Adapter faceid portrait (#2529)
* Add ip adapter tests

* Refactor faceid

* support portrait

*  more testing
2024-01-21 12:03:43 -05:00
Aarni Koskela 19ce346c76
Use pip for HandRefinerPortable (#2493) 2024-01-18 20:44:11 -05:00
Chenlei Hu 0a8e71af58
🔧 Add option to run CLIP preprocessor on CPU (#2495) 2024-01-18 20:30:12 -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 488b32e55f
🐛 Hide control mode for ip-adapter_clip_sdxl_plus_vith (#2450) 2024-01-10 22:23:54 -05:00
Chenlei Hu 499152057b
🐛 Fix list no_control_mode_preprocessors (#2449) 2024-01-10 22:16:02 -05:00
Chenlei Hu 02c155e420
🐛 Handle non-singleface cases for insightface preprocessor (#2443) 2024-01-10 09:54:25 -05: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 94c93c6708
Revert "🐛 Fixes path style (#2420)" (#2426)
This reverts commit a6a5a4b381.
2024-01-06 12:27:32 -05:00
Chenlei Hu a6a5a4b381
🐛 Fixes path style (#2420) 2024-01-05 20:15:19 -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
lllyasviel e4fbb1b3e3
add models (#2085)
* add blur

* t2ia

* t2ia
2023-09-08 21:05:09 -07:00
lllyasviel c03c05e2d7
revision (#2058) 2023-09-05 12:53:09 -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 56c376a177
🐛 lazy import (#1874) 2023-08-05 00:30:05 -04: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
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
lllyasviel f4882dc62c
version (#1444) 2023-05-26 19:55:27 -07: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