AllentDan
7d085bee0e
directly set pytorch metric when it's empty for regression_test.py ( #1704 )
2023-02-03 11:25:11 +08:00
lvhan028
b101a4af65
[Enhancement] remove MMDEPLOY_BUILD_SDK_CXX_API option ( #1688 )
...
* remove MMDEPLOY_BUILD_SDK_CXX_API option
* update
* update
2023-01-31 13:29:59 +08:00
tpoisonooo
7e48fb2905
improvement(tools/scripts): pip install with user environment ( #1660 )
2023-01-20 00:19:37 +08:00
kaizhong
bce276ef24
[Feature]: add a tool to generate supported-backends markdown table ( #1374 )
...
* convert2markdown
* update yaml2mardown code
* code update
* add parse_args
* add parse_args
* add parse_args
* add parse_args
* add website list
* add website list
* add website list
* add website list
* add website list
* add website list
* add website list
* add url in yaml
* add table in convert
* add table in convert
* From yaml export markdown
* From yaml export markdown
* From yaml export markdown
* From yaml export markdown
* From yaml export markdown
* From yaml export markdown
* Rename convert.py to generate_md_table.py
generate_markdownd_table
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* docs(project): sync en and zh docs
* Update mmaction.yml
* add backends parser
* add backends parser
* Add type for the codeblock.
* move to useful tools
2023-01-18 16:32:26 +08:00
RunningLeon
3527412127
change log file extension to 'txt' in regression test( #1608 )
2023-01-10 17:42:55 +08:00
lvhan028
c3986cebe8
bump version to v0.12.0 ( #1594 )
2022-12-30 16:17:37 +08:00
hanrui1sensetime
20b2aff660
[Fix] Fix batch inference error for Mask R-CNN ( #1575 )
...
* fix Mask R-CNN for multi-batch
* fix flake8
* fix bug
* use Sequence instead list
* fix docstring
* only test_img accept list input
2022-12-30 14:26:33 +08:00
q.yao
d113a5f1c7
[Refactor] refactor is_available, check_env ( #1540 )
...
* refactor is available
* remove try catch in apis
* fix trt check env
* fix ops_info
* update default value
* remove backend list
* optimial pycuda
* update requirement, check env for rknn
2022-12-23 12:06:32 +08:00
q.yao
5285caf30a
[Refactor] Add 'to_backend' in BackendManager ( #1522 )
...
* Refactor to backend
* export_postprocess_mask = False as defailt
* update zh_cn docs
* solve comment
* fix comment
2022-12-21 14:04:16 +08:00
tpoisonooo
77c2ee5feb
fix(tools/scripts): build aarch option ( #1530 )
2022-12-15 20:41:59 +08:00
GY
05ed8e16ea
update to ppl.nn v0.9.1 and ppl.cv v0.7.1 ( #1356 )
2022-12-13 14:21:24 +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
q.yao
4046e13146
Reformat multi-line logs and docstrings ( #1489 )
2022-12-06 19:50:58 +08:00
RunningLeon
55a3c8cf78
Bump version to v0.11.0 ( #1470 )
...
* bump version v0.11.0
* fix
2022-11-30 17:18:13 +08:00
tpoisonooo
f6b35f3b68
fix(CI): ncnn script install ( #1459 )
...
* CI(script): fix ncnn install
* docs(build): update ncnn version to 20221128
* fix(CI): trigger
2022-11-29 20:37:06 +08:00
Chen Xin
2c9861555f
[Enhancement] add mmaction.yml for test ( #1455 )
...
* add mmaction.yml for test
* t# This is a combination of 2 commits.
add missing file
* fix typo
* remove
2022-11-29 18:48:29 +08:00
Chen Xin
c97aed1a96
fix total time ( #1451 )
2022-11-29 13:45:50 +08:00
AllentDan
d9d3ded8bc
concat datasets pytorch metric ( #1447 )
2022-11-28 17:34:02 +08:00
Chen Xin
3d1c135297
[Enhancement] refactor profiler ( #1403 )
...
* reduce profile node name
* add profiler for pipeline
* add profiler for cond
* udpate
2022-11-28 10:44:54 +08:00
RunningLeon
10e5cf6e0f
update reg test ( #1440 )
...
* give model path if stead of 'x' when conversion failed
* set --models with default value ['all']
* fix mmseg yml
2022-11-25 21:16:22 +08:00
RunningLeon
de96f51231
Update regresssion test to parse eval result from json ( #1310 )
...
* export metrics results to json
* fix mmedit
* update docs
* fix test failure
* fix
* fix mmocr metrics
* remove srgan config with no set5 test
2022-11-22 20:47:22 +08:00
tpoisonooo
b23411d907
fix(tools/scripts): find env file failed ( #1385 )
...
* fix(tools/scripts): find env file failed
* Update quantize_model.md
2022-11-22 20:26:55 +08:00
AllentDan
4dd4d4851b
Add rv1126 yolov3 support to sdk ( #1280 )
...
* add yolov3 head to SDK
* add yolov5 head to SDK
* fix export-info and lint, add reverse check
* fix lint
* fix export info for yolo heads
* add output_names to partition_config
* fix typo
* config
* normalize config
* fix
* refactor config
* fix lint and doc
* c++ form
* resolve comments
* fix CI
* fix CI
* fix CI
* float strides anchors
* refine pipeline of rknn-int8
* config
* rename func
* refactor
* rknn wrapper dict and fix typo
* rknn wrapper output update, mmcls use end2end type
* fix typo
2022-11-22 20:16:22 +08:00
Chen Xin
cdb6b46955
Sdk profiler ( #1274 )
...
* sdk-profiler
* fix lint
* support lift
* sync net module when profile
* use Scope*
* update use task name
* fix
* use std::unique_ptr<Event>
* remove mmdeploy::graph link for c and transform
* fix
* fix
* fix
2022-11-21 12:52:21 +08:00
lvhan028
b0a350d49e
build opencv for aarch64 with videoio enabled ( #1343 )
...
* build opencv for aarch64 with videoio enabled
* update doc
* update
* update
* update
2022-11-11 10:22:15 +08:00
Jelle Maas
5923054bb4
Add Core ML common configuration ( #1308 )
...
* Add CoreML instance segmentation configs
* Add common configuration for Core ML backend
* Fix pre-commit hook failures
2022-11-08 17:25:56 +08:00
lvhan028
625593d6f3
[Feature] Support rv1126 in sdk ( #1238 )
...
* tmp
* refine
* update ssd-lite
* tmp
* tmp
* 0.1
* 0.1.1
* rename to base_dense_head
* remove debug code
* wait stream
* update cmakelists
* add some comments
* fix lint
* fix ci error
* fix according reviewer comments
* update params
* fix
* support normalize with to_float being false
* fix lint
* support rv1126 build ci
* support rv1126 build ci
* change debug level
* fix ci
* update
* update doc
* fix circleci error
* update normalize
* update
* check in build script
* change name
2022-11-07 11:13:47 +08:00
lvhan028
4c34ad74a1
bump version to 0.10.0 ( #1259 )
...
* bump version to 0.10.0
* fix circleci workflow error
2022-10-31 19:24:47 +08:00
RunningLeon
b20741352e
update reg ( #1217 )
2022-10-18 11:16:38 +08:00
OldDreamInWind
161fb01d73
[Feature]add edsr result && super-resolution ncnn-int8 config ( #1111 )
...
* add edsr result && ncnn-int8 config
* fix lint error
* fix lint error
* fix lint error && update benchmark.md
* add EDSRx2 pytorch result
* update edsrx4 result in benchmark
2022-10-18 10:04:56 +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
RunningLeon
41fcc2242f
log cmd info for regresstion test ( #1146 )
...
* add log to regresstion test
* update for win
* update mmseg reg yml
2022-10-10 16:23:24 +08:00
AllentDan
76b837194f
Update timer ( #1158 )
...
* update time counter
* update test.py
* fix ci
2022-10-10 16:22:19 +08:00
tpoisonooo
5cdf29339b
feat(tools/scripts): add auto install jetson orin ( #1105 )
...
* feat(tools/scripts): add auto install jetson orin
* docs(script): rename file
* fix(script): if clause error
* style(scripts): typo
2022-10-09 15:53:19 +08:00
lvhan028
917643fcac
bump version to 0.9.0 ( #1115 )
2022-09-29 19:48:52 +08:00
tpoisonooo
14e31fb85a
fix(regression_test): use cuda:0 as default ( #1020 )
...
* fix(regression_test): use cuda:0 as default
* fix(pillar_scatter.py): fix scaternd rewrite
2022-09-26 16:11:43 +08:00
tpoisonooo
676f1bf49c
improvement(ubuntu_utils.py): check upstream libopencv-dev version ( #1068 )
2022-09-23 10:21:09 +08:00
tpoisonooo
50bd6b1703
improvement(visualize.py): headless enable inference ( #1041 )
...
* improvement(visualize.py): split render and display
* fix(visualize.py): skip render and save for headless device
* docs(deploy.py): update desc
2022-09-19 11:30:47 +08:00
tpoisonooo
538c9cfbb1
docs(scripts): update auto install desc ( #1036 )
2022-09-14 17:49:29 +08:00
Chen Xin
b87afb9ebb
fix mmdeploy builder on windows ( #1018 )
...
* fix mmdeploy builder on windows
* add pyyaml
* fix lint
2022-09-09 15:03:55 +08:00
lvhan028
b310ba8d3e
bump version to v0.8.0 ( #1009 )
2022-09-07 10:53:50 +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
6b01a2e649
[Feature] Add option to fuse transform. ( #741 )
...
* add collect_impl.cpp to cuda device
* add dummy compute node wich device elena
* add compiler & dynamic library loader
* add code to compile with gen code(elena)
* move folder
* fix lint
* add tracer module
* add license
* update type id
* add fuse kernel registry
* remove compilier & dynamic_library
* update fuse kernel interface
* Add elena-mmdeploy project in 3rd-party
* Fix README.md
* fix cmake file
* Support cuda device and clang format all file
* Add cudaStreamSynchronize for cudafree
* fix cudaStreamSynchronize
* rename to __tracer__
* remove unused code
* update kernel
* update extract elena script
* update gitignore
* fix ci
* Change the crop_size to crop_h and crop_w in arglist
* update Tracer
* remove cond
* avoid allocate memory
* add build.sh for elena
* remove code
* update test
* Support bilinear resize with float input
* Rename elena-mmdeploy to delete
* Introduce public submodule
* use get_ref
* update elena
* update tools
* update tools
* update fuse transform docs
* add fuse transform doc link to get_started
* fix shape in crop
* remove fuse_transform_ == true check
* remove fuse_transform_ member
* remove elena_int.h
* doesn't dump transform_static.json
* update tracer
* update CVFusion to remove compile warning
* remove mmcv version > 1.5.1 dep
* fix tests
* update docs
* add elena use option
* remove submodule of CVFusion
* update doc
* use auto
* use throw_exception(eEntryNotFound);
* update
Co-authored-by: cx <cx@ubuntu20.04>
Co-authored-by: miraclezqc <969226879@qq.com>
2022-09-05 20:29:18 +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
RunningLeon
cbedf1cc30
fix regression test ( #958 )
...
* fix reg
* set sdk wrapper device id
* resolve comment
2022-09-02 11:28:12 +08:00
tpoisonooo
38bcc43256
CI(tools/scripts): add submodule init and update ( #977 )
2022-09-02 10:28:11 +08:00
Chen Xin
8a40f195bc
remove Release dir in mmdeploy package ( #960 )
2022-08-31 15:48:42 +08:00
Chen Xin
c04dcd2c62
Support risc-v platform ( #910 )
...
* add ppl.nn riscv engine
* update ppl.nn riscv engine
* udpate riscv service (ncnn backend)
* update _build_wrapper for ncnn
* fix build
* fix lint
* update default uri
* update file structure & add cn doc
* remove copy input data
* update docs
* remove ncnn server
* fix docs
* update zh doc
* update toolchain
* remove unused
* update doc
* update doc
* update doc
* rename cross build dirname
* add riscv.md to build_from_source.md
* update cls model
* test ci
* test ci
* test ci
* test ci
* test ci
* update ci
* update ci
2022-08-26 13:54:40 +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