Commit Graph

530 Commits (97e0d1228fc5788bceea70a8dbe9b3b4818b230d)
 

Author SHA1 Message Date
张文俊 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
AllentDan ea54f3b2fd
Add DefaultFormatBundle (#208)
* keep DefaultFormatBundle

* add DefaultFormatBundle

* add condition

* resolve comments

* remove useless

* add override
2022-03-16 15:52:57 +08:00
q.yao 776659a6ce
fix l2norm test (#232) 2022-03-14 14:45:42 +08:00
q.yao 1f5e670421
[Enhancement] Optimize multilevel roi align (#167)
* optimize multilevel roi align

* add pool mode
2022-03-14 10:26:27 +08:00
yydc-0 df4e9e6cae
set the default value of MMDEPLOY_CODEBASES to all (#226)
Co-authored-by: 程建刚 <chengjiangang@mail206.com>
2022-03-11 20:18:53 +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
VVsssssk 2ce83b6c77
[Dostring]add example in apis docstring (#214)
* add example in apis docstring

* add backend example in docstring

* rm blank line
2022-03-10 11:36:44 +08:00
Haofan Wang 0096aacd3e
Update mmpose.md (#224) 2022-03-10 11:33:14 +08:00
RunningLeon 120f4ac89f
fix mmcls get classes (#215)
* fix mmcls get classes

* resolve comment

* resolve comment
2022-03-09 10:16:49 +08:00
RunningLeon 937985e8f0
fix unnecessary change of config for dynamic exportation (#199) 2022-03-08 19:32:55 +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
RunningLeon 3ca452f7ef
fix mmpose version of v0.24.0 (#217) 2022-03-08 16:23:23 +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
RunningLeon 34879e638c
bump version (#192) 2022-02-28 18:25:11 +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
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
lzhangzz 5c596e1fd4
fix ncnn (#187) 2022-02-28 15:32:51 +08:00
AllentDan 2df085c594
[Fix]use float in scale factor (#185)
* use float

* add ut
2022-02-28 11:25:13 +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
q.yao e9ee21fc1d
support export hardsigmoid in torch<=1.8 (#169)
* support export hardsigmoid in torch<=1.8

* fix lint
2022-02-24 16:10:42 +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
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
Zaida Zhou f0c110e6e6
Add a new pre-commit-hook to automatically add a copyright (#166)
* Add a new pre-commit-hook to automatically add copyright

* Add a new pre-commit-hook to automatically add copyright

* append 'demo' and 'tools' directories to .pre-commit-config.yaml
2022-02-23 11:38:40 +08:00
q.yao 2c25eff32c
[Enhancement] optimize delta2bboxes (#152)
* optimize delta2bboxes

* ncnn update
2022-02-23 10:59:05 +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 be93956015
fix tools (#160)
* add non-zero error code

* update mmdeploy version
2022-02-16 11:50:04 +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
AllentDan a2b3ab3d7f
Fix ci for mmocr (#144)
* fix mmocr unittests

* remove useless

* lock mmdet maximum version to 2.20

* pip install -U numpy
2022-02-10 11:43:27 +08:00
lvhan028 e855ee4d54
[Enhancement] upgrade isort in pre-commit config (#141)
* [Enhancement] upgrade isort in pre-commit config by refering to mmflow pr #87

* fix lint

* remove .isort.cfg and put its known_third_party to setup.cfg
2022-02-09 17:27:50 +08:00
RunningLeon cce81d3ce0
lock mmcls version (#131) 2022-02-08 19:33:48 +08:00
杨培文 (Yang Peiwen) 89372d8659
Fix typo (#132) 2022-02-08 16:59:33 +08:00
RunningLeon 9f9670ebae
fix onnxruntime wrapper for gpu inference (#123)
* fix ncnn wrapper for ort-gpu

* resolve comment

* fix lint
2022-02-08 13:50:05 +08:00
AllentDan 51fa2ff566
[Enhancement] Support mmocr v0.4+ (#115)
* support mmocr v0.4+

* 0.4.0 -> 0.4.1
2022-02-07 13:47:38 +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
q.yao f2d0b15341
simplify non batch nms (#99) 2022-01-26 19:04:24 +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
VVsssssk 003cf1bfd7
[Fix]fix check_env (#101)
* fix check_env

* update
2022-01-25 19:57:08 +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 aa70b94378
[Fix] fix missing deploy_core (#80)
* fix missing deploy_core

* mv flag to demo

* target link
2022-01-25 14:28:15 +08:00