Commit Graph

870 Commits (7f2e8f7ce05db32594c1b4df74593e9569d25ea2)
 

Author SHA1 Message Date
hanrui1sensetime 7f2e8f7ce0
[Fix] Fix onnx2ncnn.cpp bugs. (#1518)
* fix onnx2ncnn

* remove unused debugging info
2022-12-29 12:14:22 +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
kota-iizuka 85be66f7a6
[Fix] rename 'forward_test' to 'predict' (#1561) 2022-12-22 22:38:23 +08:00
q.yao e0ed95ebc4
[Fix] fix unittest and suppress warning (#1552)
* fix unittest and some warning

* fix read string

* snake
2022-12-22 19:57:36 +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
lvhan028 aaa880e594
fix api build error in readthedocs (#1567) 2022-12-21 21:59:44 +08:00
AllentDan acae7a756e
add is_batched argument to pipeline.json (#1528) 2022-12-20 17:37:47 +08:00
q.yao 84ee45bc35
torchjit mdcn 1.x (#1536) 2022-12-20 15:13:49 +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
Michał Antoszkiewicz 6d376af8b8
Fix 'cannot seek vector iterator' in debug windows build (#1543)
Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>

Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>
2022-12-16 11:42:04 +08:00
AllentDan e0514ccb3b
[Fix] fix squeeze export and unsqueeze pass for opset 13 (#1538)
* fix squeeze export and unsqueeze pass for opset 13

* better way to get opset version

* use get default instead of get directly
2022-12-15 23:34:46 +08:00
Chen Xin 84a5c983d4
Add mmaction2 & coreml index for readthedocs (#1542) 2022-12-15 19:09:30 +08:00
hanrui1sensetime 0b6b9ee69f
sync #1493 to support TorchAllocator as TensorRT Gpu Allocator and fix DCNv2 tensorrt plugin error (#1519) 2022-12-13 19:20:59 +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
lvhan028 78901a2451
cherry-pick #1353 and #1509
cherry-pick #1353 and #1509 and resolve the build issues
2022-12-13 02:53:01 -08:00
q.yao e9912d9101
recovery mmdet layers (#1526) 2022-12-13 11:34:57 +08:00
q.yao 2afbb9945e
[Enhancement] MMRotate 1.x support (#1401)
* wip

* update twostage detector support

* fix unit test

* sdk wip

* comment

* refactor export info

* fix

* support roi trans

* update rotate.yml

* clear model.py, support torch1.13
2022-12-12 19:27:03 +08:00
lvhan028 5b96f20a9b fix build error after cherry-picks 2022-12-12 14:55:24 +08:00
Chen Xin 57f7712267 cherry-pick: Remove cudnn dependency for transform 'mmaction2::format_shape' (#1509) 2022-12-12 14:54:20 +08:00
RunningLeon 25aa0d4c0a
[Enhancement]: add md link check github action (#1320)
* add md link check action

* add config

* fix doc link

* fix dead links

* change dev-1.x to 1.x

* fix mmocr url
2022-12-08 16:13:51 +08:00
lvhan028 04c9793da0 cherry-pick: Decouple preprocess operation and transformation (#1353) 2022-12-08 14:49:12 +08:00
RunningLeon 09c6bd75aa
[Fix]: fix requirements of mmedit (#1496)
* update requirements

* use github url

* fix mmcls ut

* install clip explicitly
2022-12-08 10:16:03 +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
AllentDan 817917f111
fix mmocr import typing error (#1497) 2022-12-07 14:27:07 +08:00
hanrui1sensetime f8e65bb43c
recover scope mechanism for mmyolo (#1495) 2022-12-06 22:33:30 +08:00
lvhan028 6ed62ca9f5
cherry-pick #1419, #1349, #1407 and #1368 and resolve build issue
cherry-pick several PRs about updating SDK from master to dev-1.x
2022-12-06 02:36:15 -08:00
q.yao 9449178cf0
suppress mmengine scope warning (#1450) 2022-12-06 14:07:10 +08:00
HinGwenWoong a964790468
[Improve] Improve dockerfile pip source (#1484)
* [Improve] Improve dockerfile conda and pip source

* Update Dockerfile

* import cpu dockerfile
2022-12-06 14:00:13 +08:00
lvhan028 b2c16d3723 fix build error after cherry-pick 2022-12-05 13:50:25 +08:00
Li Zhang 49d8825efc [Fix] Fix det_pose demo (#1419)
* fix det_pose demo

* remove useless input
(cherry picked from commit 385f5b6102)
2022-12-05 11:49:04 +08:00
Li Zhang da96684128 [Enhancement] Avoid copying dense arrays in Python API (#1349)
* eliminate copying for segmentor

* fix segmentor

* eliminate copying in Python API

* minor fix
(cherry picked from commit 4d4c10a2dc)
2022-12-05 11:48:55 +08:00
Li Zhang a1ca93ea1c [Fix] Support onnxruntime-1.13 (#1407)
* support onnxruntime-1.13

* fix lint
(cherry picked from commit b5b0dcfcff)
2022-12-05 11:48:41 +08:00
Li Zhang 070036f964 [Refactor] better SDK registry (#1368)
* refactor SDK registry

* fix lint

* fix typo

* sync

* use nested namespace

* rename
(cherry picked from commit 99040d5655)
2022-12-05 11:44:44 +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
AllentDan e52d7c42ca
init (#1467) 2022-11-30 14:04:35 +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
hanrui1sensetime 2f2ddb3572
[Fix] fix ncnn torch 1.12 dev-1.x (#1431)
* fix ncnn torch 1.12 dev-1.x

* remove debug line

* fix typo

* add docstring
2022-11-28 10:38:53 +08:00
q.yao f61b6008e3
Fix pad with logical_or (#1429) 2022-11-25 15:34:51 +08:00
q.yao 1f98e2b6a1
fix yolov3 trt8.2 1.x (#1425)
* fix yolov3 trt8.2

* remove score threshold
2022-11-25 15:05:04 +08:00
AllentDan 3cb4a3fc6a
init (#1423) 2022-11-25 11:55:24 +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
Chen Xin 3f644aeb21
fix typo and add link to README.md (#1411) 2022-11-24 12:00:17 +08:00
q.yao cb37b092bd
update symbolic rewriter 1.x (#1404)
* update symbolic rewriter 1.x

* typo fix
2022-11-23 10:18:25 +08:00
Sanbu f6ea5d3315
1119 (#1398) 2022-11-22 20:38:25 +08:00
RunningLeon b2141c53bc Fix typo in reg test 2022-11-18 19:42:37 +08:00
hanrui1sensetime 2b2fe26b26
fix pad_param when scale_factor > 1 (#1395) 2022-11-18 19:40:39 +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