Commit Graph

200 Commits (master)

Author SHA1 Message Date
q.yao e478e9ff7f
[Doc]: Add document of TensorRT and onnxruntime custom ops ()
* update tensorrt plugin document

* add onnxruntime custom ops document

* format document

* add release note to onnxruntime_op and tensorrt_plugin

* update document

* add deployment.rst

* add grid_sampler onnxruntime document

* fix lint

* add allow_different_nesting tag

* add allow_different_nesting tag

Co-authored-by: maningsheng <maningsheng@sensetime.com>
2021-04-12 14:06:28 +08:00
Jerry Jiarui XU 375605fba8
add model registry ()
* add model registry

* fixed infer scoep

* fixed build func

* add docstring

* add md

* support multi level

* clean comments

* add docs

* fixed parent

* add more doc

* add value error, add docstring

* fixed docs

* change to local/global search

* resolve comments

* fixed test

* update some docstring

* update docs (minior)

* update docs

* update docs
2021-04-10 21:33:34 +08:00
QingChuanWS b5e1facc85
[Refactor]: Remove deprecated onnx-simplify source code ()
* remove custom simplify model

* update docs about onnx-simplify
2021-04-09 16:17:11 +08:00
Jintao Lin be6541d480
[Feature] Add EvalHook which will be used in downstream projects ()
* add EvalHook

* add EvalHook

* refactor docstring

* polish

* use cp instead symlink

* add error info

* Update eval.py

* Update eval.py

* update

* add engine depandancy

* add comments

* fix unittest

* fix

* update unittest

* update unittest

* add docstring

* fix docstring
2021-04-08 16:42:30 +08:00
ftbabi 8735815a0d
Add GELU activation function ()
* Support GELU activation function

* Support different torch version

* Fix bug in importing TORCH_VERSION

* Wrap GELU module for PyTorch 1.3.x

* Wrap GELU module for PyTorch 1.3.x
2021-02-22 10:55:42 +08:00
ftbabi 9637bcff7c
Fix document in cnn.md () 2021-02-21 11:13:39 +08:00
ftbabi 6c57b88f5d
Fix document in io.md () 2021-02-02 22:50:18 +08:00
RunningLeon 5afca135f7
[Doc]: add a short document for TensorRT plugins in mmcv ()
* add trt doc

* add notes

* add sphinx_markdown_tables

* resolve comments

* resolve comments
2021-01-28 15:57:13 +08:00
RunningLeon 477f0c0a39
[Fix]: Set installation of onnx simplify's related packages to optional ()
* Fix onnx, onnxruntime, onnxoptimizer import

* Revert "Fix onnx, onnxruntime, onnxoptimizer import"

This reverts commit 820e3785a1.

* remove simplify from init file

* update test for onnx simplify

* update onnx doc
2021-01-08 13:15:37 +08:00
Wenwei Zhang 080474b9a6
Fix typo in docs ()
* fix typo in docs

* add contents

* resolve typo
2021-01-02 14:52:13 +08:00
RunningLeon 83732ec2e3
[Feature] add onnx simplify ()
* [Enhance]: add onxx simplify

* add simple doc

* add unit test

* update docstring

* resolve some comment

* add test dependency:onnxoptimizer

* Fix onnxruntime register empty libpath

* test onnxruntime version

* set checker to false

* skip test_simplify for torch<1.5.0
2020-12-31 19:16:48 +08:00
tangyanf 741e52dd5e
[Feature]: add custom op roialign for onnxruntime ()
* add ort custom op roialign

* Update roi_align.py

* Update test_onnx.py

* Update test_onnx.py

* Update test_onnx.py

* Update test_onnx.py

* Update onnxruntime_register.cpp

* Update roiAlign.h

* Update roiAlign.cpp

* lint modification

* update roiAlign.cpp

* lint check

* lint check

* lint fix

* lint fix

* fix lint

* add link to commit

Co-authored-by: maningsheng <maningsheng@sensetime.com>
2020-12-29 14:09:30 +08:00
q.yao 94810f2297
[Feature]: Add custom operators support for onnxruntime in mmcv ()
* add onnx support to roi_align and roi_pool

* add softnms ort support

* fix for lint

* format cpp code with clang-format:google

* add new empty line to the end of head files in onnxruntime

* update to pytorch1.7

* add test of softnms to onnxruntime

* fix for lint

* remote print in ops/info.py

* change import order, fix for flake8

* fix include

* add assert torch>=1.7.0

* [doc]: add document for onnxruntime custom operator

* update onnxruntime version to v1.5.1 for softnms

* remove doc menu

* Resolve lint for markdown

* resolve naming style in onnxruntime_op.md

* Use old cpp apis, optimize test_onnx.py

* Fixing strings in tests/test_ops/test_onnx.py

* code format with yapf

* fix soft_nms parrot

* add import in onnxruntime setup, avoid conflict

* fix doc and add assert

* change cpp guard

Co-authored-by: maningsheng <maningsheng@sensetime.com>
2020-12-23 11:03:55 +08:00
Y. Xiong 8b4e5de43d
Add nms compile issue to trouble_shooting page ()
* Add nms compile issue to trouble_shooting page

* after lint

* update link to online doc
2020-12-22 17:02:42 +08:00
Rui Xu b7136e3953
[Refactor] remove the c implementation of flow_warp ()
* remove flow-warp-c

* remove flow warp in setup.py and imports

* fix floor and ceil bug

* fix broadcast bug

* add warnings and assertions

* fix bilinear bug

* pass unit test

* pass unit test

* pass unit test

* pass unit test

* fix value bug

* fix lint

* fix lint

* add mk lint

* update docs

* update docs

* fix bug in imports

* fix bug in setup.py
2020-12-13 19:43:25 +08:00
WRH d2ca6cebb3
[DOC] build on windows ()
* previous doc

* init version of windows installation

* refine doc

* merge build instructions

* fix styles

* add some detail

* change an item to note

Co-authored-by: Kai Chen <chenkaidev@gmail.com>
2020-12-01 10:36:20 +08:00
Wenwei Zhang d2fa1abc53
Add documentations for registry ()
* add documentations for registry

* update example

* update sphinx

* add intro

* resolve comments
2020-11-23 15:29:22 +08:00
Kai Chen 03214fd446
Support pytorch 1.7 and update the CI ()
* support pytorch 1.7 and update the CI

* fix CI

* fix onnxruntime version in macos
2020-10-31 17:58:15 +08:00
Kai Chen f3a2be99b9
lint markdown files () 2020-09-29 10:44:44 +08:00
Cao Yuhang dc778481cb
add op trouble shooting ()
* add op trouble shooting

* update trouble_shooting.md

* clean ops.md

* add trouble shooting to index.rst

* reorder

* add troubleshooting in readme
2020-08-13 22:04:58 +08:00
ChaseMonsterAway 6b43ae3700
Update cnn.md () 2020-08-06 16:51:58 +08:00
Kai Chen 487f381f25
fix docs () 2020-07-21 14:48:16 +08:00
Joanna 27cc439d01
Update config to support predefined variables ()
* update config with predefined variables

* rm redun

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* add test for config

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* support all types

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* newline at the end

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* update

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* extract code into a function and add docs

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* fix and add tests

Signed-off-by: lixuanyi <lixuanyi@sensetime.com>

* add unit tests and fix

* fix

* fix minor

* fix test
2020-07-08 20:53:54 +08:00
Wenwei Zhang 18d6372027
Rewrite readme.rst by markdown ()
* Rewrite readme.rst by markdown

* Update setup.py

* Update mmcv links

* clean code

* Add logo

* Resolve comments

* clean unnecessary code change
2020-07-08 01:20:27 +08:00
Kai Chen 63b7aa31b6
Fix docstring formats ()
* update doc formats

* update docstring
2020-07-04 00:55:25 +08:00
Xiaojie Li 82211b407e
Added new features to `impad` ()
* update impad

* fix docstring

* add shape for impad

* fix unit test

* remove old version & fix doc

* fix linting

* fix doc

Co-authored-by: lixiaojie <lixiaojie@sensetime.com>
2020-07-02 19:34:46 +08:00
zhuyuanhao c0f5492ee9
add ext ops, support parrots ()
* add ext ops, support parrots

* fix lint

* fix lint

* update op from mmdetection

* support non-pytorch env

* fix import bug

* test not import mmcv.op

* rename mmcv.op to mmcv.ops

* fix compile warning

* 1. fix syncbn warning in pytorch 1.5
2. support only cpu compile
3. add point_sample from mmdet

* fix text bug

* update docstrings

* fix line endings

* minor updates

* remove non_local from ops

* bug fix for nonlocal2d

* rename ops_ext to _ext and _ext to _flow_warp_ext

* update the doc

* try clang-format github action

* fix github action

* add ops to api.rst

* fix cpp format

* fix clang format issues

* remove .clang-format

Co-authored-by: Kai Chen <chenkaidev@gmail.com>
2020-06-28 23:15:47 +08:00
Wang Xinjiang 630b747cb1
added pillow backend in loading ()
* added pillow backend in loading

* reformat

* remove auto fill for RGBA

* change according to comments

* change according to comments

* reformat
2020-06-17 10:25:48 +08:00
Jerry Jiarui XU 37d8facfad Support default/external json for open-mmlab models ()
* support default/external json for open-mmlab models

* add local

* add more test

* add docs

* add docs

* update docs

* refactor

* add json in MANIFEST

* fixed json typo
2020-05-27 17:12:43 +08:00
Kai Chen e54c85e71c
fix the doc building () 2020-05-05 14:07:04 +08:00
Kai Chen 1f6ac2ca85
Add docs for CNN modules ()
* add docs for cnn modules

* minor fix

* update format

* minor fix

* bump version to v0.5.1
2020-05-05 12:02:33 +08:00
Jerry Jiarui XU 1e8a212187
Add DictAction and docs for config ()
* fixed merge_from_dict, add DictAction

* add config docs

* fixed format type

* change to easy example

* update docs

* update docs
2020-04-25 20:56:08 +08:00
Kai Chen 12e5913bb9
Remove supports for python 2.7 and bump version to 0.4.0 ()
* remove supports for python 2.7

* fix the unit test for python 3.5

* add python 3.8 in CI

* try ubuntu 18.04 as the environment
2020-03-16 15:15:35 +08:00
Kai Chen 3fa5851891
Update pre-commit hook config ()
* update pre-commit hook config

* update the contributing guide
2020-03-01 15:51:40 +08:00
Kai Chen e127ef28db
Fix the missing numpy module for readthedocs ()
* Fix the missing numpy module for readthedocs

* fix the linting
2020-02-12 17:12:38 +08:00
lizz 712651aab6
Adaptive progress bar length ()
* Adaptive progress bar length

Signed-off-by: lizz <lizz@sensetime.com>

* it works

Signed-off-by: lizz <lizz@sensetime.com>

* format

* pass test

* :lipstick

* test

* Update test_progressbar.py

* 2.7

* sort import

Signed-off-by: lizz <lizz@sensetime.com>

* try this

Signed-off-by: lizz <lizz@sensetime.com>
2020-02-02 18:18:17 +08:00
lizz 90a0f353ee
Format to conform pre-commit ()
Signed-off-by: lizz <lizz@sensetime.com>
2020-02-01 10:14:55 +08:00
ZwwWayne d5865e0cbd Track iter progress ()
* track progress of iter&enum

* reformat

* reformat with yapf

* add unitest

* add doc, and deprecate track_enum_progress

* update docs & comments
2019-08-20 15:05:17 +08:00
Kai Chen 0ad15a508e
Add mmcv._ext to autodoc_mock_imports () 2019-07-07 17:32:40 +08:00
Kai Chen e60c7efde3
Improve the documentation ()
* fix doc generation

* add docs for optical flow

* fix typo
2019-07-07 16:54:22 +08:00
Aitical b0f40396ad Update the documentation ()
* update the documentation

* update the documentation

* Update io.md
2019-03-09 16:16:08 -08:00
youkaichao e4e6960a8c correct typo 2019-02-10 19:46:48 +08:00
kuonangzhe e093bb1397 Update image.md: fix inconsistent API ()
Update old crop_img and pad_img to imcrop and impad
2018-10-13 16:56:46 +08:00
Kai Chen da39212f94 add requirements.txt 2018-10-13 01:50:42 +08:00
Kai Chen 54dd32ea22
fix path error to autodoc apis 2018-10-13 01:35:03 +08:00
Kai Chen f75f4094f3 fix doc building error 2018-10-12 13:58:01 +08:00
Kai Chen d2358c87f8 update the documentation for release 2018-10-12 13:07:35 +08:00
Kai Chen 4cfd45f7b0 minor fix 2018-10-06 14:53:22 +08:00
Kai Chen 6d623cf1ed add some documentation 2018-10-06 14:44:27 +08:00
Kai Chen f573c11c3d draft documentation 2018-10-05 00:01:05 +08:00