AllentDan
0111e1f10f
[Feature] add swin for cls ( #911 )
...
* add swin for cls
* add ut and doc
* reduce trt batch size
* add regression test
* resolve comments
* remove useless rewriting logic
2022-08-23 17:14:24 +08:00
AllentDan
e1aabf5837
[Doc] How to write a customized TensorRT plugin ( #290 )
...
* first edition
* fix lint
* add 06, 07
* resolve comments
* update index.rst
* update title
* update img
2022-08-22 14:00:28 +08:00
tpoisonooo
a6e07dac2f
improvement(cmake): simplify build option and doc ( #832 )
...
* improvement(cmake): simplify build option
improvement(cmake): convert target_backends with directory
* fix(dockerfile): build error
* fix(CI): circle CI
* fix(docs): snpe and cmake option
* fix(docs): revert update cmake
* fix(docs): revert
* update(docs): remove useless
2022-08-19 10:54:09 +08:00
RunningLeon
3e7e80bcbc
support multi-batch test in profile tool ( #868 )
...
* test batch profile with resnet pspnet yolov3 srcnn
* update doc
* update docs
* fix ut
* fix mmdet
* support batch mmorc and mmrotate
* fix mmcls export to sdk
* resolve comments
* rename to fix #819
* fix conflicts with master
2022-08-17 15:01:06 +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
梦阳
5fb342ea87
Fix doc error of building C examples ( #879 )
...
* fix doc error of building C demo examples
Path error in cmake compilation of C demo examples
* fix en doc error of building C demo examples
Path error in cmake compilation of C demo examples
2022-08-10 11:59:53 +08:00
OldDreamInWind
80d24fc4da
fix error when set device cpu && fix docs error ( #866 )
2022-08-05 11:30:30 +08:00
lvhan028
83b11bc1ca
[Enhancement] Improve get_started documents and bump version to 0.7.0 ( #813 )
...
* simplify commands in get_started
* add installation commands for Windows
* fix typo
* limit markdown and sphinx_markdown_tables version
* adopt html <details open> tag
* bump mmdeploy version
* bump mmdeploy version
* update get_started
* update get_started
* use python3.8 instead of python3.7
* remove duplicate section
* resolve issue #856
* update according to review results
* add reference to prebuilt_package_windows.md
* fix error when build sdk demos
2022-08-04 14:33:27 +08:00
Chen Xin
091bfc3011
add prebuild package usage docs on windows ( #816 )
...
* add prebuild package usage docs on windows
* fix lint
* update
* try fix lint
* add en docs
* update
* update
* udpate faq
2022-08-03 15:25:36 +08:00
RunningLeon
2cddae776e
support test with multi batch ( #829 )
...
* support test with multi batch
* resolve comment
2022-08-01 21:02:59 +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
孙德伟
f80c90ed47
update document for building android sdk ( #817 )
...
Co-authored-by: dwSun <dwsunny@icloud.com>
2022-07-28 21:11:19 +08:00
Hakjin Lee
36b3ca4461
[Feature] Support RoITransRoIHead ( #713 )
...
* [Feature] Support RoITransRoIHead
* Add docs
* Add mmrotate models regression test
* Add a draft for test code
* change the argument name
* fix test code
* fix minor change for not class agnostic case
* fix sample for test code
* fix sample for test code
* Add mmrotate in requirements
* Revert "Add mmrotate in requirements"
This reverts commit 043490075e6dbe4a8fb98e94b2b583b91fc5038d.
2022-07-22 15:19:37 +08:00
Li Zhang
ab07c223da
[Enhancement] Support latest ppl.nn & ppl.cv ( #564 )
...
* support latest ppl.nn
* fix pplnn for model convertor
* fix lint
* update memory policy
* import algo from buffer
* update ppl.cv
* use `ppl.cv==0.7.0`
* document supported ppl.nn version
* skip pplnn dependency when building shared libs
2022-07-21 11:47:53 +08:00
Hakjin Lee
58b256a13b
Upgrade Dockerfile to use TensorRT==8.2.4.2 ( #706 )
...
* Upgrade TensorRT to 8.2.4.2
* upgrade pytorch&mmcv in CPU Dockerfile
* Delete redundant port example in Docker
* change 160x160-608x608 to 64x64-608x608 for yolov3
2022-07-20 20:36:22 +08:00
RunningLeon
252cabbbc5
Add inference latency test tool ( #665 )
...
* add profile tool
* remove print envs in profile tool
* set cudnn_benchmark to True
* add doc
* update tests
* fix typo
* support test with images from a directory
* update doc
* resolve comments
2022-07-19 14:28:22 +08:00
lvhan028
71d085b1a6
Fix get-started rendering issues in readthedocs ( #740 )
...
* fix mermaid markdown rendering issue in readthedocs
* fix error in C++ example
* fix error in c++ example in zh_cn get_started doc
2022-07-14 11:17:13 +08:00
q.yao
dace58e844
[Enhancement] Support Slide Vertex TRT ( #650 )
...
* reorgnize mmrotate
* fix
* add hbb2obb
* add ut
* fix rotated nms
* update docs
* update benchmark
* update test
* remove ort regression test, remove comment
2022-07-13 16:09:09 +08:00
Li Zhang
14b2bfd524
[Enhancement] Standardize C API ( #634 )
...
* unify C API naming
* fix demo and move apis/c/* -> apis/c/mmdeploy/*
* fix lint
* fix C# project
* fix Java API
2022-07-12 14:04:33 +08:00
tpoisonooo
41ddcafbb4
Rename onnx2ncnn to mmdeploy_onnx2ncnn ( #694 )
...
* improvement(tools/onnx2ncnn.py): rename to mmdeploy_onnx2ncnn
* format(tools/deploy.py): clean code
* fix(init_plugins.py): improve if condition
* fix(CI): update target
* fix(test_onnx2ncnn.py): update desc
* Update init_plugins.py
2022-07-08 09:21:32 +08:00
hanrui1sensetime
d57cf85e1d
[Fix] Fix android build ( #698 )
...
* fix android build
* fix cmake
* fix url link
2022-07-07 14:29:45 +08:00
AllentDan
efd39953d7
Deploy the Swin Transformer on TensorRT. ( #652 )
...
* resolve conflicts
* update ut and docs
* fix ut
* refine docstring
* add comments and refine UT
* resolve comments
* resolve comments
* update doc
* add roll export
* check backend
* update regression test
2022-06-30 10:41:24 +08:00
zambranohally
e49e8a10ed
Update get_started.md ( #676 )
...
Fix backend model assignment
2022-06-29 19:04:58 +08:00
zambranohally
3bc766e6f8
Update get_started.md ( #675 )
...
Fix backend model assignment
2022-06-29 19:02:20 +08:00
hanrui1sensetime
051e1577a3
Add java apis and demos ( #563 )
...
* add java classifier detector
* add segmentor
* fix lint
* add ImageRestorer java apis and demo
* remove useless count parameter for Segmentor and Restorer, add PoseDetector
* add RotatedDetection java api and demo
* add Ocr java demo and apis
* remove mmrotate ncnn java api and demo
* fix lint
* sync java api folder after rebase to master
* fix include
* remove record
* fix java apis dir path in cmake
* add java demo readme
* fix lint mdformat
* add test javaapi ci
* fix lint
* fix flake8
* fix test javaapi ci
* refactor readme.md
* fix install opencv for ci
* fix install opencv : add permission
* add all codebases and mmcv install
* add torch
* install mmdeploy
* fix image path
* fix picture path
* fix import ncnn
* fix import ncnn
* add submodule of pybind
* fix pybind submodule
* change download to git clone for submodule
* fix ncnn dir
* fix README error
* simplify the github ci
* fix ci
* fix yapf
* add JNI as required
* fix Capitalize
* fix Capitalize
* fix copyright
* ignore .class changed
* add OpenJDK installation docs
* install target of javaapi
* simplify ci
* add jar
* fix ci
* fix ci
* fix test java command
* debugging what failed
* debugging what failed
* debugging what failed
* add java version info
* install openjdk
* add java env var
* fix export
* fix export
* fix export
* fix export
* fix picture path
* fix picture path
* fix file name
* fix file name
* fix README
* remove java_api strategy
* fix python version
* format task name
* move args position
* extract common utils code
* show image class result
* add detector result
* segmentation result format
* add ImageRestorer result
* add PoseDetection java result format
* fix ci
* stage ocr
* add visualize
* move utils
* fix lint
* fix ocr bugs
* fix ci demo
* fix java classpath for ci
* fix popd
* fix ocr demo text garbled
* fix ci
* fix ci
* fix ci
* fix path of utils ci
2022-06-29 11:02:08 +08:00
RunningLeon
5fce1e8f8d
update docs ( #624 )
2022-06-29 10:15:48 +08:00
RunningLeon
f568fe7da5
Add partition doc and sample code ( #599 )
...
* update torch2onnx tool to support onnx partition
* add model partition of yolov3
* add cn doc
* update torch2onnx tool to support onnx partition
* add model partition of yolov3
* add cn doc
* add to index.rst
* resolve comment
* resolve comments
* fix lint
* change caption level in docs
2022-06-28 19:46:58 +08:00
q.yao
dc5f9c3746
[Enhancement] TensorRT Anchor generator plugin ( #646 )
...
* custom trt anchor generator
* add ut
* add docstring, update doc
2022-06-28 16:11:24 +08:00
tripleMu
05cafab723
Fix typo ( #625 )
...
* Add make install in en docs
* Add make install in zh docs
* Fix typo
* Merge and add windows build
Co-authored-by: tripleMu <865626@163.com>
2022-06-27 19:43:09 +08:00
RunningLeon
da8c02e2b4
Support deployment of Segmenter ( #587 )
...
* support segmentor with ncnn
* update regression yml
* replace chunk with split to support ts
* update regression yml
* update docs
* fix segmenter ncnn inference failure brought by #477
* add test
* fix test for ncnn and trt
* fix lint
* export nn.linear to Gemm op in onnx for ncnn
* fix ci
2022-06-27 17:52:05 +08:00
Ryan_Huang
7e8d6eb50f
' -> " ( #655 )
...
same with https://github.com/open-mmlab/mmdeploy/pull/654
2022-06-27 17:32:39 +08:00
Ryan_Huang
49608b4289
' -> " ( #654 )
...
If there is a variable in the string, single quotes will ignored it, while double quotes will bring the variable into the string after parsing
2022-06-27 17:32:14 +08:00
q.yao
0cac5154a6
[Enhancement] Support two-stage rotated detector TensorRT. ( #530 )
...
* upload
* add fake_multiclass_nms_rotated
* delete unused code
* align with pytorch
* Update delta_midpointoffset_rbbox_coder.py
* add trt rotated roi align
* add index feature in nms
* not good
* fix index
* add ut
* add benchmark
* move to csrc/mmdeploy
* update unit test
Co-authored-by: zytx121 <592267829@qq.com>
2022-06-23 10:35:10 +08:00
Ryan_Huang
9c8168f39a
make -install -> make install ( #621 )
...
change `make -install` to `make install`
https://github.com/open-mmlab/mmdeploy/issues/618
2022-06-20 14:46:56 +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
RunningLeon
3e594b28f6
Fix index.rst and add check ci ( #607 )
...
* move doc link check to lint ci and add index.rst file check
* fix filename
2022-06-16 18:45:04 +08:00
Li Zhang
86a50e343a
[Fix] Fix demo link ( #588 )
...
* fix demo link
* update urls
2022-06-13 11:07:34 +08:00
Liu Qingchen
e84bc30f4a
fix a typo in Build for Jetson ( #586 )
...
fix a typo described in issue #585
2022-06-10 13:37:15 +08:00
lvhan028
e69b7a5838
[docs] fix readthedocs ( #577 )
...
* Fix readthedocs issues
* fix opencv-python to 4.5.4.60
* update according to reviewer comments
2022-06-08 20:39:34 +08:00
lvhan028
594c835b6b
merge master and fix the conflicts
2022-06-07 19:04:29 +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
q.yao
74243dc98b
[Enhancement] Add ONNX passes support ( #390 )
...
* add merge_shape_concate
* add some peephole optimization
* bug fixing
* fix for torch1.9
* add flatten cls head
* add subgraph matcher with attribute
* add ut
* fix lint
* remove onnx2ncnn
* add opset version
* axis name
* fix peephole
* fix symbol compare
* add docs
2022-06-06 21:30:31 +08:00
lzhangzz
567ec62296
[Fix] Fix recent build problems ( #544 )
...
* simplify deps management
* skip visibility flags for MSVC
* simplify cuda deps
* naming
* workaround for cmake<3.17
* add spdlog dependency
* move the enablement of CUDA to top level CMakeLists.txt
* fix MSVC build
* fix lint
* fix build for backend ops only
* remove comment
* allow to use apis/python as a standalone project
* remove redundant cmake code
* control shared or static lib using `MMDEPLOY_SHARED_LIBS` instead of `BUILD_SHARED_LIBS`
* fix MSVC build
* update docs
2022-06-06 11:19:34 +08:00
RunningLeon
51f630b22c
Fix test ncnn failure in regression test ( #551 )
...
* fix ncnn test in regression test
* update doc
* fix docstring
2022-06-06 10:00:02 +08:00
AllentDan
ee878b539b
change resolution and fix regression test for mmocr ( #534 )
2022-06-02 18:29:41 +08:00
tpoisonooo
f969d5a104
docs(do_regression_test): fix-typo ( #547 )
...
* docs(do_regression_test): fix-typo
* improvement(apis/__init__.py): add print
* fix(CI): lint
* revert(apis/__init__.py): remove logging
2022-06-02 17:07:53 +08:00
q.yao
ea1122ce88
[Docs] Update doc for dependency ( #543 )
...
* Update doc for dependency
* update requirements
2022-06-01 15:39:34 +08:00
q.yao
b32fc41bed
[Refactor][API2.0] Api refactor2.0 ( #529 )
...
* [refactor][API2.0] Add onnx export and jit trace (#419 )
* first commit
* add async call
* add new api onnx export and jit trace
* add decorator
* fix ci
* fix torchscript ci
* fix loader
* better pipemanager
* remove comment, better import
* add kwargs
* remove comment
* better pipeline manager
* remove print
* [Refactor][API2.0] Api partition calibration (#433 )
* first commit
* add async call
* add new api onnx export and jit trace
* add decorator
* fix ci
* fix torchscript ci
* fix loader
* better pipemanager
* remove comment, better import
* add partition
* move calibration
* Better create_calib_table
* better deploy
* add kwargs
* remove comment
* better pipeline manager
* rename api, remove reduant variable, and misc
* [Refactor][API2.0] Api ncnn openvino (#435 )
* first commit
* add async call
* add new api onnx export and jit trace
* add decorator
* fix ci
* fix torchscript ci
* fix loader
* better pipemanager
* remove comment, better import
* add ncnn api
* finish ncnn api
* add openvino support
* add kwargs
* remove comment
* better pipeline manager
* merge fix
* merge util and onnx2ncnn
* fix docstring
* [Refactor][API2.0] API for TensorRT (#519 )
* first commit
* add async call
* add new api onnx export and jit trace
* add decorator
* fix ci
* fix torchscript ci
* fix loader
* better pipemanager
* remove comment, better import
* add partition
* move calibration
* Better create_calib_table
* better deploy
* add kwargs
* remove comment
* Add tensorrt API
* better pipeline manager
* add tensorrt new api
* remove print
* rename api, remove reduant variable, and misc
* add docstring
* [Refactor][API2.0] Api ppl other (#528 )
* first commit
* add async call
* add new api onnx export and jit trace
* add decorator
* fix ci
* fix torchscript ci
* fix loader
* better pipemanager
* remove comment, better import
* add kwargs
* Add new APIS for pplnn sdk and misc
* remove comment
* better pipeline manager
* merge fix
* update tools/onnx2pplnn.py
* rename function
2022-05-31 09:18:18 +08:00
Yifan Zhou
6fa1787a04
Tutorial 05: ONNX Model Editing ( #517 )
...
* tutorial 05
* Upload image
* resolve comments
* resolve comment
2022-05-28 15:19:14 +08:00