* add testing function
add unittest for check_dict
add unittest for the function in testing
* polish docstring of testing.py
rename some function
* remove in is_all_zeros
* modify the comment of check_dict
* modify the testing.py according to feedback
* add test about numpy for function dict_contains_subset
* applying unified style
* allow register multi-name for a module simultaneously
* add assertion for name type
* use isintance intead of is_str
* fix bug in unit test
* fix unit test
* start trt plugin prototype
* Add test module, modify roialign convertor
* finish roi_align trt plugin
* fix conflict of RoiAlign and MMCVRoiAlign
* fix for lint
* fix test tensorrt module
* test_tensorrt move import to test func
* add except error type
* add tensorrt to setup.cfg
* code format with yapf
* fix for clang-format
* move tensorrt_utils to mmcv/tensorrt, add comments, better test module
* fix line endings, docformatter
* isort init, remove trailing whitespace
* add except type
* fix setup.py
* put import extension inside trt setup
* change c++ guard, update pytest script, better setup, etc
* sort import with isort
* sort import with isort
* move init of plugin lib to init_plugins.py
* resolve format and add test dependency: tensorrt
* tensorrt should be installed from source not from pypi
* update naming style and input check
* resolve lint error
Co-authored-by: maningsheng <maningsheng@sensetime.com>
* fix ddp bug when pytorch>=1.7
* fix ddp bug when pytorch>=1.7
* support pat
* fix docs
* use print_log instead of get_logger
Co-authored-by: nbei <631557085@qq.com>
* [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
* 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>
* Allow to replace nested tuple and list via options
* Add comments
* Fix single nested items
* Simplify the code
* Simplify the code
* Simplify the code
* Simplify the code
* Update docstring
* Update docstring
* Support quotation mark
* modify docstring
* add jit decorator
* add parrots_jit.py
* modify test_parrots_jit.py
* modify for lint
* fix isort
* skip test_parrots_jit.py when build without pytorch
* try ci
* rm log
* fix double quote
* modify for comments and use partial_shape instead of full_shape
* fix for lint
* small modify for parrots 0.9.0rc0
* def skip no elena directly
* bump version to 1.2.1
* update installation table in readme
* break new line
* del mmcv upper bound for old installation
* reminder on latest
* bump version to v1.2.2
* check MASTER_ADDR in the environment variable before assignment
* Update dist_utils.py
use MASTER_ADDR in the environment variable if it already exists
Co-authored-by: mohammad <minooee@vas24.ir>
* add clamp without unittest
* add clamp-act with unit test
* fix name bug
* use logical and
* fix logical_and
* fix linting
* rename ClampLayer to Clamp
* rename ClampLayer to Clamp
Co-authored-by: nbei <631557085@qq.com>