Commit Graph

169 Commits (c39438658fe8fe13f795fad403821d4dd2ce0faa)

Author SHA1 Message Date
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
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
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
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
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
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
q.yao a3c0566451
bump version to 1.0.0rc2 (#1754)
* bump version

* update cmake
2023-02-16 14:20:33 +08:00
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
AllentDan 5ab0bcb5ea
[Fix] fix rknn quantization pipeline (#1636)
* fix rknn quantization pipeline

* resolve comments
2023-01-31 16:35:11 +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
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
AllentDan 0cfee8c0f4
fix no test_step error in TorchWrapper (#1600) 2023-01-10 10:53:38 +08:00
lvhan028 09f1952457
bump version to v1.0.0rc1 (#1595) 2022-12-30 18:25:24 +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
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
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
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
AllentDan 0200317319
add rknn device check (#1363)
* add rknn device check

* accelerate

* fix CI

* resolve comments

* simple log

* remove adb device check
2022-12-07 23:05:33 +08:00
Chen Xin c4e95f1ade
Sync profiler (#1446)
* Sdk profiler (#1274)

* sdk-profiler

* fix lint

* support lift

* sync net module when profile

* use Scope*

* update use task name

* fix

* use std::unique_ptr<Event>

* remove mmdeploy::graph link for c and transform

* fix

* fix

* fix

* [Enhancement] refactor profiler (#1403)

* reduce profile node name

* add profiler for pipeline

* add profiler for cond

* udpate

* fix total time (#1451)
2022-12-07 18:51:17 +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
RunningLeon 71344b27a8
update reg test (#1417)
* give model path if stead of 'x' when conversion failed

* set --models with default value ['all']

* fix mmseg yml
2022-11-24 14:04:51 +08:00
RunningLeon b2141c53bc Fix typo in reg test 2022-11-18 19:42:37 +08:00
RunningLeon a10b9e964b
Fix some bugs on dev1.x (#1390)
* fix onnx export unused param

* add cfgoptions in reg test
2022-11-18 18:35:00 +08:00
AllentDan 81eafa5fb3
[Fix] fix regression test for mmocr(#1372)
* fix

* refine
2022-11-18 11:37:26 +08:00
hanrui1sensetime 6ea983dca5
[Fix] Fix test for lattency (#1375)
* fix mmedit regression test

* using args.batch_size
2022-11-18 10:20:22 +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
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
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
RunningLeon d330e17af3
fix reg of dev-1.x(#1317) 2022-11-08 11:17:59 +08:00
lvhan028 e121e9aff5 cherry-pick from commit 4c34ad7 2022-11-01 16:42:06 +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
RunningLeon 6e9c2527b4 merge master from c35099ef0 2022-10-13 11:12:07 +08:00
AllentDan 645eefae50
update timer (#1179) 2022-10-11 14:59:50 +08:00
RunningLeon 41fcc2242f
log cmd info for regresstion test (#1146)
* add log to regresstion test

* update for win

* update mmseg reg yml
2022-10-10 16:23:24 +08:00
AllentDan 76b837194f
Update timer (#1158)
* update time counter

* update test.py

* fix ci
2022-10-10 16:22:19 +08:00
tpoisonooo 5cdf29339b
feat(tools/scripts): add auto install jetson orin (#1105)
* feat(tools/scripts): add auto install jetson orin

* docs(script): rename file

* fix(script): if clause error

* style(scripts): typo
2022-10-09 15:53:19 +08:00
RunningLeon 51f4e65185
fix reg test for 2.0 (#1116)
* fix reg

fix mmedit mmocr

update

update apcnet of mmseg

catch error when download fails

log error message

* update reg for win

* update yml
2022-10-08 19:14:33 +08:00
lvhan028 917643fcac
bump version to 0.9.0 (#1115) 2022-09-29 19:48:52 +08:00
AllentDan c0ae726ae5 remove deploy test loop and enable edit SDK (#1083) 2022-09-29 16:37:36 +08:00
tpoisonooo 2f7e61c55c fix(tools/profile.py): rename to avoid name conflict (#1087)
* fix(tools/profile.py): rename to avoid name conflict

* fix(docs): remove useless
2022-09-29 16:26:31 +08:00
tpoisonooo a53ffec757 improvement(ubuntu_utils.py): check upstream libopencv-dev version (#1068) (#1093) 2022-09-29 16:26:31 +08:00
RunningLeon 144fcf7b3a fix github ci
add mim

update circle ci

fix tests

fix ci
2022-09-29 16:26:31 +08:00