Commit Graph

526 Commits (5fce1e8f8df60f52cc807f03a6f049370a052450)
 

Author SHA1 Message Date
RunningLeon 5fce1e8f8d
update docs (#624) 2022-06-29 10:15:48 +08:00
RunningLeon f568fe7da5
Add partition doc and sample code (#599)
* update torch2onnx tool to support onnx partition

* add model partition of yolov3

* add cn doc

* update torch2onnx tool to support onnx partition

* add model partition of yolov3

* add cn doc

* add to index.rst

* resolve comment

* resolve comments

* fix lint

* change caption level in docs
2022-06-28 19:46:58 +08:00
q.yao dc5f9c3746
[Enhancement] TensorRT Anchor generator plugin (#646)
* custom trt anchor generator

* add ut

* add docstring, update doc
2022-06-28 16:11:24 +08:00
q.yao 4d9e20960d
[Enhancement] Fix ncnn unittest (#626)
* optmize-csp-darknet

* replace floordiv to torch.div

* update csp_darknet default implement

* fix test
2022-06-28 09:41:44 +08:00
tripleMu 05cafab723
Fix typo (#625)
* Add make install in en docs

* Add make install in zh docs

* Fix typo

* Merge and add windows build

Co-authored-by: tripleMu <865626@163.com>
2022-06-27 19:43:09 +08:00
Li Zhang 82a74d8717
simplify `Expand` (#617) 2022-06-27 18:42:57 +08:00
RunningLeon da8c02e2b4
Support deployment of Segmenter (#587)
* support segmentor with ncnn

* update regression yml

* replace chunk with split to support ts

* update regression yml

* update docs

* fix segmenter ncnn inference failure brought by #477

* add test

* fix test for ncnn and trt

* fix lint

* export nn.linear to Gemm op in onnx for ncnn

* fix ci
2022-06-27 17:52:05 +08:00
Ryan_Huang 7e8d6eb50f
' -> " (#655)
same with https://github.com/open-mmlab/mmdeploy/pull/654
2022-06-27 17:32:39 +08:00
Ryan_Huang 49608b4289
' -> " (#654)
If there is a variable in the string, single quotes will ignored it, while double quotes will bring the variable into the string after parsing
2022-06-27 17:32:14 +08:00
RunningLeon fa034e042b
fix shufflenetv2 with trt (#645)
* fix shufflenetv2 and pspnet

* fix ci

* remove print
2022-06-27 10:48:48 +08:00
q.yao ae47e9d188
Reduce mmcls version dependency (#635) 2022-06-27 09:41:36 +08:00
q.yao 0cac5154a6
[Enhancement] Support two-stage rotated detector TensorRT. (#530)
* upload

* add fake_multiclass_nms_rotated

* delete unused code

* align with pytorch

* Update delta_midpointoffset_rbbox_coder.py

* add trt rotated roi align

* add index feature in nms

* not good

* fix index

* add ut

* add benchmark

* move to csrc/mmdeploy

* update unit test

Co-authored-by: zytx121 <592267829@qq.com>
2022-06-23 10:35:10 +08:00
Chen Xin f30eacff17
[Fix] fix csharp api detector release result (#620)
* fix csharp api detector release result

* fix wrong count arg of xxx_release_result in c# api
2022-06-21 19:19:44 +08:00
Ryan_Huang 9c8168f39a
make -install -> make install (#621)
change `make -install` to `make install`

https://github.com/open-mmlab/mmdeploy/issues/618
2022-06-20 14:46:56 +08:00
Li Zhang ac0b52f12a
add dim param for `Tensor::Squeeze` (#603) 2022-06-17 14:06:35 +08:00
Li Zhang a822ba7330
add `MMDEPLOY_TASKS` & simplify demo cmake (#606)
* add `MMDEPLOY_TASKS` & simply cmake

* remove debug log
2022-06-17 13:56:45 +08:00
RunningLeon 296412fd08
[Docs] Replace markdownlint with mdformat and configure myst-parser (#610)
* replace mdlint with mdformat

* set myst_heading_anchor for doc

* update precommit yml

* format md files
2022-06-17 09:19:10 +08:00
RunningLeon 3e594b28f6
Fix index.rst and add check ci (#607)
* move doc link check to lint ci and add index.rst file check

* fix filename
2022-06-16 18:45:04 +08:00
hanrui1sensetime ef388032d1
[Fix] adapt mmocr different versions (#604)
* adapt mmocr different versions

* fix lint

* fix runningleon comment
2022-06-16 17:44:16 +08:00
hanrui1sensetime 3f131138d8
fix ocr textdet (#605) 2022-06-16 11:11:18 +08:00
tpoisonooo a228f95335
Improve ncnn patch embed (#592)
* improvement(PatchEmbed): use reshape instead of flatten

* improvement(init_plugins.py): get onnx2ncnn path

* fix(CI): build error

* fix(CI): revert get onnx2ncnn path
2022-06-15 19:16:51 +08:00
Yosshi999 6c7859510d
Support compute capability 87 archs such as Orin (#601) 2022-06-15 19:01:36 +08:00
Li Zhang 28beb9a481
[Enhancement] Adjust `csrc` structure (#594)
* adjust csrc structure

* adjust csrc includes

* fix lint

* fix lint

* fix MSVC build

* remove useless code
2022-06-14 13:46:01 +08:00
Li Zhang 86a50e343a
[Fix] Fix demo link (#588)
* fix demo link

* update urls
2022-06-13 11:07:34 +08:00
Liu Qingchen e84bc30f4a
fix a typo in Build for Jetson (#586)
fix a typo described in issue #585
2022-06-10 13:37:15 +08:00
lvhan028 4335313fb7
bump version to v0.5.0
bump version to v0.5.0
2022-06-09 13:22:25 +08:00
Chen Xin cb09d2238b
fix mmcls-c-demo (#580)
Co-authored-by: irexyc <chenxin2@sensetime.com>
2022-06-09 11:45:57 +08:00
RunningLeon b29a8a020a
fix build ci not triggerred (#578)
* fix ci

* ignore scripts

* remove pycuda from requirements

* fix trt apis
2022-06-09 11:19:05 +08:00
hanrui1sensetime c99379cc76
[Fix] Fix ncnn float bugs for segmentor sdk (#572)
* fix ncnn float bugs for segmentor sdk

* fix segment for all cases

* fix ut

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2022-06-08 22:30:23 +08:00
lvhan028 e69b7a5838
[docs] fix readthedocs (#577)
* Fix readthedocs issues

* fix opencv-python to 4.5.4.60

* update according to reviewer comments
2022-06-08 20:39:34 +08:00
Chen Xin 0cb2f67b32
Fix mmpose regression test failed on mmpose v0.26.0 (#576)
* fix mmpose regression test

* try to fix lint

* fix lint

* remove old config

Co-authored-by: chenxin2 <chenxin2@sensetime.com>
2022-06-08 20:16:23 +08:00
Li Zhang d1e6155b56
document async APIs as experimental (#575) 2022-06-08 18:56:42 +08:00
q.yao 59ed27e2f3
disable onnx export optimizer for 0.5.0 (#573) 2022-06-08 17:33:38 +08:00
lvhan028 594c835b6b merge master and fix the conflicts 2022-06-07 19:04:29 +08:00
lvhan028 e929201827
[Docs] reorganize the documents in English and update the contents based on v0.5.0 status (#531)
* checkout qq group qrcode

* update the cover image

* update build doc

* reorganize chapters

* update readme

* remove index of build on different platforms in readthedocs

* update benchmark

* update get started document in Chinese based on the prebuild package

* update get_started

* re-style benchmark

* update get_started in zh_cn

* update get_started in english

* update get_started in english

* update get_started in english

* update get_started doc

* update according to reviewer comments

* update linker ci

* fix(.github/scripts/check_doc_linker.py): skip code block

* specify PYTHONPATH

* update get_started

* update diagram

* rename some documents

* fix according to reviewer comments

Co-authored-by: tpoisonooo <khj.application@aliyun.com>
2022-06-07 18:05:51 +08:00
Chen Xin 908a69b7d0
compat mmpose v0.26 (sdk) (#527) 2022-06-07 17:10:16 +08:00
sanjaypavo 2a0fcb6e71
changing the onnxwrapper script for gpu issue (#532)
* changing the onnxwrapper script

* gpu_issue

* Update wrapper.py

* Update wrapper.py

* Update runtime.txt

* Update runtime.txt

* Update wrapper.py
2022-06-07 14:21:17 +08:00
lzhangzz d69280e82f
remove useless code (#557) 2022-06-07 14:05:06 +08:00
lvhan028 0d609701df
add sdk python demo (#554)
* check in python demos

* check in text detector python demo

* check in roatated object python demo

* check in pose python demo

* ignore the output class number when testing metrics with sdk as a backend

* fix object_detection

* rollback segmentation_model and python/segmentor.cpp
2022-06-07 12:16:09 +08:00
q.yao 74243dc98b
[Enhancement] Add ONNX passes support (#390)
* add merge_shape_concate

* add some peephole optimization

* bug fixing

* fix for torch1.9

* add flatten cls head

* add subgraph matcher with attribute

* add ut

* fix lint

* remove onnx2ncnn

* add opset version

* axis name

* fix peephole

* fix symbol compare

* add docs
2022-06-06 21:30:31 +08:00
tpoisonooo 456076c06b
fix(demo/csrc/CMakeLists.txt): build option (#553) 2022-06-06 14:25:18 +08:00
lzhangzz 567ec62296
[Fix] Fix recent build problems (#544)
* simplify deps management

* skip visibility flags for MSVC

* simplify cuda deps

* naming

* workaround for cmake<3.17

* add spdlog dependency

* move the enablement of CUDA to top level CMakeLists.txt

* fix MSVC build

* fix lint

* fix build for backend ops only

* remove comment

* allow to use apis/python as a standalone project

* remove redundant cmake code

* control shared or static lib using `MMDEPLOY_SHARED_LIBS` instead of `BUILD_SHARED_LIBS`

* fix MSVC build

* update docs
2022-06-06 11:19:34 +08:00
RunningLeon 51f630b22c
Fix test ncnn failure in regression test (#551)
* fix ncnn test in regression test

* update doc

* fix docstring
2022-06-06 10:00:02 +08:00
tpoisonooo cd336eada1
improvement(ViT): use Crop to subtitude Gather (#477)
* improvement(ViT): use Crop to subtitude Gather

* fix(CI): code format

* fix(pytorch/ops/linear.py): bias maybe None

* fix(test/test_pytorch_ops.py): op_type error

* fix(test): pytest error

* fix(test): torch version 1.8
2022-06-02 19:39:15 +08:00
AllentDan ee878b539b
change resolution and fix regression test for mmocr (#534) 2022-06-02 18:29:41 +08:00
tpoisonooo f969d5a104
docs(do_regression_test): fix-typo (#547)
* docs(do_regression_test): fix-typo

* improvement(apis/__init__.py): add print

* fix(CI): lint

* revert(apis/__init__.py): remove logging
2022-06-02 17:07:53 +08:00
q.yao 07fe3e85e2
[RegressionTest] Add mmrotate regression test (#542)
* Add mmrotate regression test

* update regression test script
2022-06-02 14:28:33 +08:00
q.yao 9cbf9ecb18
[Prebuild] Add prebuilt TensorRT build number (#545)
* Add prebuilt TensorRT build number

* fix
2022-06-01 22:49:55 +08:00
RunningLeon 182cc51746
fix pspnet torchscript conversion (#538)
* fix pspnet torchscript conversion

* resolve comment

* add IR to rewrite
2022-06-01 19:48:29 +08:00
q.yao ea1122ce88
[Docs] Update doc for dependency (#543)
* Update doc for dependency

* update requirements
2022-06-01 15:39:34 +08:00