1. 23 Feb, 2021 1 commit
    • q.yao's avatar
      [Feature] : Add NonMaxSuppression TensorRT Plugin (#787) · 1ee5315e
      q.yao authored
      
      
      * 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
      
      * add scatternd, nms plugin (WIP)
      
      * fix bugs of trt_nms
      
      * add trt nms test module
      
      * fix bugs of scatternd
      
      * code optimize, add comment about nms kernel
      
      * fix transform_if bug of trt_nms_kernel
      
      * fix struct name
      
      * default nms offset=0, fix bugs of batched input
      
      * format with clang-format
      
      * onnx preprocess
      
      * much better nms implementation, no need to transfer memory between host and device
      
      * update preprocess_onnx
      
      * parse constant tensor from initializer in preprocess_onnx
      
      * update nms
      
      * remove unnecessary codes
      
      * workspace aligned address
      
      * format trt_plugin_helper.hpp
      
      * fix index memory bugs
      
      * set alignment to 16 by default
      
      * fix lint
      
      * fix nms offset
      
      * fix bugs of preprocess onnx
      
      * update test for nms
      
      * tensorrt only accept int32, not int64
      
      * update nms comments
      
      * fix indexing for scores in nms
      
      * update trt temp
      
      * make trt-nms compatiable to #803
      
      * fix lint
      
      * add docstring to trt_nms_kernel.cuda, add description to preprocess_onnx
      
      * add comment to score indexing
      
      * fix bugs of max output boxes
      Co-authored-by: default avatarmaningsheng <maningsheng@sensetime.com>
      1ee5315e
  2. 20 Feb, 2021 1 commit
  3. 18 Feb, 2021 1 commit
  4. 10 Feb, 2021 1 commit
  5. 07 Feb, 2021 1 commit
    • Miao Zheng's avatar
      add initializers and BaseModule for unified parameter initialization (#780) · a4c37026
      Miao Zheng authored
      * add initializers and BaseModule for unified parameter initialization
      
      * fix circle import
      
      * bug fix
      
      * add is_init flag in BaseModule
      
      * fix docstring
      
      * sort import and fix doc format
      
      * fix bug
      
      * fix docformat and double quote string
      
      * fix import sort
      
      * import sort
      
      * sort import
      
      * revise according to comments
      
      * fix doc format
      
      * revise according to comments
      
      * revise import and fix typo
      
      * polish code
      
      * revise minors
      
      * revice minors
      
      * revise apply function
      
      * revise bias initialization with probability
      
      * add type test for bias_prob
      
      * revise minors
      a4c37026
  6. 04 Feb, 2021 1 commit
    • tangyanf's avatar
      add ort nms op (#803) · be2616a0
      tangyanf authored
      * add ort nms op
      
      * fit lint check
      
      * fix lint check
      
      * update code
      
      * fix lint check
      
      * update code
      
      * update code
      
      * update code
      
      * update code
      
      * update code
      
      * update code
      be2616a0
  7. 28 Jan, 2021 1 commit
    • Haian Huang(深度眸)'s avatar
      Refactor _load_checkpoint fn (#790) · 96892bdc
      Haian Huang(深度眸) authored
      * Refactor _load_checkpoint fn
      
      * Update _load_checkpoint fn
      
      * Update docs str and add unit test
      
      * Fix unit test
      
      * Fix lint
      
      * Add comment and Optimize function
      
      * Fix docs str
      
      * Update load_ckpt and fix doc str
      
      * Update doc str and add sort unit test
      
      * Update and fix unit test
      
      * Fix unit test
      
      * Update and add unit test
      
      * Fix openmmlab prefix error
      96892bdc
  8. 27 Jan, 2021 1 commit
  9. 20 Jan, 2021 1 commit
  10. 14 Jan, 2021 1 commit
  11. 08 Jan, 2021 3 commits
    • Qiaofei Li's avatar
      Add dataset classes name info to meta for saving ckpt (#776) · 3d6032c6
      Qiaofei Li authored
      * add CLASSES to meta info
      
      * Update checkpoint.py
      
      * add unit test for CLASSES name
      
      * clean up the tmp folder
      
      * use tempfile to clean up temp folder
      3d6032c6
    • congee's avatar
      Add common testing function of MM repos (#743) · 905c9b43
      congee authored
      * 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
      905c9b43
    • RunningLeon's avatar
      [Fix]: Set installation of onnx simplify's related packages to optional (#779) · 477f0c0a
      RunningLeon authored
      * Fix onnx, onnxruntime, onnxoptimizer import
      
      * Revert "Fix onnx, onnxruntime, onnxoptimizer import"
      
      This reverts commit 820e3785a1144eb85e1ba22688dada681ea4c829.
      
      * remove simplify from init file
      
      * update test for onnx simplify
      
      * update onnx doc
      477f0c0a
  12. 07 Jan, 2021 1 commit
  13. 06 Jan, 2021 1 commit
    • q.yao's avatar
      [Feature]: Add custom operators support for TensorRT in mmcv (#686) · 0de9e149
      q.yao authored
      
      
      * 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: default avatarmaningsheng <maningsheng@sensetime.com>
      0de9e149
  14. 31 Dec, 2020 1 commit
    • RunningLeon's avatar
      [Feature] add onnx simplify (#751) · 83732ec2
      RunningLeon authored
      * [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
      83732ec2
  15. 29 Dec, 2020 1 commit
    • tangyanf's avatar
      [Feature]: add custom op roialign for onnxruntime (#724) · 741e52dd
      tangyanf authored
      
      
      * 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: default avatarmaningsheng <maningsheng@sensetime.com>
      741e52dd
  16. 28 Dec, 2020 1 commit
  17. 25 Dec, 2020 2 commits
  18. 24 Dec, 2020 1 commit
  19. 23 Dec, 2020 1 commit
    • q.yao's avatar
      [Feature]: Add custom operators support for onnxruntime in mmcv (#612) · 94810f22
      q.yao authored
      
      
      * 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: default avatarmaningsheng <maningsheng@sensetime.com>
      94810f22
  20. 22 Dec, 2020 2 commits
  21. 20 Dec, 2020 1 commit
    • Wang Xinjiang's avatar
      Allow to replace nested tuple and list via options (#731) · 96ebfa65
      Wang Xinjiang authored
      * 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
      96ebfa65
  22. 18 Dec, 2020 1 commit
  23. 16 Dec, 2020 1 commit
  24. 15 Dec, 2020 1 commit
    • lml131's avatar
      Lml/jit decorator (#673) · 9befc398
      lml131 authored
      * 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
      9befc398
  25. 13 Dec, 2020 2 commits
    • BigBigDream's avatar
      fix roi_align ci for parrots (#708) · 02920db2
      BigBigDream authored
      * fix roi_align ci for parrots
      
      * fix lint
      02920db2
    • Rui Xu's avatar
      [Refactor] remove the c implementation of flow_warp (#707) · b7136e39
      Rui Xu authored
      * 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
      b7136e39
  26. 12 Dec, 2020 1 commit
  27. 09 Dec, 2020 1 commit
  28. 08 Dec, 2020 1 commit
  29. 25 Nov, 2020 1 commit
    • BigBigDream's avatar
      Add box_iou_rotated, ml_nms_rotated and nms_rotated (#625) · a9787648
      BigBigDream authored
      
      
      * add box_iou_rotated, ml_nms_rotated and nms_rotated
      
      * fix lint
      
      * fix lint
      
      * fix .py lint
      
      * fix cpp lint
      
      * add newline at the end
      
      * add new line
      
      * fix unittest
      
      * config google style
      
      * fix lint
      
      * lint
      
      * lint
      
      * yapf
      
      * update
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * fix
      
      * fix format
      
      * fix format
      
      * add modified from
      
      * add docstring and update others
      
      * update docstring
      
      * update docstring
      
      * update
      
      * fix bug
      
      * fix bug
      
      * fix bug
      Co-authored-by: default avatarCao Yuhang <yhcao6@gmail.com>
      a9787648
  30. 23 Nov, 2020 1 commit
  31. 19 Nov, 2020 1 commit
  32. 18 Nov, 2020 2 commits
  33. 15 Nov, 2020 2 commits