Commit Graph

979 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
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 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
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 0a03872750.

* 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 bcb93ead58)
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) 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