Commit Graph

1010 Commits (faf05fe358324a43f9d27778f3be0d77654d8cbb)
 

Author SHA1 Message Date
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
Chen Xin 15ad234a7a
Cherry-pick PR 1366, 1370, 1460, 1577, 1598, 1601, 1612, 1626 to dev-1.x (#1635)
* [Fix] Fix example standalone build for msvc (#1626)

* fix example build for msvc

* move /Zc:__cplusplus to core

* [FIX] Fix csharp net48 and batch inference (#1370)

* fix csharp net48

* add missing file

* update

* fix batch inference

* update demo

* update

* update version

* update nuget package version & fix project name

* build monolithic SDK by default (#1577)

* Fix debug build for PoseTracker (#1601)

* [Fix] Fix aligned allocations on Android (#1612)

* fix android alignment

* fix typo

* fix size

* Fix build error on windows-cuda platform (#1598)

* [Fix] Relax module adapter template constraints (#1366)

* relax module adapter constraint

* remove forwarding `operator()`

* fix YOLOV5Head naming

Co-authored-by: Li Zhang <lzhang329@gmail.com>
2023-01-17 18:52:58 +08:00
q.yao 953d33cc09
[Fix] fix headless device visualize (#1630)
* fix headless device visualize

* remove pretrain

* sync with 1641

* better show
2023-01-17 11:00:24 +08:00
AllentDan ff95bf48ea
[Feature] Support more MMOCR models: DBNet++, TextSnake, ABINet, MRCNN (#1534)
* WIP ocr

* add mrcnn rewrite

* add any rewrite for abinet

* export abinet to onnx

* fix abinet onnx export

* support abinet to tensorrt static and modify mmocr.yml

* add textsnake and dbnetpp

* support mrcnn in ORT and TRT

* add a condition before update data_preprocessor scope

* update doc and mmocr.yml

* add ut

* markdown and simple config

* write build_pytorch_model in child class

* update any_default

* remove where in abi_language_decoder___get_length__default

* keep where

* fix UT

* fix UT

* fix UT

* update mmocr.yml and config description

* tensorrt-fp32 -> tensorrt

* update doc
2023-01-16 12:06:03 +08:00
lvhan028 7e66cfc59b
Cherry-pick PR #1460: optimize pose tracker
Cherry-pick PR 1460 to dev-1.x
2023-01-16 10:57:06 +08:00
hanrui1sensetime ef260d8df5
[Fix] Substitute SyncBN with BN for mmpose (#1631)
* fix syncbn for mmpose

* unify build_pytorch_model
2023-01-16 10:50:45 +08:00
RunningLeon 89580eb496
cherry-pick #1608: change log file extension to '.txt' in regression test(#1637) 2023-01-13 16:12:37 +08:00
AllentDan 11e8a2179e
Fix the performance test for RKNN (#1583) 2023-01-11 11:30:04 +08:00
RunningLeon 6b9bfcfceb
[Fix]: fix numba numpy version not compatiable in circileci (#1611)
* fix numba numpy version not compatibale

* fix mmcls ut

* update

* update

* only do lint when deploy configs changed
2023-01-11 10:48:52 +08:00
AllentDan 92efd9cb7b
[Doc] update build doc for jetsons (#1621)
* update build doc for jetsons

* set lint only true for docs

* change base revision of circleci config

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-01-10 20:03:32 +08:00
Nghia 3e22f96f04
Fixed calling miniconda script in Dockerfile (#1629) 2023-01-10 15:50:15 +08:00
AllentDan 0cfee8c0f4
fix no test_step error in TorchWrapper (#1600) 2023-01-10 10:53:38 +08:00
hanrui1sensetime f7ea130a6f fix android build command 2023-01-06 16:11:56 +08:00
Qingren 71fc8e3241
CodeCamp #101: Support MMDetection 3.x RTMDet model deployment on RV1126 (#1551)
* * partition rtmdet

* * add rtmdet deploy config

* * add rtmdet deploy config

* * modify rtmdet pipline anchor_generator's info dump
* support rtmdet infer in sdk

* fix a bug

* * fix a bug in csrc/mmdeploy/preprocess/transform/normalize.cpp

* * fix a bug

* * update docs

* * fix lint

* * update several urls in docs
2023-01-06 14:01:31 +08:00
Li Zhang db8de7ec1f
[Fix] Fix typo in 'LetterResize' transform (#1618) 2023-01-06 11:24:54 +08:00
AllentDan 5d0a08eafb
fix log info typo of check env (#1613) 2023-01-06 11:10:15 +08:00
Li Zhang f288d00d50 [Enhancement] Optimize pose tracker (#1460)
* sync master

* suppress overlapped tracks

* add CUDA WarpAffine

* export symbols

* fix linkage

* update pose tracker

* clean-up

* fix MSVC build

* fix MSVC build

* add ffmpeg cli command
2023-01-05 11:57:21 +08:00
Xin Li 14550aac38
[Enhancement] Switch pip to mim in Docs and Dockerfile (#1591)
* change pip install to mim install in docs and Dockerfil

* merge with latest dev-1.x
2023-01-04 23:11:13 +08:00
hanrui1sensetime 8a05b8d62d
Cherry-pick #1439 to fix 'topk' on different devices for onnxruntime-gpu inference (#1603)
Co-authored-by: grimoire <yaoqian@sensetime.com>
2023-01-04 23:10:19 +08:00
Chen Xin c67e2db68e
Fix build error on cuda10.2 platform (#1597) 2022-12-30 19:48:55 +08:00
lvhan028 09f1952457
bump version to v1.0.0rc1 (#1595) 2022-12-30 18:25:24 +08:00
q.yao deaefacea1
Add softmax to cls model (#1573)
* Add softmax to cls model

* fix cls ci

* multihead

* update classification_model.py
2022-12-30 15:43:12 +08:00
hanrui1sensetime baa86aa4a5
[Fix] Fix batch inference error for Mask R-CNN (#1576)
* sync pr1575 to dev-1.x

* only test_img accept list input
2022-12-30 14:27:41 +08:00
hanrui1sensetime 7f2e8f7ce0
[Fix] Fix onnx2ncnn.cpp bugs. (#1518)
* fix onnx2ncnn

* remove unused debugging info
2022-12-29 12:14:22 +08:00
q.yao d6fdb3e860
[Refactor] Add backend manager for 1.x (#1515)
* backend manager 1.x

* update pplnn init

* rename file

* add to backend

* add check env and misc

* fix action

* fix ut

* fix comment
2022-12-28 11:38:01 +08:00
Yanyi Liu 6288141bd5
[Feature] Support RTMDet-R deployment (#1553)
* support rtmdet-r

* add comments

* fix dep config

* add ut

* fix ut

* fix ut

* fix url

* fix en url
2022-12-26 09:52:44 +08:00
kota-iizuka 85be66f7a6
[Fix] rename 'forward_test' to 'predict' (#1561) 2022-12-22 22:38:23 +08:00
q.yao e0ed95ebc4
[Fix] fix unittest and suppress warning (#1552)
* fix unittest and some warning

* fix read string

* snake
2022-12-22 19:57:36 +08:00
q.yao 0e656067a6
[Enhancement] Support tvm 1.x (#1531)
* support tvm 1.x

* fix tvm sdk export
2022-12-22 00:15:47 +08:00
DDGRCF 6e91614171
CodeCamp #102: support SOLO deployment with OpenVINO (#1454)
* feat: support solo mmdet3.x openvino 2.0 api

* feat: support solo mmdet3.x openvino

* fix: lint

* fix: add solo head test

* docs: add supported_modesl

* docs: add supported_models

* fix: fix unreasonable code

* fix: fix ci failed

* feat: add linspace func rewrite

* fix: fix unreasonable rewrite linspace__onnx

* fix: change func name from __onnx to __default

* feat: add solo test regression
2022-12-22 00:02:25 +08:00
lvhan028 aaa880e594
fix api build error in readthedocs (#1567) 2022-12-21 21:59:44 +08:00
AllentDan acae7a756e
add is_batched argument to pipeline.json (#1528) 2022-12-20 17:37:47 +08:00
q.yao 84ee45bc35
torchjit mdcn 1.x (#1536) 2022-12-20 15:13:49 +08:00