768 Commits

Author SHA1 Message Date
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
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
Li Zhang
6468ef180d
[Fix] Relax module adapter template constraints (#1366)
* relax module adapter constraint

* remove forwarding `operator()`
2022-11-27 11:58:09 +08:00
Li Zhang
385f5b6102
[Fix] Fix det_pose demo (#1419)
* fix det_pose demo

* remove useless input
2022-11-27 11:56:59 +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
q.yao
0d16f6ec30
fix pad to square (#1436)
* fix pad to square

* fix topk

* remove comment

* recovery topk
2022-11-25 17:31:44 +08:00
q.yao
4e1c83ab5b
[Fix] fix yolohead trt8.2 (#1433)
* fix yolohead trt8.2

* remove score_threshold
2022-11-25 15:35:09 +08:00
Li Zhang
4d4c10a2dc
[Enhancement] Avoid copying dense arrays in Python API (#1349)
* eliminate copying for segmentor

* fix segmentor

* eliminate copying in Python API

* minor fix
2022-11-24 18:23:34 +08:00
Chen Xin
73e095a4b8
[Fix] fix mmaction2 docs (#1410)
* fix typo and add link to README.md

* fix
2022-11-24 16:40:56 +08:00
Jiahao Sun
9bbe3c0355
[Feat] Add end2end pointpillars & centerpoint(pillar) deployment for mmdet3d (#1178)
* add end2end pointpillars & centerpoint(pillar)

* fix centerpoint UT

* uncomment pycuda

* add nvidia copyright and remove post_process for voxel_detection_model

* keep comments

* add anchor3d_head init

* remove pycuda comment

* add pcd test sample
2022-11-24 16:14:50 +08:00
AllentDan
301035a06f
[Fix] fix cls head in SDK (#1420)
* fix cls head

* resolve comments
2022-11-24 14:15:34 +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
Li Zhang
b5b0dcfcff
[Fix] Support onnxruntime-1.13 (#1407)
* support onnxruntime-1.13

* fix lint
2022-11-22 20:25:44 +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
Xin Li
522fcc0635
fix bad links (#1396) 2022-11-21 12:57:14 +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
tpoisonooo
938ef537a7
Improve mmdet3d doc (#1394)
* docs(mmdet3d): add trt version desc

* docs(mmdet3d): update
2022-11-18 18:34:30 +08:00
AllentDan
0da6059342
correct ncnn-int8 config path (#1380) 2022-11-18 10:21:54 +08:00
Li Zhang
99040d5655
[Refactor] better SDK registry (#1368)
* refactor SDK registry

* fix lint

* fix typo

* sync

* use nested namespace

* rename
2022-11-15 21:06:13 +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
lvhan028
18c6ae57cf
add more images for demos and user guides (#1339) 2022-11-09 21:06:32 +08:00
Mingcong Han
ff7b8fb176
[FIX] set stream argument when using async memcpy (#1314) 2022-11-09 13:41:41 +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