1. 19 Mar, 2021 1 commit
  2. 17 Mar, 2021 1 commit
  3. 12 Mar, 2021 1 commit
  4. 11 Mar, 2021 1 commit
  5. 09 Mar, 2021 1 commit
  6. 08 Mar, 2021 2 commits
  7. 03 Mar, 2021 3 commits
    • LXXXXR's avatar
      27e9ede5
    • sshuair's avatar
      add HTTP backend (#860) · 6719cde4
      sshuair authored
      * add HTTP backend
      
      * add HTTPbackend
      
      * fix linting
      
      * fix linting
      
      * add docs attributes http
      
      * fix format
      
      * add real http link test for http backend
      6719cde4
    • Ycr's avatar
      [Feature] Support revise_keys in load_checkpoint(). (#829) · e076c8b0
      Ycr authored
      * Simplified the code.
      
      * Improved chkpt compatibility.
      
      * One may modify the checkpoint via adding keywords.
      
      * Tiny.
      
      * Following reviewer's suggestion.
      
      * Added unit_test.
      
      * Fixed.
      
      * Modify the state_dict  with  construction.
      
      * Added test.
      
      * Modified。
      
      * Mimimalised the modification.
      
      * Added the docstring.
      
      * Format.
      
      * Improved.
      
      * Tiny.
      
      * Temp file.
      
      * Added assertion.
      
      * Doc string.
      
      * Fixed.
      e076c8b0
  8. 26 Feb, 2021 2 commits
    • z55250825's avatar
      Add new parrots extension implementation for all ops (#794) · 48d99025
      z55250825 authored
      * delete all parrots file
      add bbox_overlaps new parrots op impl
      
      * support first new impl parrts op (bbox_overlaps)(success test)
      
      * add box_iou_rotated op, test succeed
      
      * add carafe and carafe_naive op, test succeed (one parrots bug need fix)
      
      * add cc_attention op, test success
      
      * add corner_pool op, test success
      
      * add parrots op deform_conv, test success
      
      * add deform_roi_pool op, test success (but has question)
      
      * add focal loss op, test success (gradcheck)
      
      * add masked_conv2d op, test success
      
      * add modulated_deform_conv op, test success
      
      * add nms and nms_rotated op, test success
      
      * add psamask op, test success
      
      * add roi_align op, test_success
      
      * add roi_pool op, test success
      
      * add sync_bn op, test success
      
      * add tin_shift op, test success
      
      * fix test_deform_roi_pool, add parrots test
      
      * skip test_onnx because parrots does not support onnx
      
      * fix c++ lint
      
      * fix python lint
      
      * fix python lint
      48d99025
    • RunningLeon's avatar
      Fix pytorch2onnx failed for interpolate op with PyTorch==1.6.0(mmdet#4646) (#848) · 72e4cc12
      RunningLeon authored
      * Fix pytorch2onnx for yolov3 with torch==1.6.0
      
      * update and add test for F.interpolate
      
      * add test_onnx.py with build_cuda
      72e4cc12
  9. 25 Feb, 2021 1 commit
  10. 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
  11. 20 Feb, 2021 1 commit
  12. 18 Feb, 2021 1 commit
  13. 10 Feb, 2021 1 commit
  14. 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
  15. 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
  16. 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
  17. 27 Jan, 2021 1 commit
  18. 20 Jan, 2021 1 commit
  19. 14 Jan, 2021 1 commit
  20. 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
  21. 07 Jan, 2021 1 commit
  22. 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
  23. 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
  24. 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
  25. 28 Dec, 2020 1 commit
  26. 25 Dec, 2020 2 commits
  27. 24 Dec, 2020 1 commit
  28. 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
  29. 22 Dec, 2020 2 commits
  30. 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
  31. 18 Dec, 2020 1 commit
  32. 16 Dec, 2020 1 commit