Commit Graph

289 Commits (4bb9bc738c9008055fbc9347f46da70ee60fdad3)

Author SHA1 Message Date
RunningLeon 4bb9bc738c
bump version to v1.0.0 (#1960)
* change docs from 1.x to main

* bump version

* update readme status info and highlights

* revert version change

* fix dead links

* fix script

* fix docs

* fix building status

* fix md lint error

* upgrade to ubuntu20.04 for github ci

* Revert "upgrade to ubuntu20.04 for github ci"

This reverts commit 9c598f4857.

* update codebase md files

* upgrade to ubuntu20.04 for github ci

* fix

* fix requirements

* fix

* fix ci

* bump version

* fix

* fix pplnn torchscript

* fix building status

* fix ncnn

* fix

* remove circileci hold

* fix pytorch image
2023-04-06 12:07:42 +08:00
RunningLeon 0196cd0048
[Enhancement]: Update dockerfile and add github release note (#1952)
* update dockerfile and add github release note

* fix typo in get_started

* fix comment
2023-04-03 15:57:20 +08:00
Chen Xin 8cab33c4f9
Update get_started.md (#1947)
* update generate_build_config to support cxx11abi tag

* test prebuild ci

* update docs/zh_cn/get_started.md

* update docs/en/get_started.md

* fix prebuild ci

* update prebuilt_package_windows.md

* update prebuild ci deps

* fix prebuild ci

* try to fix prebuild ci

* fix prebuild ci

* remove trigger [no ci]
2023-04-03 11:11:47 +08:00
Chen Xin ea73f20fe4
[Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1821)
* rename mmdeploy_python -> mmdeploy_runtime

* remove incompatible build config

* Revert "remove incompatible build config"

This reverts commit cdc780cde5.

* fix builder

* update package_tools docs

* fix linux set_env script

* fix gcc 7.3 aligned_alloc

* fix link

* comment temporarily as text_det_recog can't be built with prebuild package built under manylinux
2023-03-29 20:57:21 +08:00
Shaun 50bd7e961e
support multi_scale_deform_attn trt plugin (#1844)
* support multi_scale_deform_attn trt plugin

* fix lint error

* add onnx symblic fun

* init msdeformablecrossattn symblic fun & fix plugin

* unittest for ms_deformable_cross_attn

* fix template

* update unittest

* fix input contiguous of trtwrapper

* update doc description
2023-03-17 15:51:02 +08:00
lvhan028 bace0a20d8
upgrade onnx to 1.13.0 to resolve security issue (#1793) 2023-03-09 16:55:23 +08:00
q.yao 91a0a9af0b
[Fix] Fix unit test in dev1.x (#1790)
* fix erros in ut

* use nms_ratated ops instead of ext

* fix ut

* fix superresolution

* update super_resolution
2023-03-08 14:32:50 +08:00
Andy 27f5e70e34
[Featuure] Support Vacc Backend (#1679)
* [Enhancement] Support vacc backend

* update vacc wrapper

* vacc docs

* update vacc docs and remove some comments

* update vacc backend configs

* get vacc_det real output

* Fix vacc: pre-commit run

* fix pre-commit

* update vacc quantize

* update vacc docs.

* update vacc docs.

* [Fix]vacc wrapper and support set calib_num

* add vacc_seg model_type

* update vacc_det type

* update vacc_det type

* fix typo

* [Fix] some typo

* feats: update mmseg vacc sample

* feats: update mmseg vacc sample

* feats: update mmdet vacc sample

* feats: update vacc quant_dataset func.

* update vacc wrapper exit-code

* update vacc segmentor setting

* update vacc seg base_decode_head rewriter

* fix vacc wrapper outputs
2023-02-27 14:35:16 +08:00
lvhan028 413cc76988
bump version to 1.0.0rc3 (#1811) 2023-02-24 18:41:40 +08:00
q.yao a3c0566451
bump version to 1.0.0rc2 (#1754)
* bump version

* update cmake
2023-02-16 14:20:33 +08:00
Xiang Xu d28020ec34
[Docs] Update tutorial "introduction to model deployment" (#1709)
* update docs

* update
2023-02-08 11:36:06 +08:00
wanglin db9e633b68
[Doc] Correct cloned branch in build document (#1700) 2023-02-03 10:19:43 +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
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
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
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
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
lvhan028 09f1952457
bump version to v1.0.0rc1 (#1595) 2022-12-30 18:25:24 +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
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
AllentDan 67c1cd2475
Add YOLOv5 support for RV1126 device. (#1321)
* support pose simcc

* fix yolov5 create_input

* add yolov5 post process and update mmcls.yml

* add letter resize

* add yolov5 export info

* fix

* add pose face config

* pick 4dd4d4851b

* fix yolov5 head

* fix ut

* refactor mmpose config

* pass output_names outside

* rknn batch size

* lint

* add input names to wrapper

* update according to https://github.com/open-mmlab/mmyolo/pull/305

* add pre_compile option

* update doc and fix typo

* fix padding

* fix typo

* use throw_exception
2022-12-16 17:05:24 +08:00
Chen Xin 84a5c983d4
Add mmaction2 & coreml index for readthedocs (#1542) 2022-12-15 19:09:30 +08:00
q.yao 3f261e6d50
[Refactor] Refactor rewriter context for MMRazor (#1483)
* wip

* update rewriter

* Support all codebase

* update docs

* fix ssd

* rename qualname

* support torch.fx.wrap

* import by torch version

Co-authored-by: pppppM <gjf_mail@126.com>
2022-12-13 19:03:56 +08:00
q.yao 2afbb9945e
[Enhancement] MMRotate 1.x support (#1401)
* wip

* update twostage detector support

* fix unit test

* sdk wip

* comment

* refactor export info

* fix

* support roi trans

* update rotate.yml

* clear model.py, support torch1.13
2022-12-12 19:27:03 +08:00
RunningLeon 25aa0d4c0a
[Enhancement]: add md link check github action (#1320)
* add md link check action

* add config

* fix doc link

* fix dead links

* change dev-1.x to 1.x

* fix mmocr url
2022-12-08 16:13:51 +08:00
RunningLeon ab421f82d2
bump version to v1.0.0rc0 (#1469)
* bump version to v1.0.0rc0

* fix typo

* resolve comment

* unchange cmakelists
2022-11-30 19:10:37 +08:00
tpoisonooo e6b0b8c00a
fix(tools/scripts): missing `expanduser` (#1435)
* fix(tools/scripts): find env file failed (#1385)

* fix(tools/scripts): find env file failed

* Update quantize_model.md

* CI(ncnn): update ncnn version
2022-11-29 18:51:29 +08:00
Chen Xin 3f644aeb21
fix typo and add link to README.md (#1411) 2022-11-24 12:00:17 +08:00
Sanbu f6ea5d3315
1119 (#1398) 2022-11-22 20:38:25 +08:00
SsTtOoNnEe 680a3fb239
Support MobileOne on ONNXRuntime and TensorRT (#1268)
* Support MobileOne

* Updated supported model readme (Add MobileOne)

* Update supported_models.md

* Updated supported model readme (Add MobileOne)

* Update mmcls.yml

* Support MobileOne

* Remove other files

* Resolve lint error

* Remove converted model files

* Remove json files

* Update mmcls.yml

* Update mmcls.yml

* Update benchmark doc

Co-authored-by: SenseTime Research Singapore <SENSETIME\research.sgres@sg0016000001u.domain.sensetime.com>
2022-11-14 17:46:42 +08:00
hanrui1sensetime 83756b97c6
[Feature] Support centernet dev1.x (#1219)
* support centernet head

* add centernet head ut

* add centernet

* add centernet

* add support models

* fix mdformat

* fix reg test

* fix scale

* fix test.py show_dir kwargs

* fix for profile in T4

* fix dynamic shape

* fix lint

* move rescale and border to outside

* fix ut

* fix lint

* update ort torchscript benchmark

* fix centernet

* fix ut

* remove unused file

* support centernet sdk

* remove unused rewriter

* fix lint

* fix flake8

* remove unused line

* fix lint

* fix lint

* fix doc links

* fix mdformat

* fix scale_factor as default

* apart random pad and pad

* fix sdk

* fix centernet docs

* fix code style of cpp
2022-11-14 16:53:05 +08:00
hanrui1sensetime 3b6e1ba34d
[Docs] Sync mmcls mmedit docstring 2.0 (#1347)
* update docs

* fix title

* update docstring of mmcls and mmedit

* fix mdformat

* fix lint

* fix docstring

* fix lint
2022-11-14 16:52:34 +08:00
lvhan028 1995efd04b
Merge pull request #1362 from lvhan028/dev-1.x
cherry-pick from master to dev-1.x
2022-11-13 22:53:56 -08:00
tpoisonooo 85728bd255
Add mmdet3d doc (#1354)
* doc(docs): mmdet3d usage

* style(mmdet3d): update docstring

* fix(mmdet3d): review advices

* docs(mmdet3d): mim install dependencies

* docs(mmdet3d): remove useless
2022-11-14 11:48:12 +08:00
lvhan028 97cc88923c build opencv for aarch64 with videoio enabled (#1343)
* build opencv for aarch64 with videoio enabled

* update doc

* update

* update

* update
(cherry picked from commit b0a350d49e)
2022-11-11 19:48:39 +08:00
q.yao ed2d7680f7
[DOCS] update 1.x docs for mmdet (#1341)
* update 1.x docs for mmdet

* remove #usage

* 1.x
2022-11-11 10:28:13 +08:00
lvhan028 f7f70c95c0 [Feature] Support rv1126 in sdk (#1238) 2022-11-10 15:25:33 +08:00
Chen Xin ccc21289d1
[Feature] Sync mmaction2-sdk(master) to dev1.x (#1307)
* sync mmaction sdk

* pipeline.json

* fix docs

* replace topk when make regression for mmaction2

* add python api

* add missing file

* add missing test file

* remove cudnn dep for formatshape

* add sample arg for input
2022-11-10 15:13:24 +08:00
q.yao 180500d76d
[Docs] update 1.x doc links (#1331)
* update 1.x links

* update docs
2022-11-10 11:29:16 +08:00
vansin 6f804979a2
[Fix] fix the mmcv version (#1342) 2022-11-09 19:29:12 +08:00
RunningLeon 20a7c35ca7
Update docstring and docs of mmseg and mmpose (#1316)
* fix reg

* update docstring

* Revert "fix reg"

This reverts commit fe56bffb5b.

* update benchmark of mmseg and mmpose

* fix ci
2022-11-09 11:03:19 +08:00
AllentDan 42fac7e004
[Doc] fix mmocr doc link (#1318)
* fix doc

* fix doc
2022-11-08 17:17:26 +08:00
AllentDan c5edb85550
Sync rv1126 to dev-1.x by cherry-pick (#1295)
* remove imports (#1207)

* remove imports

* update doc

* detailed docstring

* rephrase

* Add model conversion support to rv1126 (#1203)

* WIP

* fix interpolate

* support yolov3 and retinanet

* support seg

* support ssd

* supports both partition types for retinanet and ssd

* mean std doc

* update doc, add UT

* support FSAF

* rename configs

* update dump info

* update

* python package installation doc

* update doc

* update doc

* doc

* fix

* docstring

* remote partition config
2022-11-07 10:19:22 +08:00
lvhan028 e121e9aff5 cherry-pick from commit 4c34ad7 2022-11-01 16:42:06 +08:00
AllentDan 97a9182a65 cherry-pick from master with commit 3eb60ea 2022-11-01 16:35:32 +08:00
tpoisonooo 453f240335 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
(cherry picked from commit ace44ae9d9)
2022-11-01 16:29:01 +08:00