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
f6f36e3bbf
Add 'image_mask' field for compatibility with SD Forge ( #2717 )
...
* Add 'image_mask' field for compatibility with SD Forge
* Merge img2img test and txt2img tests
* Reduce target size to speed up CQ
2024-03-30 17:32:06 -04:00
Chenlei Hu
f7aa688402
Fix seg preprocessor ( #2716 )
2024-03-30 15:36:41 -04:00
Chenlei Hu
4e9ac19cbc
Migrate detect_test and improve coverage ( #2715 )
...
* Migrate detection tests
* Add test results
* Skip cq disabled tests
2024-03-30 15:33:57 -04: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
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
Chenlei Hu
482288e5bf
✅ Update ipadapter tests to test negative prompt ( #2570 )
2024-01-23 19:14:20 -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
a79661e0db
🚚 Move inpaint crop logic as a function ( #2534 )
...
* Add tests
* 🔨 Extract crop logic
2024-01-21 19:00:28 -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
Chenlei Hu
8870e35682
🐛 Fix outpaint 2 ( #2485 )
...
* 🐛 Fix outpaint
* 🐛 Fix lama outpaint
2024-01-16 12:36:04 -05:00
Chenlei Hu
af9c3cdb9c
🔨 Refactor choose_input_image logic ( #2468 )
...
* ✅ Add inpaint full cov tests
* More tests
* 🔨 Refactor choose input image logic
* ✅ Update unittest expectation
* nits
2024-01-14 18:58:39 -05:00
Chenlei Hu
8bd8057cca
🐛 Fix hr_option parsing ( #2398 )
2024-01-03 08:50:57 -05:00
Chenlei Hu
7aaf263208
✨ Add hr_option (Both, High res only, Low res only) ( #2379 )
...
* ✨ Add hr_option
🎨 Only show when relevant
✅ Add unit test
* 🐛 fix per-unit
2024-01-01 00:06:55 -05:00
Chenlei Hu
11019f4820
✨ Support advanced_weighting in API ( #2368 )
...
* ✨ Support advanced_weighting in API
* 📝 add note
* 🐛 nits
* 📝 Add examples
2023-12-30 17:35:52 -05:00
liubo0902
b7a9bea231
fix image invert detect ( #2356 )
...
* fix image invert detect
* ✅ Add unittest
---------
Co-authored-by: huchenlei <chenlei.hu@mail.utoronto.ca>
2023-12-24 21:31:51 -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
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
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
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
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
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
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
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
ljleb
c4dea407eb
guessmode -> control_mode
2023-05-05 14:10:40 -04:00
ljleb
274645d0c7
merge 'main' into this branch
2023-05-05 14:05:38 -04:00
ljleb
c5ea2f7027
add back main just to be sure
2023-05-05 12:32:48 -04:00
ljleb
31c52c8244
remove flat args
2023-05-05 12:28:26 -04:00
ramyma
5d387abf19
fix: Raise 500 exception instead of returning an error on `detect` API call ( #863 )
...
fix: Raise 422 exception instead of returning an error on `detect` API call
2023-05-03 22:03:32 -04:00
lvmin
0a4589e373
better codes, version flag
2023-05-03 00:42:49 -07:00
lllyasviel
f20d0fa396
assert we have really tested preprocessors
2023-05-02 15:47:52 -07:00
huchenlei
47b7bafa83
✅ Only test depth and openpose_full preprocessor
2023-05-02 17:58:03 -04:00
huchenlei
1a54ad4ffa
🐛 Exclude clip_vision preprocessor
2023-05-02 17:50:13 -04:00
huchenlei
0f915bf983
✅ Add txt2img test with preprocessors
2023-05-02 17:50:13 -04:00
lvmin
e7c264bf50
try fix github test
2023-04-26 20:51:46 -07:00