青龍聖者@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
0b713ca5a5
🔧 Detect ControlNet lora for SD15 ( #2336 )
2023-12-15 23:57:49 -05:00
Chenlei Hu
27c78e3fec
🐛 Set default model/module to string values ( #2335 )
2023-12-15 21:54:16 -05:00
Chenlei Hu
a13bd2febe
Add render_openposes_json API endpoint ( #2325 )
...
* Add render_openpose_json API endpoint
* nits
2023-12-12 22:07:52 -05:00
Chenlei Hu
54dfb899d5
Ignore unrecognized params ( #2313 )
2023-12-09 23:17:03 -05:00
Chenlei Hu
0efcf8c993
🐛 Handle None controlnet model in version check ( #2272 )
2023-11-19 23:51:39 -05:00
Chenlei Hu
45eb903538
✨ Filter cn model by sd version active ( #2267 )
2023-11-19 17:49:46 -05:00
Chenlei Hu
aa26871b42
✅ More tests on SDXL models ( #2264 )
2023-11-18 17:48:56 -05:00
青龍聖者@bdsqlsz
711203e88e
Add support for IP Adapter Full Face ( #2252 )
...
* Add support for IP Adapter Full Face
* ✅ Add unittests
* nits
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-11-12 21:53:17 -05:00
Chenlei Hu
f14653a10e
✅ Verify nunber of response images ( #2255 )
2023-11-12 19:56:50 -05:00
Chenlei Hu
9e61022428
🔧 Support SDXL in tests ( #2254 )
...
* 🔧 Support SDXL in tests
* 📝 docs
* nits
2023-11-12 14:12:54 -05:00
Chenlei Hu
457da74dc7
✨ Add new API option send_detected_map ( #2251 )
2023-11-11 19:06:06 -05:00
Chenlei Hu
fce6775a6d
🔧 Setup CI cache ( #2233 )
...
* 🔧 Setup CI cache
* nits
* nits
2023-11-05 00:18:11 -04:00
Chenlei Hu
2d73f31f1b
🐛 Disable flaky tests ( #2232 )
2023-11-04 23:17:09 -04:00
Chenlei Hu
36a7ed567c
🐛 Init webui only once in tests ( #2228 )
2023-11-04 17:59:11 -04:00
Chenlei Hu
27c522029e
Fix CI tests ( #2220 )
...
* 🔧 setup CI
* 🐛 Fix path
* cd
* set working dir
* fix openpose tests
* Fix web_api tests
* Fix batch hijack tests
* change coverage dir
* 📝 Add doc
2023-11-04 00:48:22 -04: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
664ac74cae
Relands #2033 ( #2038 )
...
* 🎨 re-format api.py
* Add pose json to api response
* Simplify response format
* fix
2023-09-04 09:06:46 -04:00
lllyasviel
7bdcb9079a
Revert "Add openpose json to API response ( #2033 )"
...
This reverts commit e2cd3b91a8 .
2023-09-04 05:38:19 -07:00
Chenlei Hu
e2cd3b91a8
Add openpose json to API response ( #2033 )
...
* 🎨 re-format api.py
* Add pose json to api response
* Simplify response format
2023-09-03 17:33:05 -04:00
catboxanon
cde4619c5d
Repair ControlNet infotext parsing ( #1833 )
...
* Repair infotext parsing
🚧 Listen png info buttons
WIP
New infotext format
nits
nits
nits
rebase
refactor active unit counts
* nits
* nit
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-08-23 22:27:34 -04: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
Chenlei Hu
af34f51449
🐛 Fix cv2 color channel issue in unittest ( #1878 )
2023-08-05 20:16:23 -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
ljleb
6ed97a7da2
Remove `importlib.reload`s ( #1775 )
...
* move external_code.py for python module caching
* remove importlib reload
* add test
* rename
---------
Co-authored-by: ljleb <set>
2023-07-08 16:52:16 -04:00
storyicon
17e9ca6c3b
feat: update get_unique_axis0 ( #1567 )
...
Signed-off-by: storyicon <yuanchao@bilibili.com>
2023-07-03 16:02:04 -04:00
Chenlei Hu
0b7f43107c
✅ Add unittest on numpy random seed ( #1698 )
2023-06-23 20:55:15 -04:00
Chenlei Hu
faa0d055a8
🐛 Allow functionally equiv stale units ( #1695 )
...
* 🐛 Allow functionally equiv stale units
* 🔇 demote stale warning to debug level
* 🐛 Update keys check
* ✅ Add unittests
2023-06-23 17:16:38 -04:00
Chenlei Hu
c02375a435
✅ Add test on choose_input_image ( #1691 )
2023-06-23 14:58:37 -04:00
Chenlei Hu
16805be062
[Reland] 🔨 Refactor bound check for threshold and resolution ( #1675 )
...
* 🔨 Refactor bound check for threshold and resolution (#1668 )
* 🔨 Refactor bound check for threshold and resolution
* nits
* 🐛 Fix bound check. Add more unittest.
* Fix param value used in logs
2023-06-22 21:38:12 -04:00
lllyasviel
f58807c5f1
Revert " 🔨 Refactor bound check for threshold and resolution ( #1668 )"
...
This reverts commit 2d5785b43f .
2023-06-22 03:02:45 -07:00
Chenlei Hu
2d5785b43f
🔨 Refactor bound check for threshold and resolution ( #1668 )
...
* 🔨 Refactor bound check for threshold and resolution
* nits
2023-06-21 22:05:00 -04:00
Chenlei Hu
18a7abdd7f
Add `preview as input` button ( #1529 )
...
* ✨ Allow use preview
* 🐛 fix kwargs issue
2023-06-04 14:06:55 -04:00
Chenlei Hu
591b3de809
[Reland] Extract Prepare Mask logic ( #1528 )
...
* 🔨 Extract prepare mask logic
* 🐛 return Image instead of nparray
* 🐛 rename variable so that same variable always have same type
* 🎨 nits
2023-06-02 22:18:56 -04:00
lllyasviel
3c41f1546e
Revert "Extract prepare mask logic ( #1525 )" ( #1527 )
...
This reverts commit d7faaa491c .
2023-06-02 18:51:41 -07:00
Chenlei Hu
d7faaa491c
Extract prepare mask logic ( #1525 )
...
* 🔨 Extract prepare mask logic
* 🐛 return Image instead of nparray
2023-06-02 21:05:05 -04:00
Chenlei Hu
d99905418c
🔨 Extract pixel perfect calculation ( #1522 )
2023-06-02 18:28:44 -04:00
huchenlei
bbe357e6ac
✨ Add cache for preprocessors
2023-05-21 13:36:03 -04:00
lvmin
0cf1c97815
Merge branch 'main' of https://github.com/zombieyang/sd-webui-controlnet into zombieyang-main
2023-05-06 11:03:49 -07:00
unknown
74b32affa5
add modules detail test
2023-05-06 23:49:22 +08:00
ljleb
3476c48d8d
fix tests
2023-05-05 16:27:40 -04:00
ljleb
4abbf4d125
less changes
2023-05-05 14:50:52 -04:00
ljleb
ab83f84c6b
attempt to fix test
2023-05-05 14:40:14 -04:00
ljleb
a03b2f8a68
remove old enpoint test
2023-05-05 14:20:06 -04:00