Commit Graph

44 Commits (c73756366e374507b5d619cfe06deea72d2ad61d)

Author SHA1 Message Date
RunningLeon c73756366e
bump version to v0.14.0 (#1943)
* update

* bump version

* Update README.md

* fix conflicts

* fix ci

* fix circleci

* upgrade to ubuntu20.04 for github ci

* update

* install glibc

* try to fix cuda build

* try to fix cuda build

* fix build-cu102 && build_cpu_sdk

* revert to setup-python@v2

* try to fix pplnn

* fix protobuf

---------

Co-authored-by: Xin Chen <irexyc@gmail.com>
2023-04-05 14:28:00 +08:00
tpoisonooo 1411ed3858
[improvement]: openvino upgrade to 2022.3.0 (#1944) 2023-03-31 14:08:07 +08:00
tpoisonooo 48291f01c8
docs(project): highlight version (#1871) 2023-03-13 10:23:52 +08:00
tpoisonooo f62352a5fa
fix(README): badge error and add github action status (#1548)
* fix(README): badge error and add github action status

* docs(REAMDE): fix badge

* docs(README): update color

* docs(REAMEDE): update color

* docs(README): update table
2022-12-29 16:08:29 +08:00
q.yao 7cb4b9b18a
[Enhancement] Support tvm (#1216)
* finish framework

* add autotvm and auto-scheduler tuner

* add python deploy api

* add SDK net(WIP

* add sdk support

* support det, support vm

* fix vm sdk

* support two stage detector

* add instance seg support

* add docstring

* update docs and ut

* add quantize

* update doc

* update docs

* synchronize stream

* support dlpack

* remove submodule

* fix stride

* add alignment

* support dlpack

* remove submodule

* replace exclusive_scan

* add backend check

* add build script

* fix comment

* add ci

* fix ci

* ci fix2

* update build script

* update ci

* add pytest

* update sed command

* update sed again

* add xgboost

* remove tvm ut

* update ansor runner

* add stream sync

* fix topk

* sync default stream

* fix tvm net

* fix window
2022-12-12 21:19:40 +08:00
Xin Li 73afa61bd8
update master branch (#1452) 2022-11-29 13:42:47 +08:00
Chen Xin 73e095a4b8
[Fix] fix mmaction2 docs (#1410)
* fix typo and add link to README.md

* fix
2022-11-24 16:40:56 +08:00
lvhan028 692f535702
fix side effect caused by PR1235 (#1239) 2022-10-24 14:15:26 +08:00
Xu Lin c82a7ac89e
add MMYOLO desc in README (#1235) 2022-10-24 11:37:11 +08:00
tpoisonooo ace44ae9d9
improvement(scripts): cross build aarch64 (#1126)
* udpate

* update

* CI(scripts): add auto cross build aarch64

* docs(scripts): add zh_cn doc

* docs(scripts): update

* docs(scripts): update

* fix(tools): update

* docs(zh_cn): update

* fix(scripts): remove gcc-7

* docs(scripts): update result

* udpate

* fix(tools): remove useless option

* docs(en): typo

* Update cross_build_aarch64.md

* Update cross_build_aarch64.md

* fix(tools/scripts): review advices

* fix(tools/scripts): update

* fix(cmake): remove useless option

* Update aarch64-linux-gnu.cmake
2022-10-17 11:15:29 +08:00
lvhan028 1da5464e11
reformat supported backends table in readme (#1109)
* reformat supported device and platforms

* use capital CPU
2022-09-27 20:05:32 +08:00
AllentDan 124635ec5f
Add RKNN support. (#865)
* save codes

* support resnet and yolov3

* support yolox

* fix lint

* add mmseg support and a doc

* add UT

* update supported model list

* fix ci

* refine docstring

* resolve comments

* remote output_tensor_type

* resolve comments

* update readme
2022-09-06 11:48:39 +08:00
Chen Xin a0fb3be0df
support coreml (#760)
* sdk inference

* fix typo

* fix typo

* add convert things

* fix missling name

* add cls support

* add more pytorch rewriter

* add det support

* support det wip

* make Model export model_path

* fix nms

* add output back

* add docstring

* fix lint

* add coreml build action

* add zh docs

* add coreml backend check

* update ci

* update

* update

* update

* update

* update

* fix lint

* update configs

* add return value when error occured

* update docs

* update docs

* update docs

* fix lint

* udpate docs

* udpate docs

* update

Co-authored-by: grimoire <streetyao@live.com>
2022-09-05 19:55:47 +08:00
Li Zhang 792c27b054
[Feature] Ascend backend (#747)
* add acl backend

* support dynamic batch size and dynamic image size

* add preliminary ascend backend

* support dtypes other than float

* support dynamic_dims in SDK

* fix dynamic batch size

* better error handling

* remove debug info

* [WIP] dynamic shape support

* fix static shape

* fix dynamic batch size

* add retinanet support

* fix dynamic image size

* fix dynamic image size

* fix dynamic dims

* fix dynamic dims

* simplify config files

* fix yolox support

* fix negative index

* support faster rcnn

* add seg config

* update benchmark

* fix onnx2ascend dynamic shape

* update docstring and benchmark

* add unit test, update documents

* fix wrapper

* fix ut

* fix for vit

* error handling

* context handling & multi-device support

* build with stub libraries

* add ci

* fix lint

* fix lint

* update doc ref

* fix typo

* down with `target_link_directories`

* setup python

* makedir

* fix ci

* fix ci

* remove verbose logs

* fix UBs

* export Error

* fix lint

* update checkenv

Co-authored-by: grimoire <yaoqian@sensetime.com>
2022-09-05 12:08:36 +08:00
tpoisonooo 4534598056
improvement(installation): add script install mmdeploy (#919)
* feat(tools): add build ubuntu x64 ncnn

* ci(tools): add ncnn auto install

* fix(ci): auto install ncnn

* fix(tools): no interactive

* docs(build): add script build

* CI(ncnn): script install ncnn

* docs(zh_cn): fix error os

* fix

* CI(tools/script): test ort install passed

* update

* CI(tools): support pplnn

* CI(build): add pplnn

* docs(tools): update

* fix

* CI(tools): script install torchscript

* docs(build): add torchscript

* fix(tools): clean code and doc

* update

* fix(CI): requirements install failed

* debug CI

* update

* update

* update

* feat(tools/script): support user specify make jobs

* fix(tools/script): fix build pplnn with cuda

* fix(tools/script): torchscript add tips and simplify install mmcv

* fix(tools/script): check nvcc version first

* fix(tools/scripts): pplnn checkout

* fix(CI): add simple check install succcess

* fix

* debug CI

* fix

* fix(CI): pplnn install mis wheel

* fix(CI): build error

* fix(CI): remove misleading message
2022-08-26 13:53:53 +08:00
tpoisonooo 3fa15822b1
docs(zh_cn): add architect (#882)
* docs(zh_cn): add architect

docs(en): add architect

fix(docs): readthedocs index

* docs(en): update architect.md

* docs(README.md): update

* docs(architecture): fix review advices
2022-08-15 15:16:20 +08:00
tpoisonooo 127125f641
docs(project): sync en and zh docs (#842)
* docs(en): update file structure

* docs(zh_cn): update

* docs(structure): update

* docs(snpe): update

* docs(README): update

* fix(CI): update

* fix(CI): index.rst error

* fix(docs): update

* fix(docs): remove mermaid

* fix(docs): remove useless

* fix(docs): update link

* docs(en): update

* docs(en): update

* docs(zh_cn): remove \[

* docs(zh_cn): format

* docs(en): remove blank

* fix(CI): doc link error

* docs(project): remove "./" prefix

* docs(zh_cn): fix mdformat

* docs(en): update title

* fix(CI): update docs
2022-08-15 10:18:17 +08:00
tpoisonooo 2968a18d80
feat(tools/deploy.py): support snpe (#789)
* fix(tools/deploy.py): support snpe

* improvement(backend/snpe): review advices

* docs(backend/snpe): update build

* docs(backend/snpe): server support specify port

* docs(backend/snpe): update path

* fix(backend/snpe): time counter missing argument

* docs(backend/snpe): add missing argument

* docs(backend/snpe): update download and using

* improvement(snpe_net.cpp): load model with modeldata
2022-08-01 11:08:55 +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
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
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
tpoisonooo ea0a9e5d43
feat(tools/deploy.py): support ncnn quantization (#476)
* feat(tools): add onnx2ncnn_quant_table

* feat(tools): add quantization image dataset

* feat(tools): add image dataset

* feat(tools/deploy.py): support quant

* fix(CI): lint

* fix(CI): format

* docs(zh_cn): add quantization usage

* docs(zh_cn): add benchmark

* feat(tools): add onnx2ncnn_quant_table

* docs(zh_cn): add more test result

* CI(github): add quant script

* CI(.github/scripts): add test quant

* fix(CI): remove pushd and popd

* feat(CI): debug

* fix(CI): path error

* fix(CI): fix path

* fix(CI): install wget

* fix(CI): review advices

* improvement(mmdeploy): review advice

* fix(tools): rename to onnx2ncnn_quant_table.py

* improvement(tools): rename file

* improvement(test): remove useless

* fix(tools/quant_image_dataset): remove loadFile in test.pipeline

* docs(quantization.md): update description

* fix(CI): protobuf version

* fix(CI): pip install

* docs(quantization): review advice

* fix(CI): revert mmcv version

* fix(CI): udpate pb version

* fix(CI): update
2022-05-26 19:53:56 +08:00
tpoisonooo 9a4028bd49
fix(zh_CN): doc link (#447)
* docs(zh_CN): fix link missing

* docs(benchmark.md): fix pytorch typo
2022-05-12 12:22:50 +08:00
tpoisonooo 5f59b4464f
docs(docs/zh_cn): update doc and link checker (#418)
* docs(docs/zh_cn): add doc and link checker

* docs(REAME): update

* docs(docs/zh_cn): update

* docs(benchmark): update table

* docs(zh_cn/benchmark): update link

* CI(docs): update link check

* ci(doc): update checker

* docs(zh_cn): update

* style(ci): remove useless para

* style(ci): update

* docs(zh_cn): update

* docs(benchmark.md): fix mobilnet link error

* docs(docs/zh_cn): add doc and link checker

* docs(REAME): update

* docs(docs/zh_cn): update

* docs(benchmark): update table

* docs(zh_cn/benchmark): update link

* CI(docs): update link check

* ci(doc): update checker

* docs(zh_cn): update

* style(ci): remove useless para

* style(ci): update

* docs(zh_cn): update

* docs(benchmark.md): fix mobilnet link error

* docs(zh_cn/do_regression_test.md): rebase

* docs(docs/zh_cn): add doc and link checker

* Update README_zh-CN.md

* Update README_zh-CN.md

* Update index.rst

* Update check-doc-link.yml

* [Fix] Fix ci (#426)

* fix ci

* add nvidia key

* remote torch

* recover pytorch

* ci(codecov): ignore ci

* docs(zh_cn): add get_started.md

* docs(zh_cn): fix review advice

* docs(readthedocs): update

* docs(zh_CN): update

* docs(zh_CN): revert

* fix(docs): review advices

* fix(docs): review advices

* fix(docs): review

Co-authored-by: q.yao <streetyao@live.com>
2022-05-09 10:18:10 +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
lvhan028 e89becd178
[enhancement] Reorganizing OpenMMLab projects in readme (#184)
* [enhancement] Reorganizing OpenMMLab projects in readme

* add MMPose in supported codebase list

* add MMPose in supported codebase list
2022-02-28 15:38:31 +08:00
VVsssssk aeee4aa48f
[Docs]add mmrotate link (#171)
* add mmrotate link

* Update README_zh-CN.md

* fix docs
2022-02-23 20:18:30 +08:00
Echo-minn 6682cd0077
add OpenMMLab website and platform links (#64)
Co-authored-by: xiaomin <xiaomin@pjlab.org.cn>
2022-01-13 10:19:21 +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
lvhan028 b55bf8ec1b
[Docs] update acknowledgement and MMDeploy's short introduction (#15)
* add mmdeploy short introduction

* add acknowledgement to OpenPPL team

* update acknowledgement
2021-12-29 19:24:03 +08:00
q.yao 428ef05c07
[Other] Update readme tags (#6)
* correct url.

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

* Add readme tags

Co-authored-by: lvhan028 <lvhan_028@163.com>
Co-authored-by: AllentDan <41138331+AllentDan@users.noreply.github.com>
2021-12-27 11:20:26 +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
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
lvhan028 175d024dd9
check in introduction image (#328) 2021-12-23 16:18:16 +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
AllentDan 493caabf7b
[Docs] Refine chinese readme (#322)
* refine chniese readme

* fix lint

* update logo, features and acknowledgement

* add qrcode url

Co-authored-by: lvhan028 <lvhan_028@163.com>
2021-12-22 19:07:10 +08:00
Yifan Zhou c1ed41c465
[Docs] Refactor document structure (#310)
* Refactor docs

* Fix path

* Update logo
2021-12-21 13:59:07 +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 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
VVsssssk 985bb6ad34
[Doc]How to write config (#139)
* 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

* ??

* delete#

* fix problems

* add mmcv unit test

* add docs about how to create config file

* fix :

* add zh docs about how to create config

* add full example

* fix comment

* add note

* fix problem

* fix catalog

* fix catalog`

* fix catalog

* fix docs

* fix cn docs

* fix lint

* fix docs

* fix space

* add mmocr link

* fix problem

* fix new

Co-authored-by: SingleZombie <singlezombie@163.com>
2021-10-29 18:04:11 +08:00
Zaida Zhou 097a0281d4
Fix tutorial link not found (#144)
* fix tutorial link not found

* fix typo
2021-10-25 16:37:33 +08:00
q.yao 2bd67527d5
[Docs]: Add readme zn-cn (#126)
* add readme zn-cn

* update punctuation
2021-10-15 11:52:53 +08:00
q.yao 1d47688b32
[Docs]: Add sphinx document (#109)
* Add document structure

* better zh_cn document

* add build example, update requirement

* add readme

* add usage

* fix end of file

* fix codebase names, add TODO
2021-10-09 14:10:42 +08:00