991 Commits

Author SHA1 Message Date
Chen Xin
bc79c0dd2b
[Enhancement] Load openvino model from memory (#2027)
* fix cpu docker (different openvino ver for python & sdk)

* load openvino model from memory

* fix lint
2023-04-28 16:13:14 +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
huayuan4396
e9c0092b87
Update Repo List in README (#2031)
* Update Repo List in README

* append readme repo list
2023-04-27 14:41:54 +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
Chen Xin
2c7e91b8ae
Fix rknn and aarch64 build ci (#1980)
* fix ci build script doesn't fail when error occurs

* fix build_cpu_model_convert

* upgrade pip

---------

Co-authored-by: RunningLeon <maningsheng@sensetime.com>
2023-04-23 11:18:37 +08:00
RunningLeon
63258036bb
remove circleci (#1999)
* remove circleci

* fix dead urls
2023-04-21 12:55:14 +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 9c598f4857633dfb96b116ca9fb9a5d15b5fa6b4.

* 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
v1.0.0
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
hanrui1sensetime
d76c7b61a5
[Fix] Fix errors about deploying MMYOLO-OpenVINO, DETR, ConvFormer and RTMDet (#1919)
* fix reg test yolox

* fix detr

* fix rtmdet-sdk reg

* fix conformer precision

* add conformer_cls sdk

* add mmcls ut

* fix detr ut

* fix detr ut

* fix lint

* fix yapf

* fix cls sdk

* fix detr_head rewriter

* fix interpolate

* complement the mmdet ut

* fix regression DETR"

* fix ut

* fix ut version

* fix lint
2023-03-31 13:45:15 +08:00
lvhan028
502692bfd3
cherry-pick #1855, #1806, #1798
Sync master to dev-1.x
2023-03-30 16:32:12 +08:00
RunningLeon
3c110b87ad
[Enhance]: Update introduction image (#1937)
* update introduction image

* update
2023-03-30 15:51:48 +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 cdc780cde52c0417e6a5408001fb5ddef1a9498d.

* 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
Xin Chen
fabdacc37a fix trt net build 2023-03-29 20:34:54 +08:00
Li Zhang
739e6b7ecf [Fix] Export mmdeploy only in monolithic build (#1798)
* export only `mmdeploy` in monolithic build

* export dynamic backends
2023-03-29 20:09:43 +08:00
Li Zhang
c96967ffc1 [Fix] Fix Debian aarch64 cross compiling (#1806)
* fix debian cross compiling

* comment

* minor
2023-03-29 20:09:37 +08:00
Li Zhang
0da1ed2311 add unified device guard (#1855) 2023-03-29 20:09:23 +08:00
RunningLeon
c39438658f
[Enhancement]: update toolset of prebuild image (#1932)
* update

* update dockerfile
2023-03-29 19:30:52 +08:00
RunningLeon
7237b91dc5
[Fix]: Fix mmrotate and regression script (#1917)
* fix pipeline

* disable test for openvino and sdk+torchscript for mmpose
2023-03-28 12:11:35 +08:00
Damon Da Tong
9fa74035b0
fix pose_tracker python api will raise ValueError when result has no human (#1922) 2023-03-27 14:50:17 +08:00
Shengxi Li
032ce75afa
mmclassification ConformerHead support (#1905)
* mmclassification ConformerHead support

* add mmclassification ConformerHead test config

---------

Co-authored-by: lishengxi <mtdp@MacBook-Pro-8.local>
2023-03-23 17:27:39 +08:00
Chen Xin
a14177c0eb
[Feature]: Add github prebuild workflow after new release. (#1852)
* add prebuild dockerfile

* add prebuild test workflw

* update

* update

* rm other workflow for test

* Update docker image

* add win1o prebuild

* add test prebuild

* add windows scripts in prebuilt package

* add linux scripts in prebuilt package

* generate_build_config.py

* fix cudnn search

* fix env

* fix script

* fix rpath

* fix cwd

* fix windows

* fix lint

* windows prebuild ci

* linux prebuild ci

* fix

* update trigger

* Revert "rm other workflow for test"

This reverts commit 0a0387275014efab71046d33a0e52904672b4012.

* update sdk build readme

* update prebuild

* fix dll deps for python >= 3.8 on windows

* fix ci

* test prebuild

* update test script to avoid modify upload folder

* add onnxruntime.dll to mmdeploy_python

* update prebuild workflow

* update prebuild

* Update loader.cpp.in

* remove exists prebuild files

* fix opencv env

* update cmake options for mmdeploy python build

* remove test code

* fix lint

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>
2023-03-23 17:00:19 +08:00
Li Zhang
9f9b3a81b2
[Enhancement] Support RTMDet-Ins (#1867)
* support RTMDet-Ins

* optimization

* avoid out of boundary

---------

Co-authored-by: lvhan028 <lvhan_028@163.com>
2023-03-23 16:22:19 +08:00
FishBigOcean
43383e83ff
add rtmpose coreml support (#1902) 2023-03-23 15:52:46 +08:00
q.yao
4117aa54c9
[Fix] Fix ascend faster-rcnn (#1842)
* Fix ascend faster-rcnn

* remove static config
2023-03-23 14:58:09 +08:00
Chen Xin
c4c1f527d1
[Enhancement] optimize mmpose postprocess (#1888)
* optimize mmpose postprocess

* remove cv::parallel_for
2023-03-21 19:20:10 +08:00
hanrui1sensetime
d48187cf68
[Feature] Support RTMDet and RTMPose ncnn deployment (#1857)
* support rtmpose ncnn

* fix docformatter

* fix docformatter

* fix classname from tauj to dev-1.x branch

* rename file

* fix comments

* remove unused rewriter

* fix norm

* fix lint

* fix rtmcc_block

* fix norm

* add ut

* fix origin_func

* fix norm

* fix rtmdet_head

* add ut

* false run_with_backend for ncnn

* fix lint
2023-03-21 11:56:44 +08:00
Chen Xin
423e27a4fe
[Sync] Sync csharp api to dev-1.x (#1889)
* [Feature] Sync csharp apis with newly added c apis && demo (#1718)

* sync c api to c#

* fix typo

* add pose tracker c# demo

* udpate gitignore

* remove print

* fix lint

* update rotated detection api

* update rotated detection demo

* rename pose_tracking -> pose_tracker

* use input size as default

* fix clang-format
2023-03-21 11:54:32 +08:00
RunningLeon
2fcc8dc19d
[Feature]: Add github workflow based on self hosted runner (#1751)
* add win10 workflow

* update

* update and add dockerfile

* update script

* add build docker image script

* update

* support cuda10.2

* update docker file

* update build image tag

* add release docker file

* update release dockerfile

* fix ncnn python build

* test docker workflow

* remove docker build workflow

* fix comments

* add conda-incubator

* update build script and workflow

* fix comments
2023-03-21 11:44:11 +08:00
hanrui1sensetime
754c08012d
fix rtmdet-ins head (#1884) 2023-03-20 12:03:12 +08:00
Joyphy
dce6e6401e
[Fix] Fix the warning method that calls the trt logger (#1850)
* Fix the warning method that calls the trt logger

* Fix the warning method that calls the trt logger
2023-03-20 10:38:13 +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
AllentDan
8e2f6556be
rewrite torch.cat for TensorRT when input is dynamic (#1851) 2023-03-17 15:49:52 +08:00
LKJacky
847a906e6f
support mmrazor (#1701)
* support mmrazor

* add make divisible

* update

* Pruning -> ModelCompress and add docstring

---------

Co-authored-by: liukai <your_email@abc.example>
2023-03-17 15:46:09 +08:00
hanrui1sensetime
637958a910
[Fix] Fix MobileOne deployment. (#1870)
* fix task

* fix regression;

* fix ut
2023-03-13 10:54:07 +08:00
Li Zhang
c6cf781fa6
[Enhancement][Cherry-Pick #1858] Add optional softmax in LinearClsHead (#1863)
* add softmax in cls postprocess

* minor

(cherry picked from commit bcb93ead589e6103377b1f8d6cfdc8f5f24b9527)
2023-03-10 10:28:45 +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
7f30e42026
Fix clip on tensorrt 8.0 (#1833) 2023-03-08 17:24:56 +08:00
hanrui1sensetime
b59d83bf7b
[Feature] Add Java APIs and demos for pose tracker, segmentor and rotated-object detector (#1795)
* move to dev-1.x

* fix wrong class name

* redesign Params argument mechanisms

* change demo build to ant

* remove unused debugging file

* fix demo

* remove hardcode

* a general build.xml

* update README

* fix clang-format

* rename follow java format

* update docs

* fix lint

* fix java_api build

* fix ci

* fix java api ci

* fix lint

* fix opencv build privilege

* fix CI ant build

* remove opencv build because is too slow

* fix lib path

* fix wrong dir

* fix run demo location

* fix ant command

* fix opencv

* mv opencv to java demo

* fix CI

* fix comments

* add absolute lib path in ci

* find lib

* find lib

* fix mmdeploy lib path in ci

* fix pose ocr pose-tracker

* support RotatedDetection and Segmentation score

* add cmake

* fix lint

* fix yapf

* fix clang-format

* fix clang-format

* fix java api ci

* fix ocr src pic

* add rotate

* add opencv lib

* fix lib

* fix libgstreamer missing

* add libgstreamer-plugin

* fix comments

* fix comments

* add avcodec for posetracker

* fix CI

* fix java ci comments

* fix test_java_demo format

* fix lint and ffmpeg missing

* fix comments

* a copy of array for java

* fix demo stuck

* fix test_java_demo.py

* fix popd and pushd

* fix java_api

* fix java api handle

* update for api

* add java docstrings for demo

* add docstring for posetracker java and fix handle

* add some java api docstrings

* return ec

* add error code for java

* add all java docs

* fix clang-format

* fix PoseTracker apply api for batch inference

* fix missing error code

* remove author

* remove author

* remove destroy window

* fix wrong code

* fix Context

* fix java docs

* fix comments

* fix compile failed

* fix for and if format

* fix error code

* fix bracket
2023-03-08 14:39:39 +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
hanrui1sensetime
84a289fd88
fix reduction fp16 exceed on android (#1819) 2023-03-01 13:40:20 +08:00
Chen Xin
29b29ee48a
[Feature] Dynamically load net module to remove dependencies of mmdeploy.so (#1776)
* dynamic load net module

* export xxx_net

* add runpath

* link dl

* remove -ldl for macos

* fix rpath

* module -> shared

* set MMDEPLOY_DYNAMIC_BACKEND OFF when MMDEPLOY_BUILD_SDK_MONOLITHIC is OFF
2023-02-28 20:32:38 +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) v1.0.0rc3 2023-02-24 18:41:40 +08:00