Commit Graph

58 Commits (d5137f063ebd1d31384957a8d3bea61ba5940fff)

Author SHA1 Message Date
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
lllyasviel bee146aa10
Merge branch 'main' into lvmin 2023-04-16 17:20:56 -07:00
lvmin e6d3a326c4 add tile and xdog 2023-04-16 17:18:12 -07:00
Kakigōri Maker a78628d5c2
Update global_state.py 2023-04-16 15:49:18 +09:00
lvmin 5bb5460588 typo 2023-04-15 18:10:00 -07:00
lvmin 929072f52f better name 2023-04-15 16:06:14 -07:00
lvmin 408a6a79e9 put none in first 2023-04-15 12:24:31 -07:00
lvmin d7bc3d4383 sort preprocessor 2023-04-15 12:20:00 -07:00
Mikubill b7a2058419 fix: deprec thr-based inversion (and #736), cleanup code 2023-04-15 07:41:26 +00:00
RcINS b1c0bc62e0 Add {lineart, lineart_anime, normalbae, oneformer, shuffle, zoe} annotator 2023-04-13 18:01:29 +08:00
Joseph Catrambone eeb27da545 Missed a few references. Renaming. 2023-03-31 10:49:31 -07:00
Joseph Catrambone 3cd07a6ee8 Rename mediapipe_laion_face to mediapipe_face. 2023-03-31 10:48:17 -07:00
Joseph Catrambone 78833dce35 Add MediaPipe Face conditioning as a step. 2023-03-30 16:30:41 -07:00
Michael efa3e31630 Updated to put the dictionaries in global_state.py 2023-03-17 23:05:42 -07:00
Michael cd2f25529c Added a method to get the list of preprocessors 2023-03-17 16:26:59 -07:00