1. 11 Jul, 2024 1 commit
  2. 24 Aug, 2022 1 commit
  3. 23 Aug, 2022 1 commit
  4. 22 Aug, 2022 1 commit
  5. 16 Aug, 2022 1 commit
  6. 15 Jun, 2022 1 commit
  7. 18 May, 2022 1 commit
  8. 10 May, 2022 1 commit
    • jmercat's avatar
      [Fix] Fix dump method of Config (#1837) · 1dbb5d36
      jmercat authored
      
      
      * config dump fix
      dump should not depend on how config was loaded only where it is dumped
      changed checks for type to the given filename instead of the source filename
      
      * defined test_fromdict and fixed dump function
      it might be more convoluted than it needs to be but the formatting depends on the extension of the argument or the extension of the self.filename
      
      * config dump defaults to returning pretty_text, test_fromdict renamed to test_dump_from_dict
      
      * some reformatting in docstrings
      
      * refine unittest
      
      * fix unit test as comment
      
      * Refine docstring
      
      * minor refinement
      
      * import mmcv
      
      * fix lint
      Co-authored-by: default avatarHAOCHENYE <21724054@zju.edu.cn>
      Co-authored-by: default avatarZaida Zhou <58739961+zhouzaida@users.noreply.github.com>
      1dbb5d36
  9. 09 May, 2022 1 commit
  10. 02 May, 2022 1 commit
  11. 27 Apr, 2022 1 commit
  12. 18 Apr, 2022 1 commit
  13. 05 Apr, 2022 1 commit
    • Tan SU's avatar
      [Enhancement] Fix collect_env on Windows (#1789) · c33f2489
      Tan SU authored
      * [fix] fix collect_env() on Windows
      
      * fix(utils): add back 'Cuda compilation tools' to nvcc info
      
      * feat(utils): find default ccompiler
      
      * fix(utils, test): parse cl.exe version instead of path
      
      * fix: code style
      
      * fix(tools): use distutils
      
      * [fix] collect_env() returns GCC or MSVC
      
      * [fix] unitest for collect_env()
      
      * add comments
      
      * test: add GCC to expected_keys
      
      * fix: code style
      
      * Update mmcv/utils/env.py
      c33f2489
  14. 15 Mar, 2022 1 commit
  15. 24 Feb, 2022 1 commit
  16. 16 Feb, 2022 1 commit
    • Ma Zerun's avatar
      Support deepcopy for Config (#1658) · 33c83b5a
      Ma Zerun authored
      * Support deepcopy for Config
      
      * Iterate the `__dict__` of Config directly.
      
      * Use __new__ to avoid unnecessary initialization.
      
      * Improve according to comments
      33c83b5a
  17. 09 Feb, 2022 1 commit
  18. 22 Dec, 2021 1 commit
    • Jiazhen Wang's avatar
      [Fix] Fix some warnings in unittest (#1522) · fb486b96
      Jiazhen Wang authored
      * [Fix] fix some warnings in unittest
      
      * [Impl] standardize some warnings
      
      * [Fix] fix warning type in test_deprecation
      
      * [Fix] fix warning type
      
      * [Fix] continue fixing
      
      * [Fix] fix some details
      
      * [Fix] fix docstring
      
      * [Fix] del useless statement
      
      * [Fix] keep compatibility for torch < 1.5.0
      fb486b96
  19. 14 Dec, 2021 1 commit
  20. 19 Nov, 2021 1 commit
  21. 23 Oct, 2021 1 commit
    • 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
  22. 20 Oct, 2021 1 commit
  23. 13 Oct, 2021 1 commit
  24. 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
  25. 23 Aug, 2021 1 commit
  26. 08 Aug, 2021 1 commit
  27. 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
  28. 13 Jul, 2021 1 commit
  29. 29 Jun, 2021 1 commit
    • achaiah's avatar
      [Fix]: fix missing check of directory in scandir (#1110) · 21845db4
      achaiah authored
      
      
      * Missing check for dir in the 'else' clause
      
      Fixing issue when recursively scanning directories with filenames starting with '.'  Without this fix, the `if not entry.name.startswith('.') and entry.is_file()` logic falls through to the `else` clause which in the current code base will error out as it encounters '.' files (e.g. .DS_Store)
      
      * Updated code per comments
      
      * fixing indentation
      
      * fix indenterror and add comment
      
      * remove .DS_Store and add .file
      Co-authored-by: default avatarzhouzaida <zhouzaida@163.com>
      21845db4
  30. 25 Jun, 2021 2 commits
  31. 23 Jun, 2021 1 commit
  32. 10 May, 2021 1 commit
  33. 25 Apr, 2021 1 commit
  34. 10 Apr, 2021 1 commit
    • Jerry Jiarui XU's avatar
      add model registry (#760) · 375605fb
      Jerry Jiarui XU authored
      * add model registry
      
      * fixed infer scoep
      
      * fixed build func
      
      * add docstring
      
      * add md
      
      * support multi level
      
      * clean comments
      
      * add docs
      
      * fixed parent
      
      * add more doc
      
      * add value error, add docstring
      
      * fixed docs
      
      * change to local/global search
      
      * resolve comments
      
      * fixed test
      
      * update some docstring
      
      * update docs (minior)
      
      * update docs
      
      * update docs
      375605fb
  35. 25 Feb, 2021 1 commit
  36. 18 Feb, 2021 1 commit
  37. 08 Jan, 2021 1 commit
    • 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
  38. 07 Jan, 2021 1 commit
  39. 28 Dec, 2020 1 commit