Commit Graph

366 Commits (8a43621ce00ca2987cc96680c482ae2cd4fbf212)
 

Author SHA1 Message Date
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
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
lvhan028 c74c41bec9
Fix memleak (#86)
* delete []

* fix build error when enble MMDEPLOY_ACTIVE_LEVEL

* fix lint
2022-01-20 15:21:19 +08:00
VVsssssk cfb9099077
fix ort wrap about input type (#81) 2022-01-19 19:12:29 +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
Johannes L 9aabae32aa
Added mask overlay to output image, changed fprintf info messages to … (#55)
* Added mask overlay to output image, changed fprintf info messages to stdout

* Improved box filtering (filter area/score), make sure roi coordinates stay within bounds

* clang-format
2022-01-19 14:56:37 +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
Semyon Bevzyuk 997d111a6f
[Fix] Fixed device_id in tools/test.py for the CPU. (#58)
* [Fix] fix bugs for mmcls performance test (#269)

* fix bugs for mmcls performance test

* fix yapf

* add comments of CLASSES attribute

* Rewrote the dictionary traversal for new versions of Python.

* Fix device_id for cpu

* Rewrite parse_device_id and tests

* Added None for cpu

Co-authored-by: hanrui1sensetime <83800577+hanrui1sensetime@users.noreply.github.com>
2022-01-13 15:37:23 +08:00
lzhangzz bb655af629
Add Python wrapper for SDK (#27)
* add python API for detector

* integrate detection

* add python segmentor

* add segmentation support

* add classifier, text-detector, text-recognizer and restorer

* integrate classifier

* integrate textdet, textrecog and restorer

* simplify

* add inst-seg

* fix inst-seg

* integrate inst-seg

* Moidfy _build_wrapper

* better pipeline substitution

* use registry for backend model creation

* build Python module according to C API targets

* minor fix

* move sdk data pipeline to backend_config

* remove debugging lines

* add docstring for SDKEnd2EndModel

* fix type hint

* fix lint

* fix lint

* insert build/lib to sys.path

Co-authored-by: SingleZombie <singlezombie@163.com>
2022-01-13 11:31:51 +08:00
Yifan Zhou 12ee956d36
[Enhancement]: Remove deepcopy in patch_model (#61)
* Remove deepcopy

* Fix test
2022-01-13 11:16:16 +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
RunningLeon 76f96f09bc
remove partition configs and docs (#59) 2022-01-11 18:38:54 +08:00
Yifan Zhou fbce75e6bc
add comment and static decorator (#60) 2022-01-11 16:44:47 +08:00
q.yao d157243077
[Fix] move target_wrapper into utils (#20)
* move target_wrapper into utils

* fix for lint

* add typehint and docstring

* update unit test

* fix isort

* update import
2022-01-11 15:43:47 +08:00
q.yao d1528e5b34
Fix TensorRT 7 SSD (#49) 2022-01-11 11:10:10 +08:00