1. 02 Nov, 2021 2 commits
  2. 24 Oct, 2021 1 commit
    • Zaida Zhou's avatar
      [Feature] Upload checkpoints and logs to ceph (#1375) · 32e09f49
      Zaida Zhou authored
      * [Feature] Choose storage backend by the prefix of filepath
      
      * refactor FileClient and add unittest
      
      * support loading from different backends
      
      * polish docstring
      
      * fix unittet
      
      * rename attribute str_like_obj to is_str_like_obj
      
      * [Docs] Upload checkpoint to petrel oss
      
      * add infer_client method
      
      * Support uploading checkpoint to petrel oss
      
      * add check_exist method
      
      * refactor CheckpointHook
      
      * support uploading logs to ceph
      
      * rename var client to file_client
      
      * polish docstring
      
      * enhance load_from_ceph
      
      * refactor load_from_ceph
      
      * refactor TextLoggerHook
      
      * change the meaning of out_dir argument
      
      * fix test_checkpoint_hook.py
      
      * add join_paths method
      
      * remove join_paths and add _format_path
      
      * enhance unittest
      
      * refactor unittest
      
      * add a unittest for EvalHook when file backend is petrel
      
      * singleton pattern
      
      * fix test_clientio.py
      
      * deprecate CephBackend
      
      * add warning in load_from_ceph
      
      * fix type of out_suffix
      
      * enhance docstring
      
      * refactor unittest for petrel
      
      * refactor unittest for disk backend
      
      * update io.md
      
      * add concat_paths method
      
      * fix CI
      
      * mock check_exist
      
      * improve docstring
      
      * improve docstring
      
      * improve docstring
      
      * improve docstring
      
      * add isdir and copyfile for file backend
      
      * delete copyfile and add get_local_path
      
      * remove isdir method of petrel
      
      * fix typo
      
      * rename check_exists to exists
      
      * refactor code and polish docstring
      
      * fix windows ci
      
      * add comment and polish docstring
      
      * polish docstring
      
      * polish docstring
      
      * rename _path_mapping to _map_path
      
      * polish docstring and fix typo
      
      * refactor get_local_path
      
      * add list_dir_or_file for FileClient
      
      * add list_dir_or_file for PetrelBackend
      
      * fix windows ci
      
      * Add return docstring
      
      * polish docstring
      
      * fix typo
      
      * fix typo
      
      * fix typo
      
      * fix error when mocking PetrelBackend
      
      * deprecate the conversion from Path to str
      
      * add docs for loading checkpoints with FileClient
      
      * rename keep_log to keep_local
      
      * refactor map_path
      
      * add _ensure_methods to ensure methods have been implemented
      
      * fix list_dir_or_file
      
      * rename _ensure_method_implemented to has_method
      
      * refactor
      
      * polish information
      
      * format information
      32e09f49
  3. 23 Oct, 2021 2 commits
    • Zaida Zhou's avatar
      [Feature] Loading objects from different backends and dumping objects to different backends (#1330) · 5b5b47fc
      Zaida Zhou authored
      * [Feature] Choose storage backend by the prefix of filepath
      
      * refactor FileClient and add unittest
      
      * support loading from different backends
      
      * polish docstring
      
      * fix unittet
      
      * rename attribute str_like_obj to is_str_like_obj
      
      * add infer_client method
      
      * add check_exist method
      
      * rename var client to file_client
      
      * polish docstring
      
      * add join_paths method
      
      * remove join_paths and add _format_path
      
      * enhance unittest
      
      * refactor unittest
      
      * singleton pattern
      
      * fix test_clientio.py
      
      * deprecate CephBackend
      
      * enhance docstring
      
      * refactor unittest for petrel
      
      * refactor unittest for disk backend
      
      * update io.md
      
      * add concat_paths method
      
      * improve docstring
      
      * improve docstring
      
      * add isdir and copyfile for file backend
      
      * delete copyfile and add get_local_path
      
      * remove isdir method of petrel
      
      * fix typo
      
      * add comment and polish docstring
      
      * polish docstring
      
      * rename _path_mapping to _map_path
      
      * polish docstring and fix typo
      
      * refactor get_local_path
      
      * add list_dir_or_file for FileClient
      
      * add list_dir_or_file for PetrelBackend
      
      * fix windows ci
      
      * Add return docstring
      
      * polish docstring
      
      * fix typo
      
      * fix typo
      
      * deprecate the conversion from Path to str
      
      * add docs for loading checkpoints with FileClient
      
      * refactor map_path
      
      * add _ensure_methods to ensure methods have been implemented
      
      * fix list_dir_or_file
      
      * rename _ensure_method_implemented to has_method
      5b5b47fc
    • dingchang's avatar
      [Feature] Add group points ops from mmdet3d (#1415) · 75cae78c
      dingchang authored
      
      
      * add op (group points) and its related ops (ball query and knn) in mmdet3d
      
      * refactor code
      
      * fix typo
      
      * refactor code
      
      * fix typo
      
      * refactor code
      
      * make input contiguous
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
      75cae78c
  4. 22 Oct, 2021 2 commits
  5. 21 Oct, 2021 2 commits
  6. 20 Oct, 2021 1 commit
  7. 15 Oct, 2021 3 commits
  8. 14 Oct, 2021 4 commits
  9. 13 Oct, 2021 3 commits
  10. 04 Oct, 2021 1 commit
  11. 25 Sep, 2021 1 commit
  12. 23 Sep, 2021 4 commits
  13. 09 Sep, 2021 1 commit
  14. 08 Sep, 2021 1 commit
  15. 07 Sep, 2021 2 commits
    • young's avatar
      [Fix] Restrict the warning message (#1267) · 99088c81
      young authored
      * restrict the warning message
      
      * and an important keyword in warning description
      
      * a more elegant way of condition
      
      * link format code too long
      
      * fix the stupid spelling mistake
      
      * Use issubclass to restrict warning message.
      
      * maybe this version is more elegant.
      
      * conv + bias + norm warning pytest
      
      * 'created' a warning, hahaha
      
      * isort and yapf format revision
      
      * isort and yapf format revision
      
      * flake8 fail issue
      
      * I have to right this way in order to solve the conflicts between yapf and flake8, sigh...
      
      * fixed test bug
      
      * Add ruby windows installer source.
      
      * Simplified the code and remove ruby source from CONTRIBUTING.md
      
      * use _BatchNorm to simplify the code
      
      * bug fix and add instanceNorm case into warning
      
      * change the warning message to make it more clear
      
      * fix unit test
      99088c81
    • Ma Zerun's avatar
      [Fix] Fix missing `state_dict._metadata` when saving and loading checkpoints. (#1294) · f5c28a6e
      Ma Zerun authored
      * Fix missing `state_dict._metadata` when saving & loading checkpoints.
      
      * Add unit tests.
      
      * Fix default value and variable names in unit tests.
      f5c28a6e
  16. 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
  17. 24 Aug, 2021 1 commit
    • Wenwei Zhang's avatar
      [Feature] Add windows CI (#1023) · 979a355d
      Wenwei Zhang authored
      
      
      * add windows CI
      
      * clean versions
      
      * only allow pt1.7 on windows
      
      * fix windows install issue
      
      * add win cpu
      
      * fix win command
      
      * clean unnecessary command
      
      * resolve turbojpeg & tempfile on win
      
      * replace os.readlink with os.path.realpath
      
      * fix windows ci
      
      * close file before removing it
      
      * fix windows ci
      
      * fix symlink on windows
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * fix windows ci
      
      * modify according to comment
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
      979a355d
  18. 23 Aug, 2021 3 commits
    • Paige Wang's avatar
      add modulated_deform_conv in onnxruntime support (#1281) · 1790e9f2
      Paige Wang authored
      * add modulated_deform_conv in onnxruntime support
      
      * Add docs descriptions
      
      * Add gpu test in test_onnx.py
      
      * code format
      
      * remove new usage and move if outside for loop
      
      * use memset when bias is nullptr
      1790e9f2
    • Ma Zerun's avatar
      [WIP] continue PR #784 (#1221) · 357b0dfb
      Ma Zerun authored
      
      
      * Add gradient cumulative optimizer
      
      fixes #190
      
      * Update optimizer.py
      
      * Update optimizer.py
      
      * fix loss scale improperly in last equivalent_iter
      
      * Add `GradientCumulativeOptimizerHook` in `__init__.py`.
      
      * Add docstring of `GradientCumulativeOptimizerHook`.
      
      * Add type check, BN warning and resume warning. And fix typo, lint the
      code.
      
      * Add unit test
      
      * Update docstring example.
      
      * Change GradientCumulativeOptimizerHook `__init__` arguments.
      
      * Add GradientCumulativeOptimzierHook unit tests with IterBasedRunner.
      
      * Add GradientCumulativeFp16OptimizerHook.
      
      * Add unit tests of GradientCumulativeFp16OptimizerHook
      
      * Use '!=' instead of '>' to determine resume
      Co-authored-by: default avatarZhiyuan Chen <this@zyc.ai>
      357b0dfb
    • Yining Li's avatar
      Support deprecation info in Config (#1275) · 4d9b43de
      Yining Li authored
      * Support deprecation checking in Config
      
      * add unittest for config deprecation
      
      * support reference link in deprecation info
      
      * add doc
      
      * Update config.md
      4d9b43de
  19. 11 Aug, 2021 2 commits
    • Zaida Zhou's avatar
      [Fix] Fix the bug that the training log and evaluating log are mixed (#1252) · 846d3a4a
      Zaida Zhou authored
      * [Fix] Fix the bug that training log and evaluating log are mixed
      
      * [Fix] Fix the bug that training log and evaluating log are mixed
      
      * fix comment
      
      * fix import error
      
      * refactor
      
      * refactor
      
      * refactor
      
      * clear log_buffer before evaluation
      
      * fix error
      
      * add unittest
      846d3a4a
    • Shilong Zhang's avatar
      Fix potential bugs of basemodule when record the initilization information (#1217) · 18c64d5f
      Shilong Zhang authored
      * add logger for init
      
      * change init_info of oevrload init_weight
      
      * add judgement for params_init_info
      
      * add delete comments for params_init_info
      
      * add docstr and more comments
      
      * add docstr and more comments
      
      * resolve comments
      
      * dump to a file
      
      * add unitest
      
      * fix unitest
      
      * fix unitest
      
      * write to ori log
      
      * fix typo
      
      * resolve commnets
      
      * fix call initweights twice in topmost module
      
      * fix the potential bug of recursive import
      
      * fix unitest
      
      * fix potiential bugs
      
      * remove unneccesary change
      
      * add more unitest
      
      * fix add param in initweights
      
      * add more comments
      
      * raise error
      
      * add more detail assert error
      18c64d5f
  20. 08 Aug, 2021 1 commit
  21. 23 Jul, 2021 2 commits
    • Shilong Zhang's avatar
      [Features] Add logger for initialization of parameters (#1150) · 17fa6670
      Shilong Zhang authored
      * add logger for init
      
      * change init_info of oevrload init_weight
      
      * add judgement for params_init_info
      
      * add delete comments for params_init_info
      
      * add docstr and more comments
      
      * add docstr and more comments
      
      * resolve comments
      
      * dump to a file
      
      * add unitest
      
      * fix unitest
      
      * fix unitest
      
      * write to ori log
      
      * fix typo
      
      * resolve commnets
      17fa6670
    • 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