Commit Graph

1010 Commits (faf05fe358324a43f9d27778f3be0d77654d8cbb)
 

Author SHA1 Message Date
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
Chen Xin a59b17259d
fix sdk export pipeline.json (#1391) 2022-11-18 16:46:58 +08:00
hanrui1sensetime 115ca470dd
fix mobileone regtest (#1393) 2022-11-18 16:43:56 +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
lvhan028 0e2eff16ee
Merge pull request #1296 from triple-Mu/triplemu/dockerfile
[Dockerfile] Update  dockerfiles
2022-11-15 00:59:01 -08:00
SsTtOoNnEe 680a3fb239
Support MobileOne on ONNXRuntime and TensorRT (#1268)
* Support MobileOne

* Updated supported model readme (Add MobileOne)

* Update supported_models.md

* Updated supported model readme (Add MobileOne)

* Update mmcls.yml

* Support MobileOne

* Remove other files

* Resolve lint error

* Remove converted model files

* Remove json files

* Update mmcls.yml

* Update mmcls.yml

* Update benchmark doc

Co-authored-by: SenseTime Research Singapore <SENSETIME\research.sgres@sg0016000001u.domain.sensetime.com>
2022-11-14 17:46:42 +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
hanrui1sensetime 3b6e1ba34d
[Docs] Sync mmcls mmedit docstring 2.0 (#1347)
* update docs

* fix title

* update docstring of mmcls and mmedit

* fix mdformat

* fix lint

* fix docstring

* fix lint
2022-11-14 16:52:34 +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