Commit Graph

165 Commits (27a856637cec0776a38a4a43e9c876c10625e3fd)

Author SHA1 Message Date
RunningLeon 8552d35ceb
[Docs]: update docs and argument descriptions (#196)
* bump version to v0.4.0

* update docs and argument descriptions

* revert version change
2022-03-08 16:53:11 +08:00
Joson 24c7f478a3
[Docs]add "How to support new backends"中文翻译 (#176)
* Add files via upload

* Update how_to_support_new_backends.md

* Update how_to_support_new_backends.md

* Delete how_to_support_new_backends.md

* Add files via upload

* Update how_to_support_new_backends.md

* Update how_to_support_new_backends.md

* Update how_to_support_new_backends.md

* Update how_to_support_new_backends.md

* 麻了

* fix

* fix

* fix

* fix

* fix

* fix

* fix
2022-03-08 16:11:46 +08:00
lvhan028 8adb41fb72
Tutorial-01: introduction to model deployment (#207)
* introduction to model deployment

* remove comments

* trim trailing whitespace

* add link
2022-03-07 17:20:15 +08:00
HinGwenWoong 8a43621ce0
[Docs] Improve Chinese and English build.md (#191)
* Improve build.md

* Improve chinese build.md

* Imporve Chinese doc, using 您 when translate 'you'

* Update build.md, change pip install cmd
2022-03-07 17:19:03 +08:00
Richard-mei ba5351e209
add gfl_trt (#124)
* add gfl_trt

* add gfl_head.py

* add batch_integral

* lint code

* add gfl unit test

* fix unit test

* add gfl benchmark

* fix unit test bug

* Update gfl_head.py

* Update __init__.py

remove '**_forward_single'

* fix lint error and ut error

* fix docs and benchmark

Co-authored-by: VVsssssk <shenkun@pjlab.org.cn>
2022-02-28 16:28:00 +08:00
lzhangzz 640aa03538
Support Windows (#106)
* minor changes

* support windows

* fix GCC build

* fix lint

* reformat

* fix Windows build

* fix GCC build

* search backend ops for onnxruntime

* fix lint

* fix lint

* code clean-up

* code clean-up

* fix clang build

* fix trt support

* fix cmake for ncnn

* fix cmake for openvino

* fix SDK Python API

* handle ops for other backends (ncnn, trt)

* handle SDK Python API library location

* robustify linkage

* fix cuda

* minor fix for openvino & ncnn

* use CMAKE_CUDA_ARCHITECTURES if set

* fix cuda preprocessor

* fix misc

* fix pplnn & pplcv, drop support for pplcv<0.6.0

* robustify cmake

* update build.md (#2)

* build dynamic modules as module library & fix demo (partially)

* fix candidate path for mmdeploy_python

* move "enable CUDA" to cmake config for demo

* refine demo cmake

* add comment

* fix ubuntu build

* revert docs/en/build.md

* fix C API

* fix lint

* Windows build doc (#3)

* check in docs related to mmdeploy build on windows

* update build guide on windows platform

* update build guide on windows platform

* make path of thirdparty libraries consistent

* make path consistency

* correct build command for custom ops

* correct build command for sdk

* update sdk build instructions

* update doc

* correct build command

* fix lint

* correct build command and fix lint

Co-authored-by: lvhan <lvhan@pjlab.org>

* trailing whitespace (#4)

* minor fix

* fix sr sdk model

* fix type deduction

* fix cudaFree after driver shutting down

* update ppl.cv installation warning (#5)

* fix device allocator threshold & fix lint

* update doc (#6)

* update ppl.cv installation warning

* missing 'git clone'

Co-authored-by: chenxin <chenxin2@sensetime.com>
Co-authored-by: zhangli <zhangli@sensetime.com>
Co-authored-by: lvhan028 <lvhan_028@163.com>
Co-authored-by: lvhan <lvhan@pjlab.org>
2022-02-24 20:08:44 +08:00
tripleMu 486d45e739
[FIX] update docs and configs about openvino ssd deployment (#175)
* add openvino static config for docs' ssd deploy

* fix docs of openvino.md

* fix ssd openvino deployment

* rename openvino config

* remove some files
2022-02-24 16:09:58 +08:00
Haofan Wang 141d956636
[Docs] Update get_started.md (#173)
* Update get_started.md

* Update get_started.md
2022-02-22 15:31:21 +08:00
TheSeriousProgrammer 59470fef0b
Lock pplcv to v0.6.1 (#143)
* Lock pplcv to v0.6.1

To avoid breaking changes which arose from recent updates in pplcv , fix pplcv to v0.6.1

* Mentioned Version as ARG

* Mentioned Version changes of pplcv in build.md

* Update docs/en/build.md

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>

* Change version stuff in cn_build.md

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>
2022-02-16 11:54:29 +08:00
RunningLeon 787ebc2392
[Feature]: Support mmpose (#94)
* add mmpose code

* update

* update

* add rewrites

* test trt

* test litehrnet with trt

* revert unused change

* add docs about mmpose

* add docstring and staticmethod

* update

* update

* update docs

* fix config name and docs

* add pose_detection ut

* add pose data

* fix lint of model.py

* add pose_detection_model ut

* fix docs and docstrinf

* add test_mmpose_models.py

* fix yapf

* fix lint

* fix create input

* support ort ut

* fix yapf

* fix docs

* fix createinput

* test ci bug

* rm test1.py

* fix yapf

* fix flake8

* fix yapf

* add config and update benchmark

* fix table format

* update mmpose benchmark

* update benchmark for mmpose

* run mmpose tests seperately in ci

* fix lint

* resolve comments

* add trt ut config

* fix test

* fix tests

* resolve comments

* resolve comments

* update tests

Co-authored-by: VVsssssk <shenkun@pjlab.org.cn>
Co-authored-by: hanrui1sensetime <hanrui1@sensetime.com>
2022-02-16 11:03:12 +08:00
uniyushu a42c44008a
[Docs] Update Chinese how_to_write_config.md (#137)
* add zh-cn documentations

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* add zh-cn documentation

* refactor doc

* refactor doc

* [DOC] add zh-cn tutorials

* [Feature] Add Chinese how to write config doc

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* Update how_to_write_config.md

* [Docs] Update Chinese how_to_write_config.md

* [Docs] Update Chinese how_to_write_config.md

* [Docs] Update Chinese how_to_write_config.md

* [Docs] Update Chinese how_to_write_config.md

* [Docs] Update Chinese how_to_write_config.md

Co-authored-by: yushu <uniyushu@163.com>
Co-authored-by: uniyushu <aaayushu@gmail.com >
2022-02-15 14:30:11 +08:00
Yifan Zhou 668fb16abc
[Doc] Update Nvidia Jetson TX2 benchmark (#109)
* Update benchmark

* Update table format

* Fix content

* format

* format
2022-02-14 17:49:49 +08:00
MingJian.L c3c7600967
Create How to support new model.md (#147)
* Create How to support new model.md

Translated the document into Chinese and create the doc in the  /docs/zh_cn/tutorials/How to support new model.md

* Update and rename How to support new model.md to How_to_support_new_model.md

* Update and rename How_to_support_new_model.md to how_to_support_new_model.md

* Update how_to_support_new_model.md
2022-02-14 14:28:15 +08:00
RunningLeon 3eff20d2ac
update mmcv install (#149) 2022-02-11 20:03:00 +08:00
Semyon Bevzyuk af13086466
Fix capture_output (#125) 2022-02-10 16:03:26 +08:00
杨培文 (Yang Peiwen) 89372d8659
Fix typo (#132) 2022-02-08 16:59:33 +08:00
Yifan Zhou 230596bad9
[Enhacement] Allow test.py to save evaluation results (#108)
* Add log file

* Delete debug code

* Rename logger

* resolve comments
2022-01-26 19:57:00 +08:00
VVsssssk a543d41159
[Docs]: Update doc for openvino installation (#102)
* fix docs

* fix docs

* fix docs

* fix mmcv version

* fix docs

* rm blank line
2022-01-26 17:51:23 +08:00
q.yao d522874eec
[Doc] Update FAQ for TensorRT (#96)
* update FAQ

* comment
2022-01-26 16:06:44 +08:00
RunningLeon 0556feec79
Replace convert_syncbatchnorm in mmseg (#93)
* replace convert_syncbatchnorm with revert_sync_batchnorm from mmcv

* change logger
2022-01-26 11:07:28 +08:00
AllentDan 57a9d9b642
[Feature] Add docker files (#67)
* add gpu and cpu dockerfile

* fix lint

* fix cpu docker and remove redundant

* use pip instead

* add build arg and readme

* fix grammar

* update readme

* add chinese doc for dockerfile and add docker build to build.md

* grammar

* refine dockerfiles

* add FAQs

* update Dpplcv_DIR for SDK building

* remove mmcls

* add sdk demos

* fix typo and lint

* update FAQs
2022-01-25 15:11:50 +08:00
Yifan Zhou c9b063cdec
[Docs] Fix links in Chinese doc (#84)
* Fix docs in Chinese link

* Fix links

* Delete symbolic link and add links to html

* delete files

* Fix link
2022-01-25 14:46:57 +08:00
AllentDan eeddd8afe5
[Doc] Nano benchmark and tutorial (#71)
* add cls benchmark

* add nano zh-cn benchmark and en tutorial

* add device row

* add doc path to index.rst

* fix typo
2022-01-24 14:43:38 +08:00
RunningLeon 8ceb001d31
Support UNet in mmseg (#77)
* Repeatdataset in train has no CLASSES & PALETTE

* update result for unet

* update docstring for mmdet

* remove ppl for unet in docs
2022-01-19 19:11:04 +08:00
hanrui1sensetime e6e32a9db4
[Feature] add yolox ncnn (#29)
* add yolox ncnn

* add ncnn android performance of yolox

* add ut

* fix lint

* fix None bugs for ncnn

* test codecov

* test codecov

* add device

* fix yapf

* remove if-else for img shape

* use channelshuffle optimize

* change benchmark after channelshuffle

* fix yapf

* fix yapf

* fuse continuous reshape

* fix static shape deploy

* fix code

* drop pad

* only static shape

* fix static

* fix docstring
2022-01-19 13:54:45 +08:00
RunningLeon 76f96f09bc
remove partition configs and docs (#59) 2022-01-11 18:38:54 +08:00
hanrui1sensetime de367b72bf
ncnn version 1208 (#47) 2022-01-07 11:04:28 +08:00
VVsssssk 48bea16b31
【Docs】fix docs (#32)
* fix docs

* fix cn docs log link

* fix

* fix log link
2021-12-31 14:36:55 +08:00
AllentDan 6383da6db0
fix pplnn results for mmseg (#31) 2021-12-30 17:52:48 +08:00
Yifan Zhou db00e847c2
[Docs] add switch-language (#25)
* add switch-language

* Update shared menu

* Modify logo

* Modify image

* Modify image

* Modify css

* transparent logo
2021-12-30 12:36:01 +08:00
RunningLeon f2594c624b
add openvino.md to index.rst (#11) 2021-12-27 20:21:08 +08:00
AllentDan 26d40fe883
fix (#10) 2021-12-27 13:45:35 +08:00
q.yao 466ed64739
update links (#9)
* update links

* remove link
2021-12-27 13:01:27 +08:00
AllentDan 3a8b9837ce
Url (#7)
* fix url Co-authored-by: maningsheng@sensetime.com

* fix url

Co-authored-by: maningsheng <mnsheng@yeah.net>
Co-authored-by: Semyon Bevzyuk <semen.bevzuk@gmail.com>

* fix url

Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: del-zhenwu <56623710+del-zhenwu@users.noreply.github.com>
Co-authored-by: Yifan Zhou <singlezombie@163.com>
Co-authored-by: VVsssssk <88368822+VVsssssk@users.noreply.github.com>

Co-authored-by: maningsheng <mnsheng@yeah.net>
Co-authored-by: Semyon Bevzyuk <semen.bevzuk@gmail.com>
Co-authored-by: Zaida Zhou <58739961+zhouzaida@users.noreply.github.com>
Co-authored-by: del-zhenwu <56623710+del-zhenwu@users.noreply.github.com>
Co-authored-by: Yifan Zhou <singlezombie@163.com>
Co-authored-by: VVsssssk <88368822+VVsssssk@users.noreply.github.com>
2021-12-27 11:08:21 +08:00
AllentDan cfd41d03e2
add ncnn latency benchmark to zh_cn (#5) 2021-12-27 10:20:15 +08:00
VVsssssk 09f14fa4b7
[Docs]Remove cn docs (#335)
* remove cn docs

* fix index.rst

* fix index.rst
2021-12-24 18:14:45 +08:00
VVsssssk 15bdafed1f
[Docs]Add a support model list. (#333)
* add docs about support model

* fix docs

* fix support list

* fix docs

* fix format

* fix how to convert model

* fix en and cn docs about convert model

* fix bash

* fix docs format

* fix readme

* fix benchmark

* fix cn docs link

* rename support models

* rename

* fix docs

* fix cn benchmark

* fix benchmark
2021-12-24 17:20:06 +08:00
q.yao 02e033ba5b
[Docs] Add zh_cn get_started (#327)
* start up

* zh-cn v0.1

* [Docs] Add a from-scratch example for "Get Started" (#326)

* Add a from-scratch example

* Fix typo

* resolve comment

* bachslash

* Resolve comments

* Refine commands

* add cn docs

* Correct commands

* fixing...

* update zn-cn docs

* update en link

* add sdk's get-started (#331)

* add sdk's get-started

* add SDK build command

* fix chinglish

* add sdk get start zh_cn

* update zh_cn cite

* fix command

* add selfsup/razor readme

* Fix command

Co-authored-by: Yifan Zhou <singlezombie@163.com>
Co-authored-by: lvhan028 <lvhan_028@163.com>
2021-12-24 15:26:50 +08:00
hanrui1sensetime 8e19a08bcf
[Doc] Add other ncnn ops docs. (#329)
* add other ops

* fix comments

* add ncnn.md

* remove gpu
2021-12-24 14:27:03 +08:00
hanrui1sensetime e355aad45f
[Docs] add ncnn latency benchmark (#314)
* WIP add benchmark.md

* add mmocr already

* add retina

* add mask rcnn none

* update mmdet benchmark

* fill mmcls benchmark

* add mmocr and mmedit

* add some mmseg benchmark of cpu

* add all data

* add platform

* remove mmseg mmedit ncnn and dbnet ncnn

* fix grammar typo

* fix comments

* fix typo
2021-12-24 10:39:31 +08:00
lzhangzz 4bb37c54a2
Fix logo and intro (#334)
* crop logo

* fix README_zh-CN.md

* remoe empty files
2021-12-23 20:14:35 +08:00
VVsssssk e37ce3cf28
[Doc]: MMDet benchmark (#265)
* add mmdet benchmark

* fix docs

* fix docs

* fix docs

* add fp16

* add some int8 model

* add yolov3 benchmark

* add some benchmark

* fix docs

* add comment about mask-rcnn

* fix mmdet docs

* add ppl benchmark

* refactor benchmark

* refactor format

* add fcos and atss fp16

* fix benchmark

* fix mmdet docs

* fix docs

* fix docs

* fix docs

* add cn benchmark about mmdet
2021-12-23 17:42:14 +08:00
VVsssssk fce37d4594
【Docs】Fix docs about codebase (#317)
* fix codebase docs

* fix edit

* fix mmcls docs

* fix docs
2021-12-23 17:35:59 +08:00
RunningLeon 49b47ff614
[Doc]: Add build doc of CN (#323)
* update build cn

* update

* add introduction to build sdk

* add note

* update doc

* remove unused html tag

Co-authored-by: lvhan028 <lvhan_028@163.com>
2021-12-23 16:10:04 +08:00
lvhan028 cdd0cf0988
[Docs] add sdk's build instructions (#324)
* add sdk's build instructions

* update according to review comments
2021-12-23 14:54:56 +08:00
RunningLeon f76ac64cfe
update backend docs (#319) 2021-12-23 13:23:39 +08:00
AllentDan 199253ce94
[Doc] Refine benchmark (#318)
* add to index

* fix link

* add chinese benchmark

* add openvino to backends

* add codebase name

* add benchmark to bechmark model zoo

* update chinese mmcls benchmark
2021-12-23 11:25:45 +08:00
hanrui1sensetime 9e22c75b70
[Docs] add ncnn ops docs samples (#313)
* add ncnn ops docs samples

* link ops to ncnn.md

* fix ncnn.md grammar

* fix grammar typo
2021-12-22 15:50:11 +08:00
Yifan Zhou 543777fe27
[Docs] Update mmcls pplnn benchmark (#316)
* Update mmcls pplnn benchmark

* Update supported model list
2021-12-22 10:43:39 +08:00
Yifan Zhou c1ed41c465
[Docs] Refactor document structure (#310)
* Refactor docs

* Fix path

* Update logo
2021-12-21 13:59:07 +08:00
Yifan Zhou 0f9f0a60e4
[Enhancement]: Update configs for OpenVINO (#306)
* Update config for OpenVINO

* Update test

* Update better test

* Update instance-seg config of OpenVINO
2021-12-20 17:56:25 +08:00
Yifan Zhou f442dbbe83
[Docs]: MMCLS benchmark (#300)
* add doc

* Update benchmark

* Update benchmark

* Restore missing words
2021-12-17 14:12:26 +08:00
RunningLeon 31e8aed862
update ppl benchmark (#293) 2021-12-17 10:44:49 +08:00
lvhan028 1ed55f86f2
Update README (#288)
* update README and add three blank docs that are going to present SDK

* check in mmdeploy's logo image

* remove comments in README

* update acknowledgement

* development->deployment

* add Human3D link

* use captical word in citation
2021-12-16 19:22:14 +08:00
Yifan Zhou de6fc147bd
[Feature]: Add onnx2pplnn tool (#296)
* Add onnx2pplnn tool

* format

* typo

* update opt-shapes and wrapper

* Update opt-shape

* Update comment

* lint
2021-12-16 17:01:33 +08:00
AllentDan 3eabeae071
Add new configs for ocr (#295)
* save configs

* add to benchmark

* add datasets to benchmark

* lock mmcor version to 0.3.0
2021-12-15 19:51:38 +08:00
q.yao 43256977fa
Add onnx2ncnn tool (#276)
* Add onnx2ncnn tool

* fix docs

* fix lint
2021-12-15 18:43:09 +08:00
q.yao b1a202ef04
Add onnx2tensorrt tool (#275)
* add onnx2tensorrt

* add docs

* fix log

* fix docs
2021-12-15 11:20:10 +08:00
AllentDan 0dea300714
[Fix] Reanme ppl to pplnn for all cases (#273)
* add speed benchmark for pplnn and replace all ppl in docs with pplnn

* replace ppl with pplnn for all codes

* docs zh

* fix crnn config path

* update docstring

* rename

* update ppl to pplnn in readme_zh

Co-authored-by: maningsheng <mnsheng@yeah.net>
2021-12-14 15:04:39 +08:00
RunningLeon 0b23c744fc
remove trt in config (#280) 2021-12-13 19:57:15 +08:00
AllentDan 105acc9de9
[Fix] Dbnet performance of trt8 (#278)
* compatible trt version for dbnet

* judge inside rewrite
2021-12-13 16:44:05 +08:00
Semyon Bevzyuk a96e5f9d76
[Fix] Fix VFNet test (#281)
* [Fix] fix bugs for mmcls performance test (#269)

* fix bugs for mmcls performance test

* fix yapf

* add comments of CLASSES attribute

* Fix test_get_bboxes_of_vfnet_head

* Fix

Co-authored-by: hanrui1sensetime <83800577+hanrui1sensetime@users.noreply.github.com>
2021-12-13 10:43:39 +08:00
VVsssssk 54885e5972
【Feature】Support for mmdet2.19 (#253)
* add one-stage support

* add two-stage support

* fix docstring

* add base_dense_head docstring

* fix docstrign

* fix ncnn code

* fix anchor head

* fix unit test about mmdet model

* fix unit test

* fix base dense head bug:

* fix basehead

* fix basedense head

* fix pad bug

* fix bboxhead

* add rewrite about decode

* fix decode

* rename func

* fix test_mmdet_core and test_object_detection_model

* format test

* fix comments

* remove to(device)

* fix requirements

* fix docs

* fix yolox evaluate butg
2021-12-10 14:03:23 +08:00
RunningLeon 499d06d844
Add mmseg performance (#254)
* update doc and config

* test with ncnn

* update docs

* rename config

* update test result with openvino

* merge master

* resolve comments

* update dbnet
2021-12-09 20:17:00 +08:00
AllentDan fd4297a2a3
add speed benchmark for pplnn and replace all ppl in docs with pplnn (#264) 2021-12-09 16:37:36 +08:00
q.yao ad72c19482
[Feature] Add torch2onnx tools (#260)
* Add torch2onnx tools

* fix lint

* update docs

* fix docs2

* fix log
2021-12-09 14:38:54 +08:00
Yifan Zhou fa33b89261
[Docs]: Add MMEdit benchmark and supported model list (#252)
* doc

* update support

* update

* Resolve comments

* Update data
2021-12-09 11:27:20 +08:00
RunningLeon d96ee9e9f3
Change op domain (#262)
* change domain to mmdeploy

* update tests

* resolve comments
2021-12-08 15:06:41 +08:00
AllentDan f424fca509
[Doc] add mmocr performance benchmark (#240)
* add mmocr performance benchmark

* add notes

* fix typo

* add openvino for mmocr and use T4 results for dbnet18
2021-12-08 10:31:57 +08:00
lvhan028 4f70434070
[Fix] correct ncnn_DIR (#261)
* correct ncnn_DIR

* change NCNN_DIR to ncnn_DIR
2021-12-08 10:29:07 +08:00
AllentDan bca8cc0897
[fix] align the names of configs (#256)
* align names of configs

* set input_shape to None for all ppl
2021-12-07 21:06:44 +08:00
lvhan028 36124f6205
Merge sdk (#251)
* check in cmake

* move backend_ops to csrc/backend_ops

* check in preprocess, model, some codebase and their c-apis

* check in CMakeLists.txt

* check in parts of test_csrc

* commit everything else

* add readme

* update core's BUILD_INTERFACE directory

* skip codespell on third_party

* update trt_net and ort_net's CMakeLists

* ignore clion's build directory

* check in pybind11

* add onnx.proto. Remove MMDeploy's dependency on ncnn's source code

* export MMDeployTargets only when MMDEPLOY_BUILD_SDK is ON

* remove useless message

* target include directory is wrong

* change target name from mmdeploy_ppl_net to mmdeploy_pplnn_net

* skip install directory

* update project's cmake

* remove useless code

* set CMAKE_BUILD_TYPE to Release by force if it isn't set by user

* update custom ops CMakeLists

* pass object target's source lists

* fix lint end-of-file

* fix lint: trailing whitespace

* fix codespell hook

* remove bicubic_interpolate to csrc/backend_ops/

* set MMDEPLOY_BUILD_SDK OFF

* change custom ops build command

* add spdlog installation command

* update docs on how to checkout pybind11

* move bicubic_interpolate to backend_ops/tensorrt directory

* remove useless code

* correct cmake

* fix typo

* fix typo

* fix install directory

* correct sdk's readme

* set cub dir when cuda version < 11.0

* change directory where clang-format will apply to

* fix build command

* add .clang-format

* change clang-format style from google to file

* reformat csrc/backend_ops

* format sdk's code

* turn off clang-format for some files

* add -Xcompiler=-fno-gnu-unique

* fix trt topk initialize

* check in config for sdk demo

* update cmake script and csrc's readme

* correct config's path

* add cuda include directory, otherwise compile failed in case of tensorrt8.2

* clang-format onnx2ncnn.cpp

Co-authored-by: zhangli <lzhang329@gmail.com>
Co-authored-by: grimoire <yaoqian@sensetime.com>
2021-12-07 10:57:55 +08:00
hanrui1sensetime eceeaf0159
[Docs] fix ncnn docs (#249)
* fix ncnn docs

* add prepare for protobuf

* move install protob position
2021-12-06 19:03:18 +08:00
Semyon Bevzyuk 2f6f6f87a1
Add get_mo_command. (#247) 2021-12-06 10:31:32 +08:00
Semyon Bevzyuk bb9b0a98de
[Enhancement]: Added static config and CI tests for OpenVINO. (#218)
* Add openvino_static.

* Add openvino-dev.

* Fix skipping ORT tests in test_mmocr_models.

* Updated docs.

* Fix print.

* Fix

* Fix

* Fix other backends

* Fix is_available

* fix ncnn

* Add constrict for get rewrite output

* add not

* Fix

* fix

* Fix

* Fix

* Improve tests

* Remove rebundant `cuda`

* Prevent None object and rename variable

* Fix multi-line string

* rename get_backend_checker

* Add Troubleshooting to doc.

* Fix postprocessing_masks with empty masks.

* Fix tests

* lint

* Update docs.

Co-authored-by: SingleZombie <singlezombie@163.com>
2021-12-01 14:03:48 +08:00
q.yao cc2993e187
[Refactor] Refactor mmdet config (#229)
* Refactor mmdet config

* update partition model

* update docs related to mmdet
2021-11-30 15:00:11 +08:00
Yifan Zhou 5c8479a45d
[Docs]: How to support new backends (#222)
* add doc

* Update

* Resolve comments
2021-11-25 19:59:19 +08:00
AllentDan ad3cd5a352
[Docs] Trt speed docs (#226)
* add cls trt benchmark

* add benchmark.md

* fix ~

* resolve comments

* merge master

* caption Det

* resolve comments

* conditions -> settings
2021-11-25 18:48:40 +08:00
RunningLeon ca0014a971
[Doc]: Fix doc (#219)
* add reminder for pspnet in doc

* update table format

* fix format

* rename file

* fix comment
2021-11-25 14:51:21 +08:00
q.yao d742b428ee
[Docs] Add get_started.md (#211)
* first

* Add get_started.md

* update readme

* Apply suggestions from code review

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>

* add how to find path

* fix for comment

* an -> a

Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>
2021-11-23 16:00:36 +08:00
AllentDan a4dceb4bb4
[Enhancement] Enhance ppl for all codebases (#177)
* enhance ppl for all codebases

* fix dump info

* fix md and use not None

* remove redundant codes

* safe convert empty ppl tensor

* add examples and remove useless lines
2021-11-16 19:16:46 +08:00
Semyon Bevzyuk 49dd1cf678
[Enhancement]: Support VFNet from MMDetection for OpenVINO and ONNX Runtime. (#195)
* Add deform_conv_openvino.

* Add get_bboxes_of_vfnet_head.

* Fix vfnet and add test_get_bboxes_of_vfnet_head.

* Update docs.

* Fix test_shufflenetv2_backbone__forward for openvino.

* Fixes.
2021-11-16 10:59:59 +08:00
VVsssssk fa626a58a0
[Docs]Fix docs about cfg (#184)
* add docs about config comment

* fix blank

* fix comment

* fix comment

* fix comment

* fix comment
2021-11-12 17:48:41 +08:00
Semyon Bevzyuk c599ed5904
[Enhancement]: Support YOLOX from MMDetection for OpenVINO and ONNX Runtime. (#190)
* Add get_bboxes_of_yolox_head.

* Add test_yolox_head_get_bboxes.

* Update docs.
2021-11-12 10:39:42 +08:00
RunningLeon e2c9af0bb7
[Enhance]: update installation docs (#189)
* update doc

* resolve comments
2021-11-11 18:48:48 +08:00
RunningLeon b8e5ef00ea
[Refactor]: Update naming style and docstring in mmseg and mmcv (#188)
* update naming and docstring in mmseg and mmcv

* update docstring

* update self docstring

* resolve comments
2021-11-11 18:48:04 +08:00
hanrui1sensetime a35fb3ddd1
[Feature]: Support shufflenet_v2 for NCNN (#183)
* support shufflenet_v2

* fix yapf

* fix lint

* reply comments

* fix docformatter

* reply comment

* fix lint

* fix ut

* fix yapf
2021-11-10 20:14:31 +08:00
VVsssssk c0fc3149d2
[Docs]How to add test units for backend ops (#146)
* add ncnn test exporter in test_ops.py

* add ncnn test exporter in utils.py

* add onnxruntime and tensorrt ops test

* fix blank line

* fix comment
add nms ops test

* remove nms test

* add test sample
add dockerstring

* remove nms test

* fix grid_sample
add type hind

* fix problem

* fix dockerstring

* add nms batch_nms multi_level_roi_align

* add test data

* fix problem

* rm pkl file dependent

* rm file

* add docstring

* remove multi_level_dependce

* add mmseg module unittest

* add mmseg test

* add mmseg model unit test

* fix blankline

* rename file

* add syncbn2bn unit test

* add apis/export

* lint

* lint

* ??

* add docs about how to add ops unit test

* fix diff

* fix docs

* fix docs

* remove cn docs

* fix comment

* fix comment

Co-authored-by: SingleZombie <singlezombie@163.com>
2021-11-10 10:53:19 +08:00
q.yao cc4bfe15cb
fix bugs of build doc, update cmake version (#175) 2021-11-09 17:44:42 +08:00
AllentDan 79890f42c2
[Docs] add ppl install doc, how to test a model doc and mmocr doc (#169)
* add ppl install doc and how to test a model doc

* remove mmdet model list in ppl.md

* resolve comments

* fix typo

* add mmocr doc

* mv configs as the final column

* fix typo and align tables

* fix lint
2021-11-09 11:43:38 +08:00
hanrui1sensetime 778e3c9db0
[Enhance] Add SSD support for TensorRT (#182)
* support tensorrt ssd configs

* test ssd/cascade rcnn

* test shufflenetv1

* support trt mmdet end2end
2021-11-09 10:32:11 +08:00
del-zhenwu 80da064274
[Doc] Add openvino in doc (#176)
Signed-off-by: del-zhenwu <zhenxiang0708@163.com>

Co-authored-by: del-zhenwu <zhenxiang0708@163.com>
2021-11-08 16:09:18 +08:00
hanrui1sensetime ceae222a8a
[Docs] add mmseg.md (#174)
* add mmseg.md

* Align with pr #171

* left alignment of 1st and last column
2021-11-08 16:08:41 +08:00
RunningLeon cd51f12f32
[Feature]: Support yolov3 (#167)
* support yolov3 with ort and trt

* add ncnn compare

* fix yolo_head ncnn rewriter

* align perforance with ort trt for yolov3

* update doc

* add test for compare with equal,less, greater

* change namespace

* reformat cpp

* fix lint

* fix lint

* add unit test for yolov3 head

* remove compare op

* update doc

* update table format in docs

* update comments

* update

Co-authored-by: hanrui1sensetime <hanrui1@sensetime.com>
2021-11-08 16:07:58 +08:00
RunningLeon 2ffc657665
[Docs]: Add mmcls support doc (#171)
* add doc

* update

* update

* update table format

* update name

* update

* resolve comments

* remove unnecessary files

* update mmedit

* update

* resolve comments
2021-11-08 15:37:43 +08:00
Semyon Bevzyuk ca93007035
[Enhancement]: Support FoveaBox and ATSS from mmdetection for OpenVINO and ONNX Runtime (#160)
* Add FoveaHead and AtssHead.

* Update docs.

* Fix typos and docstrings.

* Fixes.

* Fix img_metas type in docstring.
2021-11-05 17:45:49 +08:00
q.yao 4e168ee1c7
Update tensorrt install info (#165) 2021-11-03 10:55:50 +08:00
Semyon Bevzyuk c52b24c67f
[Enhancement]: Added support for masks in OpenVINO. (#148)
* Fix include and lib paths for onnxruntime.

* Fixes for SSD export test

* Add onnx2openvino and OpenVINODetector. Test models: ssd, retinanet, fcos, fsaf.

* Add support for two-stage models: faster_rcnn, cascade_rcnn

* Add doc

* Add strip_doc_string for openvino.

* Fix openvino preprocess.

* Add OpenVINO to test_wrapper.py.

* Fix

* Add openvino_execute.

* Removed preprocessing.

* Fix onnxruntime cmake.

* Rewrote postprocessing and forward, added docstrings and fixes.

* Added device type change to OpenVINOWrapper.

* Update forward_of_single_roi_extractor_dynamic_openvino and fix doc.

* Update docs.

* Add support for masks (Mask RCNN).

* Add masks to CascadeRoIHead.simple_test.

* Added masks to test_OpenVINODetector.

* Added test_cascade_roi_head_with_mask.

* Update docs.

* Fix segm_results shape.

* Fix TopK in NMS and add test_multiclass_nms_with_keep_top_k.

* Removed unnecessary functions.

* Fix.

* Fix test_multiclass_nms_with_keep_top_k.

* Updated test_OpenVINODetector.
2021-11-03 10:27:48 +08:00
VVsssssk d3e26b68a2
fix docs bug (#166) 2021-11-02 19:12:53 +08:00
Yifan Zhou 6e4a32b746
[Doc]: How to add unit tests to rewritten models of codebases (#143)
* add english doc

* update index

* Resolve some comments

* Resolve comments

* Add Chinese doc

* Resolve comment
2021-11-02 10:33:20 +08:00