Commit Graph

942 Commits (413cc769885c16c3551ae36ab753b3a4ffb01c6d)
 

Author SHA1 Message Date
lvhan028 413cc76988
bump version to 1.0.0rc3 (#1811) 2023-02-24 18:41:40 +08:00
lvhan028 cdfe18dfdb
[Fix] disable building demos when preparing prebuilt package (#1803)
* disable building demos when preparing prebuilt package

* update

* update

* fix ci errors

* fix circleci error

* fix github ci by using default build options

* update
2023-02-24 17:08:17 +08:00
q.yao bf36950f0e
[Fix] fix centernet (#1768)
* fix centernet

* update sdk transform
2023-02-24 10:50:03 +08:00
Li Zhang b5fef4873a
[Cherry-pick] fix missing include for gcc-10 build (#1804)
(cherry picked from commit f78a452681)
2023-02-23 15:13:07 +08:00
Li Zhang 053d31c85e
avoid linking static libs in monolithic build (#1801) 2023-02-23 14:22:27 +08:00
Chen Xin 116098e9a6
[Fix] Fix package_tools (#1772)
* copy mmdeploy_onnx2ncnn when build wheel package

* prevent copy build/lib/* when build wheel
2023-02-23 10:10:40 +08:00
Yee 2a98db9670
[fix] Fix component not found issue by changing `class YOLOV5Head` to `class YOLOv5Head` (#1785) 2023-02-23 10:10:19 +08:00
q.yao 7b455563dd
fix tensorrt int8 (#1799) 2023-02-22 21:42:06 +08:00
Li Zhang 0b9a9e2233
[cherry-pick] add `Model::ReadConfig` & simplify handle creation (#1794)
(cherry picked from commit eb75bee921)
2023-02-21 20:16:01 +08:00
SineYuan b31481692a
fix normalization to_rgb option (#1792) 2023-02-21 18:05:36 +08:00
AllentDan 4ce69dc1c7
[Fix] turn -DMMDEPLOY_SHARED_LIBS=ON when building rknn (#1786)
* turn -DMMDEPLOY_SHARED_LIBS=ON when building rknn

* fix rknpu2
2023-02-21 17:13:55 +08:00
AllentDan d0f8be63f3
fix ut and text_det create_input (#1756) 2023-02-20 16:45:20 +08:00
Li Zhang 9fee1920fa
[Fix] Fix palette generation on opencv-3.x (#1779) 2023-02-17 18:40:44 +08:00
q.yao a3c0566451
bump version to 1.0.0rc2 (#1754)
* bump version

* update cmake
2023-02-16 14:20:33 +08:00
AllentDan 40a66fb3a0
Fix MRCNN visualization due to error condition for mask resize (#1767) 2023-02-15 16:00:03 +08:00
lvhan028 73fd14d387
remove score filtering in rtmdet_head rewriter since it leads to error shape in batch inference (#1762) 2023-02-15 11:26:11 +08:00
vansin 8cd3048937
[Doc] Add twitter discord medium youtube link (#1763) 2023-02-15 11:06:06 +08:00
Chen Xin a2f1bcb68e
[cherry-pick] Support cmake configure when system exists multiple cuda versions. (#1760)
* update cmake

* typos
2023-02-14 18:24:10 +08:00
Li Zhang 44b144f095
[Cherry-pick] Fix `WarpBbox` and memory leak in `TextRecognizer` (#1752)
(cherry picked from commit cadc2658f3)
2023-02-13 19:55:36 +08:00
q.yao f7fdcb4aa0
fix instance norm double free (#1749) 2023-02-13 19:42:54 +08:00
lvhan028 2efb42d8d8
[Enhancement] check in tensorrt-fp16 deployment config for simcc (#1741)
* check in tensorrt-fp16 deployment config for simcc

* update
2023-02-09 20:11:53 +08:00
Li Zhang 19815ae9ae
add coco whole-body skeleton (#1742)
(cherry picked from commit 31b099a37b)
2023-02-09 19:10:07 +08:00
AllentDan 8e254bc846
enable TRT parse ONNX model from file (#1734) 2023-02-09 15:55:04 +08:00
Li Zhang a8f8c4febe
[Refactor] Support batch inference with shape clustering (#1733)
* refactor `NetModule`

* name

* fix sorting

* fix indices

(cherry picked from commit f5a05b5219)
2023-02-08 20:36:29 +08:00
AllentDan bc1b6440cd
fix mmocr create input error when the arg is array (#1721) 2023-02-08 13:47:47 +08:00
Xiang Xu d28020ec34
[Docs] Update tutorial "introduction to model deployment" (#1709)
* update docs

* update
2023-02-08 11:36:06 +08:00
lvhan028 c3b6c37464
Cherry pick PR #1625, #1715 and #1725
Cherry-pick PR 1625, 1715, 1725 to dev-1.x
2023-02-08 11:28:05 +08:00
Li Zhang 2731b61abd [Fix] Add an option to flip webcam inputs for pose tracker demo (#1725)
(cherry picked from commit 5de0ecfcaf)
2023-02-07 21:12:44 +08:00
Li Zhang 682cb79bc5 [Enhancement] Optimize C++ demos (#1715)
* optimize demos

* show text in image

* optimize demos

* fix minor

* fix minor

* fix minor

* install utils & fix demo file extensions

* rename

* parse empty flags

* antialias

* handle video complications

(cherry picked from commit 2b18596795)
2023-02-07 21:12:44 +08:00
Chen Xin 1f56eea807 [Feature] Support feature map output for mmsegmentation (#1625)
* add feature map output for mmseg

* update api

* update demo

* fix return

* update format_shape

* fix lint

* update csharp demo

* update python demo && api

* fix coreml build

* fix lint

* better sort

* update

* update cpp demo & add missing header

* change to CHW

* update csharp api

* update isort version to 5.12.0

* fix python api

* fix log

* more detail api docs

* isort support python3.7

* remove isort change

* remove whitespace

* axes check

* remove FormatShapeImpl

* minor

* add permute tc

* remove stride buffer

(cherry picked from commit b85f34141b)
2023-02-07 21:04:20 +08:00
AllentDan a9f8d8c951
fix torch allocator resouce releasing (#1711) 2023-02-06 11:57:56 +08:00
RangiLyu 87e48140f4
[Feature] Support RTMDet-Ins. (#1662)
* [Feature] Support RTMDet-Ins.

* fix visualize

* fix rewrite trt

* add config

* support torch 1.13

* fix keep ratio resize

* resolve scale factor bug

* set to None
2023-02-06 11:06:27 +08:00
AllentDan 3e6f2b3f47
fix error: build_backend_model() takes from 1 to 2 positional arguments but 3 were given (#1705) 2023-02-03 13:31:13 +08:00
Chen Xin 8697dacd8d
[Fix] fix mmaction2 visualizer (#1703)
* fix mmaction2 visualizer

* fix lint
2023-02-03 10:20:20 +08:00
wanglin db9e633b68
[Doc] Correct cloned branch in build document (#1700) 2023-02-03 10:19:43 +08:00
q.yao a62ed41f44
[Fix] miss importing torchvision in torchscript wrapper (#1702) 2023-02-02 14:11:16 +08:00
q.yao 153682e804
[Fix] add bounds to avoid large resource usage of nms operator on jetson (#1687)
* fix nms trt jetson

* fix comment

* clang format
2023-02-01 15:45:22 +08:00
hanrui1sensetime c3fda1905b
[Enhancement] Add mmyolo CI on mmdeploy (#1650)
* add mmyolo ut workflow

* add test_linux/windows ort/trt for mmyolo

* fix abs path to rel path

* fix mmyolo ut

* fix mmyolo position

* fix mmyolo dir

* fix build yolo

* fix yolo path

* fix yolo path

* fix yolo install path

* fix yolo install path for cuda

* remove dumplicated ci

* reformat script
2023-02-01 14:49:59 +08:00
AllentDan 5ab0bcb5ea
[Fix] fix rknn quantization pipeline (#1636)
* fix rknn quantization pipeline

* resolve comments
2023-01-31 16:35:11 +08:00
Chen Xin a19cf64765
Fix mapping error from mmpose's regression codec to SDK's components (#1684) 2023-01-31 15:58:04 +08:00
hanrui1sensetime 2ceabd0274
[Enhancement] Add 320x320 static config for tensorrt (#1689)
* add trt static 320 config for rtmdet

* only add on detection folder
2023-01-31 14:36:17 +08:00
lvhan028 8062e4e41d
[Enhancement] remove MMDEPLOY_BUILD_SDK_CXX_API option (#1688) (#1692)
* remove MMDEPLOY_BUILD_SDK_CXX_API option

* update

* update
(cherry picked from commit b101a4af65)
2023-01-31 14:25:22 +08:00
lvhan028 3bf1336262
Cherry pick PR #1663, #1666, #1486 to dev-1.x
Cherry pick PR 1663, 1666, 1486 to dev-1.x
2023-01-31 13:59:00 +08:00
q.yao dc1d9df315
[Fix] fix coreml for branch 1.x (#1669)
* fix coreml for branch 1.x

* fix docstring

* update docsting1
2023-01-31 13:49:48 +08:00
tripleMu 0c1adba988
Fix isort lint error by upgrading it to 5.11.5 (#1680) 2023-01-31 13:32:41 +08:00
Li Zhang 7d96969149 [Feature] Pose tracker C/C++/Python API&demos (#1663)
* add PoseTracker API

* add mahalanobis distance, add det_pose demo

* simplify api

* simplify api

* fix cmake & fix `CropResizePad`

* ignore out of frame bboxes

* clean-up

* fix lint

* add c api docs

* add c++ api docs/comments

* fix gcc7 build

* fix gcc7+opencv3

* fix stupid lint

* fix ci

* add help info & webcam support for C++ pose tracker demo

* add webcam support for Python pose tracker demo

* fix lint

* minor

* minor

* fix MSVC build

* fix python binding

* simplify module adapter

* fix module adapter

* minor fix

(cherry picked from commit 3d425bbb9f)
2023-01-31 12:07:40 +08:00
Li Zhang d91ba2f3c8 fix 'cvtcolor' error in the preprocessing of single channel images (#1666)
(cherry picked from commit 8bb3fcc6d8)
2023-01-31 12:07:40 +08:00
Chen Xin 8d344ee164 [Enhancement] Speedup TopDownAffine by CropResizePad (#1486)
* "use 'CropResizePad' to speed up topdownaffine"

* add missing header

(cherry picked from commit c458e2a524)
2023-01-31 12:07:40 +08:00
AllentDan 878a364470
fix rknn output index error in SDK (#1682) 2023-01-30 20:51:06 +08:00
hanrui1sensetime cbddf5a458
[Fix] Fix preprocess_model_config for CIFAR dataset (#1659)
* fix cifar10 for mmcls

* remove unnecessary code
2023-01-18 16:31:11 +08:00