Commit Graph

312 Commits (v1.2.0)

Author SHA1 Message Date
RunningLeon 6cd29e2152
bump version to v1.2.0 (#2223) 2023-06-30 20:08:09 +08:00
huayuan4396 e19f6fa08d
Support deploy of YoloX-Pose (#2184)
* dev_mmpose

* tide

* fix lint

* del redundant task and model

* fix

* test ut

* test ut

* upload configs

* fix

* remove debug

* fix lint

* use mmcv.ops.nms

* fix lint

* remove loop

* debug

* test modified ut

* fix lint

* fix return type

* fix

* fix rescale

* fix

* fix pack_result

* update batch inference

* fix nms and pytorch show_box

* fix lint

* modify ut

* add docstring

* modify nms

* fix

* add openvino config

* update docs

* fix test_mmpose

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-06-28 19:17:36 +08:00
Chen Xin 39c3b7512d
add sdk profiler docs (#2189)
* add sdk profiler docs

* fix typos
2023-06-27 17:30:31 +08:00
Chen Xin 87769bcf87
fix android library size (#2095) 2023-06-26 11:29:45 +08:00
RunningLeon faf2d9c2b5
fix mmseg out_channels=1 (#2179)
* fix

* fix

* fix

* fix

* fix
2023-06-25 15:02:45 +08:00
Chen Xin 264de4ddbc
Add Sdk Doxygen document. (#2157)
* doxygen c api

* fix ci

* update en doc

* update zh doc
2023-06-15 10:48:15 +08:00
RunningLeon a8775d2cf1
Update readme intro image and docs (#2175)
* update logo

* update

* update

* update

* fix ci

* Revert "update logo"

This reverts commit 6935ff0bce.

* update intro

* fix
2023-06-14 16:16:25 +08:00
RunningLeon 9db59240a4
update document for docker installation (#2142)
* update

* update

* add docker ci

* update

* fix
2023-06-06 17:15:06 +08:00
huayuan4396 cbfe99505c
Fit for MMPretrain EfficientFormer (#2108)
* add ef in rgtest metafile

* fix for EfficientFormerClsHead to LinearClsHead

* fix lint

* update benchmark

* fix lint

* fix docs

* fix docs

* add openvino test
2023-06-05 13:59:30 +08:00
RunningLeon a886f694c8
Update docs (#2114)
* update docs from 1.x to main

* fix dead links

* fix tag_name

* Revert "fix tag_name"

This reverts commit fcf0c5841bf03a95fc1ddd109547908ef8111008.

* fix readthedocs for zh_cn
2023-05-31 15:18:32 +08:00
RunningLeon e47c6400b0
bump version to v1.1.0 (#2094) 2023-05-23 13:32:44 +08:00
RunningLeon 11af78caae
CI: Add regression test workflow (#2081)
* add reg test workflow

* fix name

* fix

* fix

* update

* fix ncnn on win

* fix build ts on wins

* remove last step

* fix

* fix

* fix

* fix

* fix mmyolo

* fix install torch1.13

* fix mmyolo

* fix

* fix

* manage wins env

* update

* add lib

* fix typo

* update

* fix
2023-05-19 18:05:34 +08:00
huayuan4396 5e9d27b8d6
mmedit -> mmagic (#2061)
* mmedit -> mmagic --initial

* fix codebase/cmakelist

* add tests/test_codebase/test_mmagic/data/

* fix lint

* fix rename

* fix EditDataPreprocessor

* fix EditTestLoop to TestLoop for mmagic

* fix EditValLoop to ValLoop for mmagic

* fix EditEvaluator to Evaluator for mmagic

* modify rgtest/mmagic.yml

* fix to MultiEvaluator

* fix mmagic model.py

* fix reg_test

* fix lint

* pass rgtest

* fix ci quantize.yml

* fix ci

* update docs

* fix lint

* fix lint

* fix lint

* fix sr end2endmodel device

* change destruct device back to cpu

* modify output device

* rename function name

* update docstring
2023-05-19 15:00:45 +08:00
Vanilla 2d85be9aa6
【Doc】Update mmdet.md en/cn (#2054)
* Update_mmdetmd_en_cn

* update_mmdetmd_encn2

* Revert "update_mmdetmd_encn2"

This reverts commit 0bf26d46c4.

* update_mmdetmd_enn

* update_mmdetmd_en
2023-05-06 14:17:31 +08:00
huayuan4396 840adcfb43
mmcls -> mmpretrain (#2003)
* mmcls -> mmpretrain

* add constraints.txt

* fix lint

* fix lint

* remove constraints.txt

* fix windows ci

* modify requirements

* fix mdlink and mmpretrain version

* fix dead link

* modify codebase cmakelist

* fix rename
2023-04-28 20:49:22 +08:00
Stozn ca773a78f0
Update the doc for spdlog installation.md (#1994)
* Update build_from_source.md

* Update build_from_source.md

* resolve comments

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-04-28 14:17:33 +08:00
AllentDan 5ebd10b029
Add with argmax in config for mmseg (#2038)
* add with_argmax for model conversion in mmseg

* resolve lint
2023-04-27 16:01:45 +08:00
lihongda 9a442ab4ed
CodeCamp #106: Support SOLOv2 deployment with OpenVINO (#1521)
* support solov2 openvino

* fix lint

* Update benchmark.md

* Update __init__.py

* fix names and delete redundant codes

* fix names and redundant codes

* fix indent

* fix lint

* fix lint

* delete 'ctx' arguments

* [Fix]fix lint

* 修改:     mmdeploy/codebase/mmdet/models/dense_heads/solov2_head.py
	修改:     mmdeploy/codebase/mmdet/models/detectors/single_stage_instance_seg.py

* Delete matrix_nms.py

* Update __init__.py

* Update linspace.py

* Update solov2_head.py

* Update solov2_head.py

* update

* fix num_groups

* update docs

* add end2endmodel for solo

* add end2endmodel for solo

* [Feature] Support End2EndModelSOLO

* Update object_detection_model.py

* add model_cfg to End2EndModel

* add model_cfg to End2EndModel

* Fix bugs for End2EndModel

* fix bugs for End2EndModel

* update docs.

* update conmment

* 更新 benchmark.md

* update regression tests

* fix errors in docs
2023-04-26 11:47:41 +08:00
任祉涵 6bccf05be0
update mmseg docs (#2022) 2023-04-24 16:12:24 +08:00
任祉涵 584fb7cd9b
[Docs] Update mmcls doc (#1978)
* update mmcls doc

* add cn readme

* fix ci

* replace mmcls to mmpretrain
2023-04-21 11:13:41 +08:00
kaizhong 671d626e33
Generate supported-backends markdown table (#1986)
* Generate supported-backends markdown table

* Generate supported-backends markdown table

* update branch

* update codebase dir

* update backends nargs

* update args to capitals

* center alignment starting from the 3rd coloumn

* center alignment starting from the 3rd coloumn

* fix bad urls

* fix bad urls

* Update codebases.txt

fix circleci

* Update codebases.txt

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-04-21 11:12:27 +08:00
AllentDan 6c26e887d4
[Doc] update SAR status (#1789)
* update SAR status and fix torchscript export

* add reminder for SAR
2023-04-12 15:43:51 +08:00
RunningLeon 58bcdaea77
Fix retinanet wrong visualization with torch1.13+openvino (#1977)
* fix

* fix ci

* fix dead links
2023-04-12 11:55:03 +08:00
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