Commit Graph

1012 Commits (25cea0ac0f055d7081c696ad1ac129dab1478f4d)
 

Author SHA1 Message Date
Chen Xin 25cea0ac0f
fix mmseg output sync (#2122) 2023-05-30 14:06:04 +08:00
tpoisonooo 012a754511
docs(project): deploee introduction (#2120)
* docs(project): deploee introduction

* Update README_zh-CN.md
2023-05-29 17:18:44 +08:00
RunningLeon faf05fe358
fix prebuild uploading (#2112)
* fix

* change to test mode

* remove

* fix

* fix

* fix

* test pypi

* test

* add publish

* test

* revert to prod

* update
2023-05-24 19:59:47 +08:00
RunningLeon bd7117c9c3
fix prebuild workflow (#2107) 2023-05-23 17:38:26 +08:00
huayuan4396 faa9139690
fix function rewriter (#2105) 2023-05-23 17:37:44 +08:00
RunningLeon e47c6400b0
bump version to v1.1.0 (#2094) 2023-05-23 13:32:44 +08:00
AllentDan 8670d838cb
Fix regression test for mmocr (#2099)
* fix text recog regression test

* update mmocr.yml and change | to + in regression_test.py

* recover
2023-05-22 16:09:11 +08:00
RunningLeon 11af78caae
CI: Add regression test workflow (#2081)
* add reg test workflow

* fix name

* fix

* fix

* update

* fix ncnn on win

* fix build ts on wins

* remove last step

* fix

* fix

* fix

* fix

* fix mmyolo

* fix install torch1.13

* fix mmyolo

* fix

* fix

* manage wins env

* update

* add lib

* fix typo

* update

* fix
2023-05-19 18:05:34 +08:00
AllentDan 98f895c21d
[Enhancement] refine mmagic SDKEnd2EndModel forward (#2092)
* update SDKEnd2EndModel of super_resolution_model.py

* recover

* docstring
2023-05-19 17:11:51 +08:00
huayuan4396 5e9d27b8d6
mmedit -> mmagic (#2061)
* mmedit -> mmagic --initial

* fix codebase/cmakelist

* add tests/test_codebase/test_mmagic/data/

* fix lint

* fix rename

* fix EditDataPreprocessor

* fix EditTestLoop to TestLoop for mmagic

* fix EditValLoop to ValLoop for mmagic

* fix EditEvaluator to Evaluator for mmagic

* modify rgtest/mmagic.yml

* fix to MultiEvaluator

* fix mmagic model.py

* fix reg_test

* fix lint

* pass rgtest

* fix ci quantize.yml

* fix ci

* update docs

* fix lint

* fix lint

* fix lint

* fix sr end2endmodel device

* change destruct device back to cpu

* modify output device

* rename function name

* update docstring
2023-05-19 15:00:45 +08:00
huayuan4396 8e658cd1bf
Update Github Badge for Workflow (#2020)
* add badge to build.yml

* add rest badges

* update badge in readme

* fix lint

* use html table

* test font size

* update table

* fix lint

* create badge in step

* fix windows badge

* check table

* make badge and text in one line
2023-05-18 14:56:02 +08:00
AllentDan 3b62b21fac
add attention convertor (#2064) 2023-05-17 15:47:05 +08:00
RunningLeon 1c7749d17c
[Enhancement]: Support opset_version 13 (#2071)
* upgrade to opset 13

* fix unsqueeze

* fix mmseg yml

* fix mmseg reg test

* forcely change opset13

* fix mmdet3d

* optimize squeeze

* update base dockerfile

* support squeeze/unsqueeze with axes as input in onnx2ncnn

* update optimizer for squeeze/unsqueeze

* revert

* Revert "support squeeze/unsqueeze with axes as input in onnx2ncnn"

This reverts commit 5ca9f1ae172cb4e1625f150ccb049138b5f37aa3.

* fix docs

* fix opset
2023-05-17 11:02:30 +08:00
q.yao 389a146212
Fix batch index for cascade roi head (#2078) 2023-05-15 17:14:06 +08:00
AllentDan 5fd0e8957f
[Fix] swap width and height in Resize and Pad according to upstream codebases (#2063)
* swap width and height in Resize and Pad according to upstream codebases

* fix UT

* better?

* add comments
2023-05-15 11:30:50 +08:00
RunningLeon 26b66ef511
fix with_argmax for mmseg (#2056) 2023-05-11 15:37:53 +08:00
RunningLeon 9385eed16f
[Fix]: limit urllib3 for readthedocs (#2070) 2023-05-11 14:08:13 +08:00
RunningLeon 162f4cbe6e
fix ci (#2058)
* fix

* fix

* update

* fix
2023-05-10 15:28:08 +08:00
Chen Xin 49103cb72e
[Fix] Fix dataloader for ncnn quantization (#2018)
* fix mmpose create_input when feed ndarray

* fix dataloader for ncnn-ppq
2023-05-08 15:03:25 +08:00
Vanilla 2d85be9aa6
【Doc】Update mmdet.md en/cn (#2054)
* Update_mmdetmd_en_cn

* update_mmdetmd_encn2

* Revert "update_mmdetmd_encn2"

This reverts commit 0bf26d46c4.

* update_mmdetmd_enn

* update_mmdetmd_en
2023-05-06 14:17:31 +08:00
huayuan4396 840adcfb43
mmcls -> mmpretrain (#2003)
* mmcls -> mmpretrain

* add constraints.txt

* fix lint

* fix lint

* remove constraints.txt

* fix windows ci

* modify requirements

* fix mdlink and mmpretrain version

* fix dead link

* modify codebase cmakelist

* fix rename
2023-04-28 20:49:22 +08:00
Chen Xin bc79c0dd2b
[Enhancement] Load openvino model from memory (#2027)
* fix cpu docker (different openvino ver for python & sdk)

* load openvino model from memory

* fix lint
2023-04-28 16:13:14 +08:00
Stozn ca773a78f0
Update the doc for spdlog installation.md (#1994)
* Update build_from_source.md

* Update build_from_source.md

* resolve comments

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-04-28 14:17:33 +08:00
AllentDan 5ebd10b029
Add with argmax in config for mmseg (#2038)
* add with_argmax for model conversion in mmseg

* resolve lint
2023-04-27 16:01:45 +08:00
huayuan4396 e9c0092b87
Update Repo List in README (#2031)
* Update Repo List in README

* append readme repo list
2023-04-27 14:41:54 +08:00
lihongda 9a442ab4ed
CodeCamp #106: Support SOLOv2 deployment with OpenVINO (#1521)
* support solov2 openvino

* fix lint

* Update benchmark.md

* Update __init__.py

* fix names and delete redundant codes

* fix names and redundant codes

* fix indent

* fix lint

* fix lint

* delete 'ctx' arguments

* [Fix]fix lint

* 修改:     mmdeploy/codebase/mmdet/models/dense_heads/solov2_head.py
	修改:     mmdeploy/codebase/mmdet/models/detectors/single_stage_instance_seg.py

* Delete matrix_nms.py

* Update __init__.py

* Update linspace.py

* Update solov2_head.py

* Update solov2_head.py

* update

* fix num_groups

* update docs

* add end2endmodel for solo

* add end2endmodel for solo

* [Feature] Support End2EndModelSOLO

* Update object_detection_model.py

* add model_cfg to End2EndModel

* add model_cfg to End2EndModel

* Fix bugs for End2EndModel

* fix bugs for End2EndModel

* update docs.

* update conmment

* 更新 benchmark.md

* update regression tests

* fix errors in docs
2023-04-26 11:47:41 +08:00
任祉涵 6bccf05be0
update mmseg docs (#2022) 2023-04-24 16:12:24 +08:00
Chen Xin 2c7e91b8ae
Fix rknn and aarch64 build ci (#1980)
* fix ci build script doesn't fail when error occurs

* fix build_cpu_model_convert

* upgrade pip

---------

Co-authored-by: RunningLeon <maningsheng@sensetime.com>
2023-04-23 11:18:37 +08:00
RunningLeon 63258036bb
remove circleci (#1999)
* remove circleci

* fix dead urls
2023-04-21 12:55:14 +08:00
任祉涵 584fb7cd9b
[Docs] Update mmcls doc (#1978)
* update mmcls doc

* add cn readme

* fix ci

* replace mmcls to mmpretrain
2023-04-21 11:13:41 +08:00
kaizhong 671d626e33
Generate supported-backends markdown table (#1986)
* Generate supported-backends markdown table

* Generate supported-backends markdown table

* update branch

* update codebase dir

* update backends nargs

* update args to capitals

* center alignment starting from the 3rd coloumn

* center alignment starting from the 3rd coloumn

* fix bad urls

* fix bad urls

* Update codebases.txt

fix circleci

* Update codebases.txt

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-04-21 11:12:27 +08:00
AllentDan 6c26e887d4
[Doc] update SAR status (#1789)
* update SAR status and fix torchscript export

* add reminder for SAR
2023-04-12 15:43:51 +08:00
RunningLeon 58bcdaea77
Fix retinanet wrong visualization with torch1.13+openvino (#1977)
* fix

* fix ci

* fix dead links
2023-04-12 11:55:03 +08:00
RunningLeon 4bb9bc738c
bump version to v1.0.0 (#1960)
* change docs from 1.x to main

* bump version

* update readme status info and highlights

* revert version change

* fix dead links

* fix script

* fix docs

* fix building status

* fix md lint error

* upgrade to ubuntu20.04 for github ci

* Revert "upgrade to ubuntu20.04 for github ci"

This reverts commit 9c598f4857.

* update codebase md files

* upgrade to ubuntu20.04 for github ci

* fix

* fix requirements

* fix

* fix ci

* bump version

* fix

* fix pplnn torchscript

* fix building status

* fix ncnn

* fix

* remove circileci hold

* fix pytorch image
2023-04-06 12:07:42 +08:00
RunningLeon 0196cd0048
[Enhancement]: Update dockerfile and add github release note (#1952)
* update dockerfile and add github release note

* fix typo in get_started

* fix comment
2023-04-03 15:57:20 +08:00
Chen Xin 8cab33c4f9
Update get_started.md (#1947)
* update generate_build_config to support cxx11abi tag

* test prebuild ci

* update docs/zh_cn/get_started.md

* update docs/en/get_started.md

* fix prebuild ci

* update prebuilt_package_windows.md

* update prebuild ci deps

* fix prebuild ci

* try to fix prebuild ci

* fix prebuild ci

* remove trigger [no ci]
2023-04-03 11:11:47 +08:00
hanrui1sensetime d76c7b61a5
[Fix] Fix errors about deploying MMYOLO-OpenVINO, DETR, ConvFormer and RTMDet (#1919)
* fix reg test yolox

* fix detr

* fix rtmdet-sdk reg

* fix conformer precision

* add conformer_cls sdk

* add mmcls ut

* fix detr ut

* fix detr ut

* fix lint

* fix yapf

* fix cls sdk

* fix detr_head rewriter

* fix interpolate

* complement the mmdet ut

* fix regression DETR"

* fix ut

* fix ut version

* fix lint
2023-03-31 13:45:15 +08:00
lvhan028 502692bfd3
cherry-pick #1855, #1806, #1798
Sync master to dev-1.x
2023-03-30 16:32:12 +08:00
RunningLeon 3c110b87ad
[Enhance]: Update introduction image (#1937)
* update introduction image

* update
2023-03-30 15:51:48 +08:00
Chen Xin ea73f20fe4
[Refactor] Rename mmdeploy_python to mmdeploy_runtime (#1821)
* rename mmdeploy_python -> mmdeploy_runtime

* remove incompatible build config

* Revert "remove incompatible build config"

This reverts commit cdc780cde5.

* fix builder

* update package_tools docs

* fix linux set_env script

* fix gcc 7.3 aligned_alloc

* fix link

* comment temporarily as text_det_recog can't be built with prebuild package built under manylinux
2023-03-29 20:57:21 +08:00
Xin Chen fabdacc37a fix trt net build 2023-03-29 20:34:54 +08:00
Li Zhang 739e6b7ecf [Fix] Export `mmdeploy` only in monolithic build (#1798)
* export only `mmdeploy` in monolithic build

* export dynamic backends
2023-03-29 20:09:43 +08:00
Li Zhang c96967ffc1 [Fix] Fix Debian aarch64 cross compiling (#1806)
* fix debian cross compiling

* comment

* minor
2023-03-29 20:09:37 +08:00
Li Zhang 0da1ed2311 add unified device guard (#1855) 2023-03-29 20:09:23 +08:00
RunningLeon c39438658f
[Enhancement]: update toolset of prebuild image (#1932)
* update

* update dockerfile
2023-03-29 19:30:52 +08:00
RunningLeon 7237b91dc5
[Fix]: Fix mmrotate and regression script (#1917)
* fix pipeline

* disable test for openvino and sdk+torchscript for mmpose
2023-03-28 12:11:35 +08:00
Damon Da Tong 9fa74035b0
fix pose_tracker python api will raise ValueError when result has no human (#1922) 2023-03-27 14:50:17 +08:00
Shengxi Li 032ce75afa
mmclassification ConformerHead support (#1905)
* mmclassification ConformerHead support

* add mmclassification ConformerHead test config

---------

Co-authored-by: lishengxi <mtdp@MacBook-Pro-8.local>
2023-03-23 17:27:39 +08:00
Chen Xin a14177c0eb
[Feature]: Add github prebuild workflow after new release. (#1852)
* add prebuild dockerfile

* add prebuild test workflw

* update

* update

* rm other workflow for test

* Update docker image

* add win1o prebuild

* add test prebuild

* add windows scripts in prebuilt package

* add linux scripts in prebuilt package

* generate_build_config.py

* fix cudnn search

* fix env

* fix script

* fix rpath

* fix cwd

* fix windows

* fix lint

* windows prebuild ci

* linux prebuild ci

* fix

* update trigger

* Revert "rm other workflow for test"

This reverts commit 0a03872750.

* update sdk build readme

* update prebuild

* fix dll deps for python >= 3.8 on windows

* fix ci

* test prebuild

* update test script to avoid modify upload folder

* add onnxruntime.dll to mmdeploy_python

* update prebuild workflow

* update prebuild

* Update loader.cpp.in

* remove exists prebuild files

* fix opencv env

* update cmake options for mmdeploy python build

* remove test code

* fix lint

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
Co-authored-by: RunningLeon <maningsheng@sensetime.com>
2023-03-23 17:00:19 +08:00
Li Zhang 9f9b3a81b2
[Enhancement] Support RTMDet-Ins (#1867)
* support RTMDet-Ins

* optimization

* avoid out of boundary

---------

Co-authored-by: lvhan028 <lvhan_028@163.com>
2023-03-23 16:22:19 +08:00