1. 08 Oct, 2023 1 commit
    • xiabo's avatar
      测试用例修改 · e2f0eed9
      xiabo authored
      原因:
      np.allclose(a, b, rtol)使用,计算误差是(a-b)的误差在(atol + rtol*b.abs())以内,但用例中b的值有0,误差就是atol了,atol默认是10的-8.
      修改:
      把atol根据用例改为传入的误差*10-3.
      e2f0eed9
  2. 24 Aug, 2022 1 commit
  3. 23 Aug, 2022 1 commit
  4. 18 May, 2022 1 commit
  5. 24 Feb, 2022 1 commit
  6. 10 Nov, 2021 1 commit
    • WangJiaZhen's avatar
      [Fix] Fix deform conv by adding an extra argument im2col_step (#1459) · e3c63f34
      WangJiaZhen authored
      * [Fix] fix deform conv by add argument
      
      * [Fix] replace useless func with np.repeat and add necessary comment
      
      * [Fix] reduce batch_size and remove useless lines and modify some var name
      
      * [Fix] change position of comments
      
      * [Fix] add im2col_step in the docstring and add two test cases
      
      * [Fix] fix docstring and add comments for test cases
      
      * [Fix] fix docstring
      
      * [Fix] add note, fix issue link and other details
      
      * [Fix] fix docstring details
      
      * [Fix] fix links in docstring
      
      * [Fix] fix docstring details
      e3c63f34
  7. 29 Aug, 2021 1 commit
    • Eugene Liu's avatar
      Add DCN and Modulated DCN CPU implementation (#1278) · e621e08d
      Eugene Liu authored
      * DCN cpu version
      
      * add modulated dcn cpu version
      
      * move deform_conv_shape_check to deform conv utils
      
      * add inline to deform_conv_shape_check
      
      * add tests
      
      * run linter
      
      * add newline at file end
      
      * run pre-commit against modulated deform conv cpp
      
      * update saconv test
      
      * run clang-format
      
      * remove cuda device inline
      
      * refactor dcn cuda/cpu functions
      
      * remove DCN util
      
      * remove DCN util hpp from all included files
      
      * Addressing PR comment by refactoring modulated-DCN
      
      * fix lint in cpp files
      e621e08d
  8. 23 Jul, 2021 1 commit
    • Haodong Duan's avatar
      [Improvement] Improve digit_version & use it for version_checking (#1185) · ef48a473
      Haodong Duan authored
      * improve digit_version & use it for version_checking
      
      * more testing for digit_version
      
      * setuptools >= 50 is needed
      
      * fix CI
      
      * add debuging log
      
      * >= to ==
      
      * fix lint
      
      * remove
      
      * add failure case
      
      * replace
      
      * fix
      
      * consider TORCH_VERSION == 'parrots'
      
      * add unittest
      
      * digit_version do not deal with the case if 'parrots' in version name.
      ef48a473
  9. 29 Jun, 2021 1 commit
  10. 23 May, 2021 1 commit
  11. 12 Apr, 2021 1 commit
  12. 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