841 Commits

Author SHA1 Message Date
Chen Xin
c458e2a524
[Enhancement] Speedup TopDownAffine by CropResizePad (#1486)
* "use 'CropResizePad' to speed up topdownaffine"

* add missing header
2023-01-13 16:08:29 +08:00
hanrui1sensetime
9d3b494079
[Fix] Fix visualize api bug (#1641)
* fix visualize api bug

* fix visualize
2023-01-13 10:42:57 +08:00
Chen Xin
9a1f4e6145
[Fix] Fix example standalone build for msvc (#1626)
* fix example build for msvc

* move /Zc:__cplusplus to core
2023-01-11 10:55:17 +08:00
RunningLeon
3527412127
change log file extension to 'txt' in regression test(#1608) 2023-01-10 17:42:55 +08:00
Nghia
1b048d88ca
fixed script errors when calling miniconda.sh (#1599) 2023-01-10 13:52:24 +08:00
q.yao
0737a59f44
[Improvement] Support auto release note (#1589)
* Support auto release note

* update labels
2023-01-10 10:54:25 +08:00
hanrui1sensetime
d5bd0072a2
fix android build command (#1620) 2023-01-10 10:44:49 +08:00
Li Zhang
e4ad0d4c45
[Fix] Fix aligned allocations on Android (#1612)
* fix android alignment

* fix typo

* fix size
2023-01-06 18:04:28 +08:00
Li Zhang
4463572311
Fix debug build for PoseTracker (#1601) 2023-01-03 14:24:11 +08:00
Chen Xin
c0ca074c11
Fix build error on windows-cuda platform (#1598) 2023-01-03 12:12:20 +08:00
lvhan028
c3986cebe8
bump version to v0.12.0 (#1594) v0.12.0 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
Li Zhang
20e0563682
[Enhancement] Optimize pose tracker (#1460)
* sync master

* suppress overlapped tracks

* add CUDA WarpAffine

* export symbols

* fix linkage

* update pose tracker

* clean-up

* fix MSVC build

* fix MSVC build

* add ffmpeg cli command
2022-12-29 19:12:55 +08:00
tpoisonooo
f62352a5fa
fix(README): badge error and add github action status (#1548)
* fix(README): badge error and add github action status

* docs(REAMDE): fix badge

* docs(README): update color

* docs(REAMEDE): update color

* docs(README): update table
2022-12-29 16:08:29 +08:00
hanrui1sensetime
f21dc4e7d3
Cherry-pick #1352 to fix ops unittest seg-fault error (#1556)
* cherry-pick PR1352 to master

* fix test_ops with teardown and skip

* remove useless line

* fix lint

Co-authored-by: q.yao <yaoqian@sensetime.com>
2022-12-29 12:08:40 +08:00
q.yao
fc98472e9c
[Refactor] update tutorial about how to support new backend (#1574) 2022-12-29 12:05:31 +08:00
Li Zhang
e3f033ee5d
build monolithic SDK by default (#1577) 2022-12-28 11:44:20 +08:00
AllentDan
85b7b967ee
[Feature] Support probability output for segmentation (#1379)
* add do_argmax flag

* sdk support

* update doc

* replace do_argmax with with_argmax

* add todo
2022-12-26 15:48:07 +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
AllentDan
26d71ce0a8
add 'is_batched' argument to pipeline.json (#1560) 2022-12-21 10:45:00 +08:00
BuxianChen
f9f351ae1f
update FAQ about copying onnxruntime dll to 'mmdeploy/lib' (#1554) 2022-12-20 14:39:31 +08:00
Michał Antoszkiewicz
202bf00eb7
Fix 'cannot seek vector iterator' in debug windows build (#1555)
Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>

Signed-off-by: Michal Antoszkiewicz <mantoszkiewicz@codeflyers.com>
2022-12-20 10:13:33 +08:00
Chen Xin
dbc4b26dc1
fix cuda10.2 build (#1539) 2022-12-16 10:15:15 +08:00
tpoisonooo
77c2ee5feb
fix(tools/scripts): build aarch option (#1530) 2022-12-15 20:41:59 +08:00
Chen Xin
c72f2eaa31
[Docs] Add mmaction2 sphinx-doc link (#1541)
* add mmaction2 sphinx doc

* consistent with other doc formats

* change title

* fix ci

* add missing coreml sphinx doc
2022-12-15 19:01:34 +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
ac47cad407
[Improvements] Support TorchAllocator as TensorRT Gpu Allocator (#1493)
* add TorchAllocator for TensorRT

* check mdcn input shape
2022-12-12 18:43:59 +08:00
Chen Xin
52fd4fe9f3
[Fix] Remove cudnn dependency for transform 'mmaction2::format_shape' (#1509)
* fix format shape

* merge common code

* use throw_exception

* udpate code format
2022-12-12 14:34:15 +08:00
RunningLeon
ae785f42e1
fix typo: rename 'stable.yml' as 'stale.yml' (#1510) 2022-12-12 11:17:40 +08:00
q.yao
af4d304004
support torchjit mdcn (#1508) 2022-12-12 10:28:49 +08:00
RunningLeon
c1ca5a3dbf
add stale workflow to check issues and PRs (#1504) 2022-12-09 18:41:36 +08:00
q.yao
1748780c91
[Refactor] ease build wrapper master (#1475)
* ease build wrapper

* import eanum only when necessary

* update docs

* rename manager

* update for comment

* replace staticmethod with classmethod

* fix torchjit
2022-12-09 17:19:34 +08:00
q.yao
8ea3dc943f
[Fix] Fix for torch113 for master (#1488) 2022-12-08 17:17:27 +08:00
q.yao
4046e13146
Reformat multi-line logs and docstrings (#1489) 2022-12-06 19:50:58 +08:00
HinGwenWoong
7b3c3bc223
[Enhancement] Add pip source in dockerfile for master branch (#1492)
* Add pip source

* Add pip source
2022-12-06 19:46:01 +08:00
RunningLeon
2a1fed91c9
bump mmdeploy sdk version to 0.11.0 (#1473) v0.11.0 2022-11-30 17:54:40 +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
q.yao
bf80653446
fix gelu torch>1.12 (#1458) 2022-11-30 14:05:48 +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
Xin Li
73afa61bd8
update master branch (#1452) 2022-11-29 13:42:47 +08:00
Chen Xin
0830acb40c
[FIX] Fix csharp net48 and batch inference (#1370)
* fix csharp net48

* add missing file

* update

* fix batch inference

* update demo

* update

* update version
2022-11-29 11:48:36 +08:00
AllentDan
047ab67c78
[Fix] fix visualization for partition (#1424)
* init

* lint

* pass output_names outside

* docstring & type hint
2022-11-29 11:40:00 +08:00
q.yao
b521e7da03
fix topk (#1439) 2022-11-28 17:35:15 +08:00
hanrui1sensetime
9ea8610133
[Fix] fix ncnn torch 1.12 master (#1430)
* fix ncnn torch 1.12 master

* remove debug line

* add docstring
2022-11-28 17:34:39 +08:00
AllentDan
d9d3ded8bc
concat datasets pytorch metric (#1447) 2022-11-28 17:34:02 +08:00
Li Zhang
d77aeaa480
[Refactor] Decouple preprocess operation and transformation (#1353)
* refactor SDK registry

* fix lint

* decouple transform logic and operations

* data management

* improve data management

* improve data management

* context management

* fix ResizeOCR

* fix operation fallback logic

* fix MSVC build

* clean-up

* sync master

* fix lint

* Normalize - add `to_float`, merge `cvtcolor` operations

* fix macOS build

* rename

* cleanup

* fix lint

* fix macOS build

* fix MSVC build

* support elena

* fix

* fix

* optimize normalize

* fix

* fix MSVC build

* simplify

* profiler

* use `throw_exception`

* misc

* fix typo
2022-11-28 14:46:05 +08:00