45 Commits

Author SHA1 Message Date
huayuan4396
e19f6fa08d
Support deploy of YoloX-Pose (#2184)
* dev_mmpose

* tide

* fix lint

* del redundant task and model

* fix

* test ut

* test ut

* upload configs

* fix

* remove debug

* fix lint

* use mmcv.ops.nms

* fix lint

* remove loop

* debug

* test modified ut

* fix lint

* fix return type

* fix

* fix rescale

* fix

* fix pack_result

* update batch inference

* fix nms and pytorch show_box

* fix lint

* modify ut

* add docstring

* modify nms

* fix

* add openvino config

* update docs

* fix test_mmpose

---------

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2023-06-28 19:17:36 +08:00
RunningLeon
a664f061ff
Fix some ut (#2187)
* fix vit ut

* fix

* fix

* update logo

* Revert "update logo"

This reverts commit 2e4fa24bfdd2b5d3465702900fbd7e72b96b8e51.

* fix dcn ut

* fix

* update

* fix

* Revert "fix"

This reverts commit c902cf8d2bf7e0ab9144e826b567e33389757a23.

* fix

* fix

* use torch from docker image

* Revert "use torch from docker image"

This reverts commit fdb48404fcdb449ef0f5ef16164cb18d981fc882.

* fix

* update

* update

* update

* update
2023-06-28 16:22:24 +08:00
RunningLeon
a8775d2cf1
Update readme intro image and docs (#2175)
* update logo

* update

* update

* update

* fix ci

* Revert "update logo"

This reverts commit 6935ff0bce70ddde1ec3e86a496aa85af060e9b3.

* update intro

* fix
2023-06-14 16:16:25 +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
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
RunningLeon
162f4cbe6e
fix ci (#2058)
* fix

* fix

* update

* fix
2023-05-10 15:28:08 +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
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
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 9c598f4857633dfb96b116ca9fb9a5d15b5fa6b4.

* 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
2fcc8dc19d
[Feature]: Add github workflow based on self hosted runner (#1751)
* add win10 workflow

* update

* update and add dockerfile

* update script

* add build docker image script

* update

* support cuda10.2

* update docker file

* update build image tag

* add release docker file

* update release dockerfile

* fix ncnn python build

* test docker workflow

* remove docker build workflow

* fix comments

* add conda-incubator

* update build script and workflow

* fix comments
2023-03-21 11:44:11 +08:00
hanrui1sensetime
c3fda1905b
[Enhancement] Add mmyolo CI on mmdeploy (#1650)
* add mmyolo ut workflow

* add test_linux/windows ort/trt for mmyolo

* fix abs path to rel path

* fix mmyolo ut

* fix mmyolo position

* fix mmyolo dir

* fix build yolo

* fix yolo path

* fix yolo path

* fix yolo install path

* fix yolo install path for cuda

* remove dumplicated ci

* reformat script
2023-02-01 14:49:59 +08:00
RunningLeon
09c6bd75aa
[Fix]: fix requirements of mmedit (#1496)
* update requirements

* use github url

* fix mmcls ut

* install clip explicitly
2022-12-08 10:16:03 +08:00
tpoisonooo
453f240335 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
(cherry picked from commit ace44ae9d9ade4ef8a27be5cd9ecf8866e170c41)
2022-11-01 16:29:01 +08:00
hanrui1sensetime
81fc48f2b2
[Fix] Fix mmengine ci (#1192)
* try fix ci

* fix ci

* fix ci

* fix circleci

* fix ocr

* fix mmengine version

* install from github

* update

* update ci

Co-authored-by: RunningLeon <mnsheng@yeah.net>
2022-10-14 15:03:24 +08:00
RunningLeon
da1204db37 Update CI to only use python -m 2022-09-30 18:45:23 +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
RunningLeon
144fcf7b3a fix github ci
add mim

update circle ci

fix tests

fix ci
2022-09-29 16:26:31 +08:00
RunningLeon
b1e7579bdd
add cflags explicitly in ci (#945) 2022-08-25 13:54:42 +08:00
tpoisonooo
f54da4e73f
improvement(sdk): add sdk code coverage (#808)
* feat(doc): add CI

* CI(sdk): add sdk coverage

* style(test): code format

* fix(CI): update coverage.info path

* improvement(CI): use internal image

* improvement(CI): push coverage info once
2022-07-29 13:57:54 +08:00
RunningLeon
b29a8a020a
fix build ci not triggerred (#578)
* fix ci

* ignore scripts

* remove pycuda from requirements

* fix trt apis
2022-06-09 11:19:05 +08:00
tpoisonooo
d04c8dc9c0
refactor(onnx2ncnn): add test case and simplify code (#436)
* refactor(onnx2ncnn.cpp): split it to shape_inference, pass and utils

* refactor(onnx2ncnn.cpp): split it to shape_inference, pass and utils

* refactor(onnx2ncnn.cpp): split code

* refactor(net_module.cpp): fix build error

* ci(test_onnx2ncnn.py): add generate model adn run

* ci(onnx2ncnn): add ncnn backend

* ci(test_onnx2ncnn): add converted onnx model`

* ci(onnx2ncnn): fix ncnn tar

* ci(backed-ncnn): simplify dependency install

* ci(onnx2ncnn): fix apt install

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* Update backend-ncnn.yml

* fix(ci): add include algorithm

* Update build.yml

* parent aa857605319f63bc624a11956e1cd66b5389e4bf
author q.yao <streetyao@live.com> 1651287879 +0800
committer tpoisonooo <khj.application@aliyun.com> 1652169959 +0800

[Fix] Fix ci (#426)

* fix ci

* add nvidia key

* remote torch

* recover pytorch

refactor(onnx2ncnn.cpp): split it to shape_inference, pass and utils

* fix(onnx2ncnn): review

* fix(onnx2ncnn): build error

Co-authored-by: q.yao <streetyao@live.com>
2022-05-16 10:36:25 +08:00
tpoisonooo
5f59b4464f
docs(docs/zh_cn): update doc and link checker (#418)
* docs(docs/zh_cn): add doc and link checker

* docs(REAME): update

* docs(docs/zh_cn): update

* docs(benchmark): update table

* docs(zh_cn/benchmark): update link

* CI(docs): update link check

* ci(doc): update checker

* docs(zh_cn): update

* style(ci): remove useless para

* style(ci): update

* docs(zh_cn): update

* docs(benchmark.md): fix mobilnet link error

* docs(docs/zh_cn): add doc and link checker

* docs(REAME): update

* docs(docs/zh_cn): update

* docs(benchmark): update table

* docs(zh_cn/benchmark): update link

* CI(docs): update link check

* ci(doc): update checker

* docs(zh_cn): update

* style(ci): remove useless para

* style(ci): update

* docs(zh_cn): update

* docs(benchmark.md): fix mobilnet link error

* docs(zh_cn/do_regression_test.md): rebase

* docs(docs/zh_cn): add doc and link checker

* Update README_zh-CN.md

* Update README_zh-CN.md

* Update index.rst

* Update check-doc-link.yml

* [Fix] Fix ci (#426)

* fix ci

* add nvidia key

* remote torch

* recover pytorch

* ci(codecov): ignore ci

* docs(zh_cn): add get_started.md

* docs(zh_cn): fix review advice

* docs(readthedocs): update

* docs(zh_CN): update

* docs(zh_CN): revert

* fix(docs): review advices

* fix(docs): review advices

* fix(docs): review

Co-authored-by: q.yao <streetyao@live.com>
2022-05-09 10:18:10 +08:00
q.yao
59453dc0f6
[Fix] Fix ci (#426)
* fix ci

* add nvidia key

* remote torch

* recover pytorch
2022-04-30 11:04:39 +08:00
tpoisonooo
2c2d1e5ad9
feat(codebase/cls): support vision_transformer (#403)
* feat(codebase/cls): support vision_transformer

* style(onnx2ncnn): format cpp code, upgrade mmcls version

* fix(CI): upgrade mmcv to 1.4.2

* fix(onnx2ncnn): offset out of range during fuse conv reshape

* docs(vision_transformer.py): update VisionTransformer desc

* docs(onnx2ncnn.cpp): add more comment

* feat(onnx2ncnn.cpp): revert fuse weight

* docs(onnx2ncnn.cpp): add more comment

* test(vision_transformer): add test case

* refactor(vision_transformer.py): use symbol rewrite layer_norm

* refactor(vision_transformer): fix review

* fix(attention): add missing files
2022-04-26 18:00:38 +08:00
RunningLeon
3ca452f7ef
fix mmpose version of v0.24.0 (#217) 2022-03-08 16:23:23 +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
RunningLeon
3eff20d2ac
update mmcv install (#149) 2022-02-11 20:03:00 +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
RunningLeon
03e1213848
add gpu ci (#35)
* add gpu ci

* fix ci

* set mmcv==1.4.0 in ci config

* fix ci

* import nms in forward

* udpate

* change cuda ci

* change to cuda10.2

* change to torch1.9.0

* fix

* add cuda11.1

* add empty line
2022-01-10 11:14:17 +08:00
AllentDan
f693f7cc41
[Enhancement] support coverage (#16)
* support coverage

* test codecov action 2
2021-12-29 16:26:41 +08:00
Yifan Zhou
c1ed41c465
[Docs] Refactor document structure (#310)
* Refactor docs

* Fix path

* Update logo
2021-12-21 13:59:07 +08:00
AllentDan
d3e8473f87
fix ci (#301)
* show mmcv

* test

* repalce

* refine
2021-12-17 14:30:11 +08:00
Yifan Zhou
f4b3db188e
Update CI (#243) 2021-12-01 11:05:38 +08:00
RunningLeon
24c3134529
update ci (#235) 2021-11-29 14:41:23 +08:00
RunningLeon
0b46c505ee
[Docstring] Update docstring and its config (#142)
* update

* fix lint

* add config for interrogate

* remove config

* solve comments
2021-10-27 10:44:54 +08:00
RunningLeon
4c1f62f3cb
Remove GPU CI (#138)
* remove config of gpu

* remove empty line
2021-10-19 20:29:19 +08:00
RunningLeon
997f8dd9a9
add pylint score (#119)
* add pylint score

* add sc file

* Update build.yml

* Update build.yml

* Update build.yml

* auto load config file
2021-10-11 14:52:19 +08:00
RunningLeon
de9498a8f2
[Enhance]: Add more docstring. (#111)
* add docstring for apis

* add simple docstring for mmdet

* add simple docstring for mmseg

* add simple docstring for mmcls

* add simple docstring for mmedit

* add simple docstring for mmocr

* add simple docstring for rewriting

* update thresh for docstring coverage

* update

* update docstring

* solve comments

* remove unrelated symbol
2021-09-29 15:59:38 +08:00
RunningLeon
8633993ca3
[Feature]: Add cuda11.1 CI (#104)
* add cuda11.1 config

* add onnx

* update

* remove onnx

* lock mmcls version
2021-09-28 16:52:21 +08:00
RunningLeon
6ba1d45e81
[Fix]: fix ignoring test_ops (#102)
* show message from pytest skip

* skip utility class

Co-authored-by: SingleZombie <singlezombie@163.com>
2021-09-27 19:10:18 +08:00
RunningLeon
f9b2cab3fa
[Feature]: Update github CI (#100)
* align mmedit static cfg

* add for test

* update requirments

* add dependencies from mmlab

* change name

* lower thresh for interrogate at first

* update test

* update to skip

* Move import tensorrt

* Move import statement

Co-authored-by: SingleZombie <singlezombie@163.com>
2021-09-27 17:43:41 +08:00
grimoire
8fd4ef4d47 remove unused flag, fix lint 2021-06-29 10:23:52 +08:00
grimoire
e08dbf26b3 add CI 2021-06-29 10:10:15 +08:00