1. 19 Jul, 2022 3 commits
    • Yining Li's avatar
      [Fix] Add @cacheable_method in transform wrapper `RandomChoice` (#1807) · 6534efd6
      Yining Li authored
      * add @cacheable_methd in RandomChoice
      
      * RandomChoice add __iter__() and fix unittest
      6534efd6
    • liukuikun's avatar
      [Feature] Add Part1 of data transform (#1736) · 9e4b2ff5
      liukuikun authored
      * [Feature] Add Part1 of data transform
      
      * api.rst transform->transforms
      
      * fix typo
      
      * fix typo
      
      * rename test_processing into test_transforms_processing for avoiding same name
      
      * fix mypy
      
      * fix comment
      
      * fix comment
      9e4b2ff5
    • Yining Li's avatar
      [Feature] Add base transform interface (#1538) · d00b0cec
      Yining Li authored
      
      
      * Support deepcopy for Config (#1658)
      
      * Support deepcopy for Config
      
      * Iterate the `__dict__` of Config directly.
      
      * Use __new__ to avoid unnecessary initialization.
      
      * Improve according to comments
      
      * [Feature] Add spconv ops from mmdet3d (#1581)
      
      * add ops (spconv) of mmdet3d
      
      * fix typo
      
      * refactor code
      
      * resolve comments in #1452
      
      * fix compile error
      
      * fix bugs
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h'
      
      * fix bug
      
      * transform from 'types.h' to 'extension.h' in parrots
      
      * add extension.h in pybind.cpp
      
      * add unittest
      
      * Recover code
      
      * (1) Remove prettyprint.h
      (2) Switch `T` to `scalar_t`
      (3) Remove useless lines
      (4) Refine example in docstring of sparse_modules.py
      
      * (1) rename from `cu.h` to `cuh`
      (2) remove useless files
      (3) move cpu files to `pytorch/cpu`
      
      * reorganize files
      
      * Add docstring for sparse_functional.py
      
      * use dispatcher
      
      * remove template
      
      * use dispatch in cuda ops
      
      * resolve Segmentation fault
      
      * remove useless files
      
      * fix lint
      
      * fix lint
      
      * fix lint
      
      * fix unittest in test_build_layers.py
      
      * add tensorview into include_dirs when compiling
      
      * recover all deleted files
      
      * fix lint and comments
      
      * recover setup.py
      
      * replace tv::GPU as tv::TorchGPU & support device guard
      
      * fix lint
      Co-authored-by: default avatarhdc <hudingchang.vendor@sensetime.com>
      Co-authored-by: default avatargrimoire <yaoqian@sensetime.com>
      
      * Imporve the docstring of imfrombytes and fix a deprecation-warning (#1731)
      
      * [Refactor] Refactor the interface for RoIAlignRotated (#1662)
      
      * fix interface for RoIAlignRotated
      
      * Add a unit test for RoIAlignRotated
      
      * Make a unit test for RoIAlignRotated concise
      
      * fix interface for RoIAlignRotated
      
      * Refactor ext_module.nms_rotated
      
      * Lint cpp files
      
      * add transforms
      
      * add invoking time check for cacheable methods
      
      * fix lint
      
      * add unittest
      
      * fix bug in non-strict input mapping
      
      * fix ci
      
      * fix ci
      
      * fix compatibility with python<3.9
      
      * fix typing compatibility
      
      * fix import
      
      * fix typing
      
      * add alternative for nullcontext
      
      * fix import
      
      * fix import
      
      * add docstrings
      
      * add docstrings
      
      * fix callable check
      
      * resolve comments
      
      * fix lint
      
      * enrich unittest cases
      
      * fix lint
      
      * fix unittest
      Co-authored-by: default avatarMa Zerun <mzr1996@163.com>
      Co-authored-by: default avatarWenhao Wu <79644370+wHao-Wu@users.noreply.github.com>
      Co-authored-by: default avatarhdc <hudingchang.vendor@sensetime.com>
      Co-authored-by: default avatargrimoire <yaoqian@sensetime.com>
      Co-authored-by: default avatarJiazhen Wang <47851024+teamwong111@users.noreply.github.com>
      Co-authored-by: default avatarHakjin Lee <nijkah@gmail.com>
      d00b0cec