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
3216fba6ed
🐛 Fix infotext advanced weighting ( #2408 )
2024-01-04 17:02:44 -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
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