Commit Graph

878 Commits (db8de7ec1f9bb08a9079fc60449855ce094ff751)
 

Author SHA1 Message Date
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
Xin Li 60f50a1789
modify the links & fix some typos (#1150)
* modify the links & fix some typos

* typo fixed
2022-10-09 15:51:32 +08:00
达芬奇 895d0749ef
Supplemental a parameter "device" (#1165)
* Supplemental a parameter "device"
补充一个参数“device”

* 补充一个参数“device”
Supplemental a parameter "device"
2022-10-09 14:26:14 +08:00
RunningLeon 51f4e65185
fix reg test for 2.0 (#1116)
* fix reg

fix mmedit mmocr

update

update apcnet of mmseg

catch error when download fails

log error message

* update reg for win

* update yml
2022-10-08 19:14:33 +08:00
RunningLeon 2e459dba6d
support mmpose2.0 for sdk (#1080)
* add mmpose sdk

* --amend

* remove debug draw code

* fix docstring

* update
2022-10-08 15:49:44 +08:00
RunningLeon 8bae5671be
Merge pull request #1091 from RunningLeon/sync_master
Sync master into dev-1.x
2022-10-08 14:08:02 +08:00
Mengyang Liu b2cb5722f7
Update get_started.md (#1155) 2022-10-08 09:16:54 +08:00
RunningLeon da1204db37 Update CI to only use python -m 2022-09-30 18:45:23 +08:00
RunningLeon b78121a776 fix conflicts with dev-1.x 2022-09-30 10:31:32 +08:00
lvhan028 917643fcac
bump version to 0.9.0 (#1115) 2022-09-29 19:48:52 +08:00
AllentDan d153b5aa0a
add rewrite for ort (#1138) 2022-09-29 18:35:51 +08:00
hanrui1sensetime 161f27d493
fix mmedit test picture (#1131) 2022-09-29 17:13:23 +08:00
AllentDan 23e84f46ff
update mmcls yaml (#1137) 2022-09-29 17:09:17 +08:00
grimoire db2c512a11 remove threshold 2022-09-29 16:40:49 +08:00
hanrui1sensetime 7f70d7fe56 [Enhancement 2.0] mmdeploy for mmyolo (#1088)
* support for external codebase like mmyolo

* support for external export

* fix missing flake8

* fix comments

* add aenum

* add missing files

* fix condition

* refactor import_codebase

* fix mmyolo support

* fix lint

* add base codebase

* fix a strange clang-format

* fix import_codebase

* fix dependent codebase register

* wrap custom_model

* fix comment

* add ut
2022-09-29 16:40:47 +08:00
hanrui1sensetime b8c19b35d2 fix mmedit 2.0 dump info for sdk (#1120) 2022-09-29 16:37:36 +08:00
AllentDan c0ae726ae5 remove deploy test loop and enable edit SDK (#1083) 2022-09-29 16:37:36 +08:00
lvhan028 581d1992ed update doc about codebase deployment (#1051)
* update doc about mmclassfication deployment

* update install mmdeploy part

* correct mmcls deployment commands

* reformat supported models

* add deployed model specification

* update doc about mmdetection deployment

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* update doc about mmsegmentation deployment

* update doc about mmocr deployment

* check in cityscapes.png as an input image for converting mmsegmentation model

* update mmocr deployment

* update mmseg.md

* update mmseg.md

* update mmocr.md

* update sdk model inference for mmocr deployment

* update according to reviewer comments

* update

* update

* update mmedit

* update mmpose deployment

* check in face.png for mmedit deployment

* update

* fix according to reviewer comments

* remove duplicate doc

* update docs in english

* update codebase documents in chinese

* fix according to reviewerss comments

* update according reviewer comments

* ObjectDetection -> Object Detection

* InstanceSegmentation -> Instance Segmentation
2022-09-29 16:37:36 +08:00
AllentDan 4fc8828af8 fix ocr UT
fix ci and lint

fix det

fix cuda ci

fix mmdet test

update object detection

fix ut

fix layer norm ut

update ut

lock mmeit version

fix mmocr mmcls ut

add conftest.py

fix ocr ut

fix mmedit ci

install mmedit from source

fix rknn model and prepare_onnx_paddings__tensorrt UT

docstring

fix coreml export

update mmocr config

small test

recovery assert

fix ci
2022-09-29 16:37:36 +08:00
Xin Li 00a37df3de Dev 1.x cpp11 (#1086)
* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

add install mmengine in docker file

* 1. ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

2. add install mmgine in dockerfile

3. add install_mmengine in circleci

* fix mmengine typo
2022-09-29 16:34:10 +08:00
tpoisonooo 2f7e61c55c fix(tools/profile.py): rename to avoid name conflict (#1087)
* fix(tools/profile.py): rename to avoid name conflict

* fix(docs): remove useless
2022-09-29 16:26:31 +08:00
tpoisonooo a53ffec757 improvement(ubuntu_utils.py): check upstream libopencv-dev version (#1068) (#1093) 2022-09-29 16:26:31 +08:00
hanrui1sensetime 89a9e92769 [Fix] Fix mmcls for cifar10 config on dev-1.x (#1056)
* fix mmcls cifar10 config

* fix dump-info for cifar10 config

* use regex instead of packlist

* remove constants unused

* fix while logic

* fix lint

* fix docformatter

* fix classification to avoid conflict
2022-09-29 16:26:31 +08:00
RunningLeon 144fcf7b3a fix github ci
add mim

update circle ci

fix tests

fix ci
2022-09-29 16:26:31 +08:00
q.yao d282503012
update detyaml (#1133) 2022-09-29 12:14:06 +08:00
lvhan028 613acb366c
fix prebuilt error (#1123) 2022-09-28 17:52:09 +08:00
hanrui1sensetime d7cbb395da
[Enhancement 2.0] mmdeploy for mmyolo (#1088)
* support for external codebase like mmyolo

* support for external export

* fix missing flake8

* fix comments

* add aenum

* add missing files

* fix condition

* refactor import_codebase

* fix mmyolo support

* fix lint

* add base codebase

* fix a strange clang-format

* fix import_codebase

* fix dependent codebase register

* wrap custom_model

* fix comment

* add ut
2022-09-28 16:30:29 +08:00
hanrui1sensetime 358c030ad9
fix mmedit 2.0 dump info for sdk (#1120) 2022-09-28 16:29:07 +08:00
AllentDan f26b352b7d
remove deploy test loop and enable edit SDK (#1083) 2022-09-28 16:28:24 +08:00
lvhan028 290d0d6e74
reorg demo/csrc (#1119)
* reorg demo/csrc

* disable det_cls and det_pose build
2022-09-28 11:47:00 +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
Chen Xin 0720ed8404
fix tracer (#1107) 2022-09-27 15:24:57 +08:00
Mengyang Liu 7da5c1408e
feat(CI): add rust-mmdeploy (#1100)
* Add CI of rust api

* Bug fixed

* Install Rust with actions

* Fix bug

* Fix bug

* Fix bug

* Fix bug

* Fix bug

* Add debugger-action

* Add debugger-action

* Fix bug

* Readd debugger

* Update mmdeploy dir path

* Update mmdeploy dir path

* Fix ld error

Co-authored-by: Liu Mengyang <liumengyang@Lius-MacBook-Pro.local>
2022-09-27 15:07:39 +08:00
Mengyang Liu 0effa59440
Split demos of C and C++ SDK into two subdirectories (#1099)
* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Split demos of C and C++ SDK into two subdirectories

* Combine add_example
2022-09-27 13:40:04 +08:00
tpoisonooo c5e4fcffbc
docs(quantization.md): remove ppq commit (#1095) 2022-09-27 12:35:24 +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
Li Zhang bf887cc8bc
[Enhancement] Refactor SDK pipeline (#938)
* unify C API naming

* fix demo and move apis/c/* -> apis/c/mmdeploy/*

* fix lint

* WIP refactor pipeline

* backward compatibility

* working pipeline demo

* add text det-recog demo

* add det-pose demo

* fix build

* fix demo

* add environment interface

* add environment to pass scheduler & model info at runtime

* update demos

* add pipeline API for Python

* fix `FromPyObject`

* fix for opencv-4.2

* environment -> context, improve pipeline

* python model interface

* fix cmake

* fix python & cmake

* context & C++ pipeline API

* minor fix

* improve API

* fix shared libs

* refresh C/Python API

* propagate context

* fix  python demo

* fix

* add namespace

* fix namespace

* fix mis-changed strings

* fix

* fix python api

* rename

* clean-up

* fix pose detector

* clean-up

* clean-up

* clean-up

* fix python API build

* fix CI

* fix lint

* fix lint

* fix lint & demo

* install pipeline.hpp

* fix MSVC shared library build

* fix sample

* fix MSVC monolithic build

* minor fix
2022-09-26 16:11:14 +08:00
lvhan028 11409d7c98
update doc about codebase deployment (#1051)
* update doc about mmclassfication deployment

* update install mmdeploy part

* correct mmcls deployment commands

* reformat supported models

* add deployed model specification

* update doc about mmdetection deployment

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* fix according to reviewer comments

* update doc about mmsegmentation deployment

* update doc about mmocr deployment

* check in cityscapes.png as an input image for converting mmsegmentation model

* update mmocr deployment

* update mmseg.md

* update mmseg.md

* update mmocr.md

* update sdk model inference for mmocr deployment

* update according to reviewer comments

* update

* update

* update mmedit

* update mmpose deployment

* check in face.png for mmedit deployment

* update

* fix according to reviewer comments

* remove duplicate doc

* update docs in english

* update codebase documents in chinese

* fix according to reviewerss comments

* update according reviewer comments

* ObjectDetection -> Object Detection

* InstanceSegmentation -> Instance Segmentation
2022-09-24 18:05:24 +08:00
q.yao 6ac9c4d7a8
[Fix] fix det with static shape (#1049)
* fix det with static shape

* update rotated detection

* fix resize keep ratio
2022-09-23 14:45:57 +08:00
Xin Li 20b915dc1f
Dev 1.x cpp11 (#1086)
* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

* ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

add install mmengine in docker file

* 1. ocr/short_scale_aspect_jitter.cpp scale_factor double to float not working on c++11

2. add install mmgine in dockerfile

3. add install_mmengine in circleci

* fix mmengine typo
2022-09-23 14:45:16 +08:00
tpoisonooo 82b4a85f42
fix(tools/profile.py): rename to avoid name conflict (#1087)
* fix(tools/profile.py): rename to avoid name conflict

* fix(docs): remove useless
2022-09-23 13:42:36 +08:00
tpoisonooo 049a052f95
improvement(ubuntu_utils.py): check upstream libopencv-dev version (#1068) (#1093) 2022-09-23 13:42:15 +08:00
tpoisonooo 676f1bf49c
improvement(ubuntu_utils.py): check upstream libopencv-dev version (#1068) 2022-09-23 10:21:09 +08:00
tpoisonooo 107ae8499d
docs(jetsons.md): fix desc (#1090)
* docs(jetsons.md): fix desc

* docs(jetsons.md): update
2022-09-23 10:14:00 +08:00
RunningLeon 40adb329a3 Merge master:ea7706cb into sync_master 2022-09-22 19:49:50 +08:00
hanrui1sensetime 01df218da5
[Fix] Fix mmcls for cifar10 config on dev-1.x (#1056)
* fix mmcls cifar10 config

* fix dump-info for cifar10 config

* use regex instead of packlist

* remove constants unused

* fix while logic

* fix lint

* fix docformatter

* fix classification to avoid conflict
2022-09-22 11:40:45 +08:00
hanrui1sensetime 1d38426891
border -> pad_param (#1085) 2022-09-22 10:17:39 +08:00
hanrui1sensetime bb397a9224
[Fix] fix torchscript (#1082)
* fix torchscript

* fix mmocr
2022-09-21 19:27:04 +08:00
q.yao ea7706cbfd
fix layer norm (#1015) 2022-09-21 16:24:47 +08:00
BrokenArrow fbe7586415
Add result of quantization of TextSnake (#1074)
* Update result of TextSnake

result from https://github.com/BrokenArrow1404/2022-MMLAB-SUMMERCAMP/blob/main/week4/README.md

* Update result of TextSnake

result from https://github.com/BrokenArrow1404/2022-MMLAB-SUMMERCAMP/blob/main/week4/README.md

* Add deploy config for quantization of TextSnake

* repair lint error
2022-09-21 15:28:28 +08:00