Commit Graph

72 Commits (2b44ac8d6b3f022bf67f3d00a5a446caf9d73228)

Author SHA1 Message Date
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
lvmin 53e5bb4d6f remove dangerous options, add leres++ 2023-05-02 01:29:01 -07:00
huchenlei 455545894d 🐛 Fix missing param issue 2023-04-28 20:37:24 -04:00
huchenlei d80aef8a25 Reduce boilerplate on openpose preprocessor declaration 2023-04-28 17:18:17 -04:00
lvmin 1f1a9e135d fix 2023-04-26 19:46:55 -07:00
Arron17 c9d32787da Adding Manga Line Extraction Processor
Adding initial working Manga Line Extraction Processor from https://github.com/ljsabc/MangaLineExtraction_PyTorch
2023-04-26 21:46:30 +01:00
lvmin 6b2b0ec33d new tile model will soon use tile_resample as preprocessor 2023-04-25 06:35:52 -07:00
ljleb 14f3661648
forward web api to external_code api (#850) 2023-04-18 00:57:15 -04:00
lvmin a4519c98a3 add lineart_standard 2023-04-17 18:31:09 -07:00
lvmin 42158b1b43 major update - ControlNet 1.1 GUI 2023-04-17 16:53:20 -07:00
Joseph Catrambone 385b67c2e3 Merge upstream changes and resolve merge conflicts. 2023-04-17 09:35:49 -07:00
lvmin 34c5b40e15 support inpaint 2023-04-16 18:42:44 -07:00