Commit Graph

120 Commits (6948e3d04b47408d2e465bfc55c1722be362ee0e)

Author SHA1 Message Date
hanrui1sensetime 6948e3d04b
Ncnn demo sdk (#164)
* fix different dims and data sync and fp16 macro

* fix pad is negative bug, but still need debugging info

* split detection_output to dets and labels

* fix clang++ compile bug

* for fp16 compile macro of cmake

* fix pad_val dict input

* fix yolox missing normalization and get int tensor

* about score_threshold

* remove -lstdc++fs for android

* move -pthread for android

* fix link libraries for CLANG++;

* fix clang-format

* for mobileyolov3 conf_thre

* fix lint

* fix bug

* support ncnn vulkan net

* remove unused debugging info;

* Change INFO to DEBUG

* support vulkan precision mapping

* fix pad

* optimize getdetslabels

* remove EVAL_MODE

* ncnn_net support 4-dim data.

* remove FP16 compile options

* remove use_gpu_vulkan compile options

* fix pad.cpp

* fix yapf

* fix clang-format

* rm redundant lines

* fix pad according to mmdet

* add android build docs

* fix lint

* use cpp style string comparision

* fix use after free bug

* Add missing -DBUILD_SHARED_LIBS=OFF for en

* Add missing -DBUILD_SHARED_LIBS=OFF for ZH-CN

* reset img2tensor_impl

* reset img2tensor_impl

* add blank line

* sync android.md docs

* fix some dirs

* fix docs

* update docs

* fix code
2022-03-25 23:28:16 +08:00
AllentDan f01506c62a
[Docs] add faq to `How to install mmdeploy on Jetsons` (#243)
* add faq

* rephrase

* add assert

* get arch in host

* use thresh 1000 for pre_top_k

* enable ignoring soft link of work_dirs in codebase directory

* assert -> warning

* fix lint

* fix lint
2022-03-23 10:58:11 +08:00
张文俊 51e003bec5
Fix docker build for users inside (#227)
* fix the related questions of Connection failed [IP: 91.189.88.152 80] or [IP: 91.189.88.142 80] in Dockerfile

* add an ARG to control whether to change the download source for GPU and CPU Dockerfile, and update corresponding changes to the documents

* add an ARG to control whether to change the download source for GPU and CPU Dockerfile, and update corresponding changes to the documents

* update documentation

* update documentation

* fix lint error

Co-authored-by: zhangwenjun <zhangwenjun@clustar.ai>
2022-03-17 21:25:25 +08:00
lvhan028 b6ff258935
check in the 2nd tutorial (#228)
* check in the 2nd tutorial

* update index

* add new line

* trailing whitespace

* describe how to get srcnn.pth and face.png

* rename file name

* update index
2022-03-11 11:12:38 +08:00
Haofan Wang 0096aacd3e
Update mmpose.md (#224) 2022-03-10 11:33:14 +08:00
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