Commit Graph

187 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
RunningLeon 3ab17f5367
Fix reg test for maskrcnn (#2230) 2023-06-30 19:47:38 +08:00
Chen Xin d7489c883b
[Feature] Enable read zip model in prebuild package. (#2185)
* support libzip

* support windows

* fix

* update rpath

* default build sdk zip model
2023-06-28 14:59:43 +08:00
tpoisonooo 4650c0e89a
Update build_ubuntu_x64_ncnn.py (#2154) 2023-06-06 16:54:58 +08:00
RunningLeon faf05fe358
fix prebuild uploading (#2112)
* fix

* change to test mode

* remove

* fix

* fix

* fix

* test pypi

* test

* add publish

* test

* revert to prod

* update
2023-05-24 19:59:47 +08:00
RunningLeon bd7117c9c3
fix prebuild workflow (#2107) 2023-05-23 17:38:26 +08:00
RunningLeon e47c6400b0
bump version to v1.1.0 (#2094) 2023-05-23 13:32:44 +08:00
AllentDan 8670d838cb
Fix regression test for mmocr (#2099)
* fix text recog regression test

* update mmocr.yml and change | to + in regression_test.py

* recover
2023-05-22 16:09:11 +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
RunningLeon 1c7749d17c
[Enhancement]: Support opset_version 13 (#2071)
* upgrade to opset 13

* fix unsqueeze

* fix mmseg yml

* fix mmseg reg test

* forcely change opset13

* fix mmdet3d

* optimize squeeze

* update base dockerfile

* support squeeze/unsqueeze with axes as input in onnx2ncnn

* update optimizer for squeeze/unsqueeze

* revert

* Revert "support squeeze/unsqueeze with axes as input in onnx2ncnn"

This reverts commit 5ca9f1ae172cb4e1625f150ccb049138b5f37aa3.

* fix docs

* fix opset
2023-05-17 11:02:30 +08:00
Chen Xin 49103cb72e
[Fix] Fix dataloader for ncnn quantization (#2018)
* fix mmpose create_input when feed ndarray

* fix dataloader for ncnn-ppq
2023-05-08 15:03:25 +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
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
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
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
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
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