1. 10 Aug, 2021 2 commits
    • Haodong Duan's avatar
      [Fix] Do not depend on setuptools>=52 (#1235) · 93418560
      Haodong Duan authored
      * use packaging instead
      
      * update
      
      * update
      
      * update
      
      * update
      93418560
    • Zaida Zhou's avatar
      [Refactor] Refactor the directory of csrc (#1206) · dfb48c87
      Zaida Zhou authored
      
      
      * [Refactor] Refactor the csrc directory
      
      * update MANIFEST.in
      
      * fix hip
      
      * add csrc readme
      
      * trailing whitespace
      
      * fix syntax error in setup.py
      
      * add compatibility docs
      
      * move parrots_cudawarpfunction.cuh to common/cuda
      
      * fix grammar, update directory tree
      
      * fix MANIFEST.in
      
      * Add new structre of csrc in compatibility.md
      
      * Add original structre of csrc in compatibility.md
      
      * fix typo
      
      * remove TODO
      
      * modify according to comment
      
      * format
      Co-authored-by: default avatargrimoire <yaoqian@sensetime.com>
      dfb48c87
  2. 09 Jul, 2021 1 commit
    • Y_Xuan's avatar
      [Feature] Porting mmcv for hip (#1022) · 2dc0a219
      Y_Xuan authored
      * porting mmcv for hip
      
      * add nvcc
      
      * fix format
      
      * fix format
      
      * fix bug for carafe
      
      * fix test_utils because rocm_torch not allow set torch.backends.cudnn.benchmark to false
      
      * add LOOSEVERSION
      
      * fix format
      
      * fix format of version
      
      * fix code format
      
      * test for yaml
      
      * fix bug for citest
      
      * fix bug for how to get torch._version_ at setup.py
      2dc0a219
  3. 17 Apr, 2021 1 commit
  4. 26 Feb, 2021 1 commit
    • 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
  5. 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
  6. 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
  7. 13 Dec, 2020 1 commit
    • 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
  8. 31 Oct, 2020 1 commit
  9. 17 Oct, 2020 1 commit
  10. 21 Jul, 2020 1 commit
  11. 08 Jul, 2020 2 commits
  12. 07 Jul, 2020 1 commit
  13. 06 Jul, 2020 1 commit
  14. 03 Jul, 2020 1 commit
  15. 29 Jun, 2020 2 commits
  16. 28 Jun, 2020 1 commit
    • zhuyuanhao's avatar
      add ext ops, support parrots (#310) · c0f5492e
      zhuyuanhao authored
      
      
      * 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: default avatarKai Chen <chenkaidev@gmail.com>
      c0f5492e
  17. 30 May, 2020 1 commit
  18. 15 May, 2020 2 commits
  19. 16 Mar, 2020 1 commit
  20. 15 Feb, 2020 1 commit
  21. 12 Feb, 2020 1 commit
  22. 02 Feb, 2020 1 commit
  23. 21 Nov, 2019 1 commit
    • Rinat Shigapov's avatar
      fix dependencies (#146) · aea75005
      Rinat Shigapov authored
      * fix requirements
      
      * don't reuse build dependencies between different envs
      
      * minor fix
      
      * change the order of opencv and opencv-headless
      aea75005
  24. 31 Jul, 2019 1 commit
  25. 30 Jul, 2019 1 commit
  26. 07 Jul, 2019 1 commit
  27. 28 May, 2019 1 commit
    • nbei's avatar
      C++ implementation for Flow Warp Module (#71) · 90979574
      nbei authored
      * flow_warp_c
      
      * flow_warp_c
      
      * beautify format
      
      * beautify format
      
      * beautify format
      
      * beautify format
      
      * add Cython
      
      * modify
      
      * fix details
      
      * fix details
      
      * fix type
      90979574
  28. 23 Apr, 2019 2 commits
  29. 22 Apr, 2019 1 commit
  30. 09 Dec, 2018 1 commit
  31. 12 Oct, 2018 1 commit
  32. 10 Oct, 2018 1 commit
  33. 29 Sep, 2018 1 commit
  34. 27 Aug, 2018 1 commit
  35. 26 Aug, 2018 1 commit