Commit Graph

51 Commits (8a8a42e4168c7edf89ff7030232f87ae3ee56b8b)

Author SHA1 Message Date
Chenlei Hu aa2aa812e8
Remove dep basicsr (#2682)
* Remove dep basicsr

* nit
2024-03-05 21:52:19 -05:00
Chenlei Hu 125f8e8bd2
🐛 Use opencv for onnx model inference in animal openpose (#2376) 2023-12-31 12:10:53 -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 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 8395e4348f
🔨 fix deprecation warnings (#2278) 2023-11-21 22:15:56 -05: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
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
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
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 f715763d9e fix strange openpose problem 2023-05-02 00:30:36 -07: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 b6f6588417 add licenses 2023-04-19 21:29:52 -07:00
lvmin 483450add6 fix 90% amd problems 2023-04-19 00:37:20 -07:00
lvmin 57b95a3a78 better module 2023-04-18 00:21:29 -07:00
lvmin 1d07f5ebd7 change annotator paths so that users can remove all when corrupted 2023-04-17 22:48:00 -07:00
Mikubill b7a2058419 fix: deprec thr-based inversion (and #736), cleanup code 2023-04-15 07:41:26 +00:00
Mikubill f4f51abd3c fix: add fallback path 2023-02-22 14:20:25 +00:00
missionfloyd ca88ccd8ed
Merge branch 'main' into model-path 2023-02-21 22:37:45 -07:00
Mikubill caa56b7dc6 minor fix and #276 2023-02-22 04:07:12 +00:00
missionfloyd 453424fe21 Separate annotator folders 2023-02-18 15:39:15 -07:00
missionfloyd e1ff318d72 Move annotators 2023-02-17 15:48:27 -07:00
Kakigōri Maker 7a427668c8
Revert "use relative path for download directory" 2023-02-17 01:26:13 +09:00
Luo Boming 4b8dea44af use relative path for download directory 2023-02-17 00:07:18 +09:00
Mikubill c7c9f936d0 fix: unload models when switching preprocessor 2023-02-15 13:03:35 +00:00
brkirch 843c20a706 Add support for using the web UI torch device 2023-02-14 05:48:58 -05:00
Mikubill 21056faa2a feat: add samples 2023-02-13 09:58:17 +00:00
Mikubill eed7e5dd51 feat: make openpose mode works 2023-02-13 09:10:52 +00:00