Commit Graph

133 Commits (4ceb6e8a4b86605cdeb6cd7087d1d7ef34452d85)

Author SHA1 Message Date
青龍聖者@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
青龍聖者@bdsqlsz 01e4574d8e Fix issues #2312 caused by capitalization 2023-12-18 15:19:59 +08: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 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 8395e4348f
🔨 fix deprecation warnings (#2278) 2023-11-21 22:15:56 -05:00
fuchen.ljl 247483b0e0
Update __init__.py (#2248)
Fix Controlnet cannot support the -- use CPU parameter, built-in will still load cuda
2023-11-12 21:43:34 -05:00
lllyasviel 3011ff6e70
support all recent ip-adapters
support all recent ip-adapters
2023-10-31 19:49:08 -07:00
lllyasviel f77c5eb5fa
fix ipadapter-plus (#2065) 2023-09-05 21:35:10 -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 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
lvmin 4085421694 fix zoe 2023-08-28 05:50:32 -07:00
Chenlei Hu 0cfc88b6a8
🐛 DWPose face keypoint num fix (#1917) 2023-08-13 20:07:03 -04:00
Chenlei Hu 50b5436bb3
🐛 Fix normalization issue (#1913) 2023-08-13 14:08:19 -04:00
Chenlei Hu d67f31a3a7
🐛 Handle no detection case (#1904) 2023-08-10 21:56:41 -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
lvmin 20d25bb546 Revert "Port DW Pose preprocessor (#1856)"
This reverts commit 0d3310f599.
2023-08-05 02:58:03 -07:00
Chenlei Hu 82a6213631
🐛 Fix all keypoints invalid issue (#1871) 2023-08-04 21:41:50 -04:00
Chenlei Hu 7c695c9d9a
🐛 Delay import of mmpose (#1866) 2023-08-04 19:11:44 -04: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
Leye Hu 5fc952793a
fix: runtime error for directml in pidinet (#1654) 2023-06-18 13:43:46 -04:00
lingyu.hai 9789d097fe fix runtime error for multi gpu in pidinet 2023-06-13 15:05:21 +08:00
lllyasviel 69f5760a32
fix dependency (#1595)
* fix dependency

* fix dependency
2023-06-08 17:50:56 -07:00
lllyasviel 34df0a3374
prepare for future preprocessors (#1552) 2023-06-04 14:18:05 -07:00
Chenlei Hu 5b681b071b
New feature: integrated openpose editor (#1454)
🎨 nits

🎨 Load alert screen when no editor is detected.

🔧 add option to hide edit button

🐛 Resolve conflicts during rebase

🚧 Set use preview as input after edit

🐛 Fix merge conflict
2023-06-04 15:54:35 -04:00
lvmin 9985eafc19 remove old codes 2023-05-06 10:48:04 -07:00
lvmin 99008f6b86 rename 2023-05-06 10:32:50 -07:00
lvmin a57a8f71e0 fix all ratio problems 2023-05-06 10:27:17 -07:00
huchenlei 1c1ff7b7d5 📝 Replace pipe operator on type annotation with 3.8 compatible syntax 2023-05-02 16:26:32 -04:00
huchenlei 99820f8db7 📝 Use 3.8 compatible syntax 2023-05-02 16:13:24 -04:00
huchenlei a96b98e4fc 📝 add back type annotation on BodyResult 2023-05-02 13:48:38 -04:00
lvmin 53e5bb4d6f remove dangerous options, add leres++ 2023-05-02 01:29:01 -07:00
lvmin f715763d9e fix strange openpose problem 2023-05-02 00:30:36 -07:00
lvmin e07a547412 fix leres 2023-05-01 22:03:07 -07:00
camenduru b0e1521ca1
cloudstor.aarnet.edu.au -> 429 Too Many Requests 2023-05-01 22:26:48 +03:00
lvmin cac93c33d5 openpose license 2023-05-01 03:57:54 -07:00
lvmin 3289105e96 fix openpose mistake 2023-05-01 03:28:22 -07:00
lvmin 65e0218b9e fix openpose mistake 2023-05-01 03:27:32 -07:00
lvmin 19eb215c0f fix openpose mistake 2023-05-01 03:22:53 -07:00
huchenlei c700483928 Add download json button 2023-04-30 21:13:06 -04:00
huchenlei e6b6993b6d 🐛 handles np float types when serializing JSON 2023-04-28 22:05:09 -04:00
huchenlei 3875a16abe Add json encoding logic 2023-04-28 17:35:50 -04:00
huchenlei afc27c0c26 Add documentation 2023-04-28 16:52:11 -04:00
huchenlei 09296b1684 Refactor openpose data representation 2023-04-28 16:30:04 -04:00
lvmin 1f1a9e135d fix 2023-04-26 19:46:55 -07:00