Commit Graph

687 Commits (dd7550a08d65d1afff08b47c463c729820fb0b9c)
 

Author SHA1 Message Date
SsTtOoNnEe dd7550a08d
Rewrite Conv2dAdaptiveOps for conversion of EfficientNet (static shape) (#1045)
* Rewrite Conv2dAdaptiveOps for conversion of EfficientNet (static shape)

* Refactor codes and Add unit test

* Simplify codes

* update supported model configs in yaml

* update mmcls.yml

* resolve lint error

Co-authored-by: SenseTime Research Singapore <SENSETIME\research.sgres@sg0016000001u.domain.sensetime.com>
2022-10-17 16:20:30 +08:00
lvhan028 1c478393c0
update issue form (#1206)
* update issue form

* udpate issue form

* udpate issue form

* udpate issue form

* udpate issue form
2022-10-17 15:26:02 +08:00
tpoisonooo ace44ae9d9
improvement(scripts): cross build aarch64 (#1126)
* udpate

* update

* CI(scripts): add auto cross build aarch64

* docs(scripts): add zh_cn doc

* docs(scripts): update

* docs(scripts): update

* fix(tools): update

* docs(zh_cn): update

* fix(scripts): remove gcc-7

* docs(scripts): update result

* udpate

* fix(tools): remove useless option

* docs(en): typo

* Update cross_build_aarch64.md

* Update cross_build_aarch64.md

* fix(tools/scripts): review advices

* fix(tools/scripts): update

* fix(cmake): remove useless option

* Update aarch64-linux-gnu.cmake
2022-10-17 11:15:29 +08:00
Mengyang Liu f8551b0316
Fix rust_api CI (#1194)
* Update rust_api.yml

* Update rust_api.yml

* Update rust_api.yml

* Update rust_api.yml
2022-10-14 14:35:49 +08:00
Li Zhang 8c164ab3e5
[Fix] Detect filesystem library in CMake (#1190)
* detect filesystem library in CMake

* add filesystem.cmake
2022-10-14 12:52:16 +08:00
hanrui1sensetime c35099ef0c
fix layer norm when torch>=1.12 (#1168) 2022-10-11 14:29:13 +08:00
Li Zhang f389a68dd4
[Enhancement] Add a device field for `mmdeploy_mat_t` (#1176)
* add device field for mmdeploy_mat_t

* fix lint
2022-10-11 13:58:49 +08:00
Qingren fd21b98efa
[Docs] add the support information about MMPose Hourglass (#1118)
* [Docs] add the support information about MMPose Hourglass

* * add Hourglass support config

* update benchmark doc

* modify Hourglass AP under pytorch backend

* add regression test for Hourglass

* *update 03-benchmark/benchmark.md

* * modify mmpose.yml to ignore ncnn int8 test

* add trt_fp16 test results

* * add openvino test result

* * modify supported_models.md
2022-10-10 16:38:54 +08:00
RunningLeon 41fcc2242f
log cmd info for regresstion test (#1146)
* add log to regresstion test

* update for win

* update mmseg reg yml
2022-10-10 16:23:24 +08:00
AllentDan 76b837194f
Update timer (#1158)
* update time counter

* update test.py

* fix ci
2022-10-10 16:22:19 +08:00
Mengyang Liu ee1b4d756d
Update rust_api.yml (#1172) 2022-10-10 15:59:34 +08:00
tpoisonooo 5cdf29339b
feat(tools/scripts): add auto install jetson orin (#1105)
* feat(tools/scripts): add auto install jetson orin

* docs(script): rename file

* fix(script): if clause error

* style(scripts): typo
2022-10-09 15:53:19 +08:00
达芬奇 895d0749ef
Supplemental a parameter "device" (#1165)
* Supplemental a parameter "device"
补充一个参数“device”

* 补充一个参数“device”
Supplemental a parameter "device"
2022-10-09 14:26:14 +08:00
Mengyang Liu b2cb5722f7
Update get_started.md (#1155) 2022-10-08 09:16:54 +08:00
lvhan028 917643fcac
bump version to 0.9.0 (#1115) 2022-09-29 19:48:52 +08:00
AllentDan d153b5aa0a
add rewrite for ort (#1138) 2022-09-29 18:35:51 +08:00
hanrui1sensetime 161f27d493
fix mmedit test picture (#1131) 2022-09-29 17:13:23 +08:00
AllentDan 23e84f46ff
update mmcls yaml (#1137) 2022-09-29 17:09:17 +08:00
q.yao d282503012
update detyaml (#1133) 2022-09-29 12:14:06 +08:00
lvhan028 613acb366c
fix prebuilt error (#1123) 2022-09-28 17:52:09 +08:00
lvhan028 290d0d6e74
reorg demo/csrc (#1119)
* reorg demo/csrc

* disable det_cls and det_pose build
2022-09-28 11:47:00 +08:00
lvhan028 1da5464e11
reformat supported backends table in readme (#1109)
* reformat supported device and platforms

* use capital CPU
2022-09-27 20:05:32 +08:00
Chen Xin 0720ed8404
fix tracer (#1107) 2022-09-27 15:24:57 +08:00
Mengyang Liu 7da5c1408e
feat(CI): add rust-mmdeploy (#1100)
* Add CI of rust api

* Bug fixed

* Install Rust with actions

* Fix bug

* Fix bug

* Fix bug

* Fix bug

* Fix bug

* Add debugger-action

* Add debugger-action

* Fix bug

* Readd debugger

* Update mmdeploy dir path

* Update mmdeploy dir path

* Fix ld error

Co-authored-by: Liu Mengyang <liumengyang@Lius-MacBook-Pro.local>
2022-09-27 15:07:39 +08:00
Mengyang Liu 0effa59440
Split demos of C and C++ SDK into two subdirectories (#1099)
* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Combine add_example
2022-09-27 13:40:04 +08:00
tpoisonooo c5e4fcffbc
docs(quantization.md): remove ppq commit (#1095) 2022-09-27 12:35:24 +08:00
tpoisonooo 14e31fb85a
fix(regression_test): use cuda:0 as default (#1020)
* fix(regression_test): use cuda:0 as default

* fix(pillar_scatter.py): fix scaternd rewrite
2022-09-26 16:11:43 +08:00
Li Zhang bf887cc8bc
[Enhancement] Refactor SDK pipeline (#938)
* unify C API naming

* fix demo and move apis/c/* -> apis/c/mmdeploy/*

* fix lint

* WIP refactor pipeline

* backward compatibility

* working pipeline demo

* add text det-recog demo

* add det-pose demo

* fix build

* fix demo

* add environment interface

* add environment to pass scheduler & model info at runtime

* update demos

* add pipeline API for Python

* fix `FromPyObject`

* fix for opencv-4.2

* environment -> context, improve pipeline

* python model interface

* fix cmake

* fix python & cmake

* context & C++ pipeline API

* minor fix

* improve API

* fix shared libs

* refresh C/Python API

* propagate context

* fix  python demo

* fix

* add namespace

* fix namespace

* fix mis-changed strings

* fix

* fix python api

* rename

* clean-up

* fix pose detector

* clean-up

* clean-up

* clean-up

* fix python API build

* fix CI

* fix lint

* fix lint

* fix lint & demo

* install pipeline.hpp

* fix MSVC shared library build

* fix sample

* fix MSVC monolithic build

* minor fix
2022-09-26 16:11:14 +08:00
q.yao 6ac9c4d7a8
[Fix] fix det with static shape (#1049)
* fix det with static shape

* update rotated detection

* fix resize keep ratio
2022-09-23 14:45:57 +08:00
tpoisonooo 676f1bf49c
improvement(ubuntu_utils.py): check upstream libopencv-dev version (#1068) 2022-09-23 10:21:09 +08:00
tpoisonooo 107ae8499d
docs(jetsons.md): fix desc (#1090)
* docs(jetsons.md): fix desc

* docs(jetsons.md): update
2022-09-23 10:14:00 +08:00
q.yao ea7706cbfd
fix layer norm (#1015) 2022-09-21 16:24:47 +08:00
BrokenArrow fbe7586415
Add result of quantization of TextSnake (#1074)
* Update result of TextSnake

result from https://github.com/BrokenArrow1404/2022-MMLAB-SUMMERCAMP/blob/main/week4/README.md

* Update result of TextSnake

result from https://github.com/BrokenArrow1404/2022-MMLAB-SUMMERCAMP/blob/main/week4/README.md

* Add deploy config for quantization of TextSnake

* repair lint error
2022-09-21 15:28:28 +08:00
AllentDan e3859004ba
add mod rewriter for TRT (#1024) 2022-09-21 14:47:36 +08:00
whooray 1c5dcb799b
[Fix] fix broken link in docs english version write_config.md (#1078)
* fix typo error for how to write model config link

* Update write_config.md

zh_cn version does not exist
2022-09-20 17:51:19 +08:00
q.yao 6f5161b2fa
fix mmrotate int8 (#1050) 2022-09-19 17:10:40 +08:00
Chen Xin 7002ad21c2
fix ort-gpu inference (#1053) 2022-09-19 17:08:29 +08:00
Qingren fd07b26c2e
[Feature] Add mmpose configs for compatibility with Hourglass model in ncnn backend (#1064)
* [FEATURE] add mmpose configs for compatibility with Hourglass model

[Motivation]
- The added configs are aim to support Hourglass pose-detection model in ncnn backend.
- Hourglass model needs explicit input shape with 256x256 or 384x384.
- Hourglass model can be quantitized to int8 successfully in ncnn backend.

[Complementary]
The mmpose config of Hourglass mode is in:
- https://github.com/open-mmlab/mmpose/blob/master/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hourglass52_coco_256x256.py
- https://github.com/open-mmlab/mmpose/blob/master/configs/body/2d_kpt_sview_rgb_img/topdown_heatmap/coco/hourglass52_coco_384x384.py
Quantitization results are shown in https://github.com/Qingrenn/mmdeploy-summer-camp/blob/main/week4/result.md

* Keep only one config (pose-detection_ncnn-int8_static-256x256.py) and remove the others.
2022-09-19 14:13:55 +08:00
Qingren 18ccb15b7b
[Feature] Add Hourglass pose detection quantization evaluation result. (#1066)
Detail results: https://github.com/Qingrenn/mmdeploy-summer-camp/blob/main/week4/result.md
2022-09-19 14:09:46 +08:00
q.yao 0caeaf238c
[CustomOps] TensorRT Gather Topk Ops (#1033)
* add gather topk

* add shape inference and document

* fix faster rcnn

* reshape topk

* fix
2022-09-19 13:48:26 +08:00
tpoisonooo 50bd6b1703
improvement(visualize.py): headless enable inference (#1041)
* improvement(visualize.py): split render and display

* fix(visualize.py): skip render and save for headless device

* docs(deploy.py): update desc
2022-09-19 11:30:47 +08:00
Jingwei Zhang cbe767efb1
[Fix] Fix docs under supported-backends fold (#1061)
* fix docs of supported-backends

* fix docs
2022-09-18 13:36:28 +08:00
ichitaka a1a19f0fc1
Fixed typo for install commands for TensorRT runtime (#1025)
* Fixed typo for install commands for TensorRT runtime

* Apply typo-fix on 'cn' documentation

Co-authored-by: Tümer Tosik <tumer_t@hotmail.de>
2022-09-15 20:23:07 +08:00
Jelle Maas 2f47262d7a
Fix `RoIAlignFunction` error for CoreML backend (#1029) 2022-09-14 17:50:37 +08:00
tpoisonooo 538c9cfbb1
docs(scripts): update auto install desc (#1036) 2022-09-14 17:49:29 +08:00
AllentDan 441d0e2703
fix two stage batch dynamic (#1046) 2022-09-14 17:48:34 +08:00
AllentDan 615668ec63
update api in doc (#1021) 2022-09-14 17:47:26 +08:00
q.yao e912e86d24
BUG P0 (#1044) 2022-09-14 17:20:11 +08:00
Chen Xin b87afb9ebb
fix mmdeploy builder on windows (#1018)
* fix mmdeploy builder on windows

* add pyyaml

* fix lint
2022-09-09 15:03:55 +08:00
q.yao f2bc808fe3
New issue template (#1007)
* update bug report

* update issue template

* update bug-report
2022-09-07 16:00:37 +08:00