1. 25 May, 2022 1 commit
  2. 18 May, 2022 1 commit
  3. 10 May, 2022 1 commit
    • Alex Yang's avatar
      [Fix] Fix type hint in file_client (#1942) · a848ecfd
      Alex Yang authored
      * [fix]:fix type hint in file_client and mmcv
      
      * [fix]:fix type hint in tests files
      
      * [fix]:fix type hint in tests files
      
      * [fix]:fix pre-commit.yaml to igore test for mypy
      
      * [fix]:fix pre-commit.yaml to igore test for mypy
      
      * [fix]:fix precommit.yml
      
      * [fix]:fix precommit.yml
      
      * Update __init__.py
      
      delete unused type-ignore comment
      a848ecfd
  4. 08 May, 2022 1 commit
  5. 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
  6. 09 Dec, 2021 2 commits
  7. 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
  8. 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
  9. 08 Aug, 2021 1 commit
  10. 03 Mar, 2021 1 commit
    • sshuair's avatar
      add HTTP backend (#860) · 6719cde4
      sshuair authored
      * add HTTP backend
      
      * add HTTPbackend
      
      * fix linting
      
      * fix linting
      
      * add docs attributes http
      
      * fix format
      
      * add real http link test for http backend
      6719cde4
  11. 08 Dec, 2020 1 commit
  12. 03 Jul, 2020 1 commit
  13. 15 Jun, 2020 1 commit
  14. 13 Jun, 2020 1 commit
  15. 31 May, 2020 1 commit
  16. 22 May, 2020 3 commits
  17. 25 Apr, 2020 1 commit
    • Cao Yuhang's avatar
      Use f-string (#245) · b7e8d7d7
      Cao Yuhang authored
      * use f-string
      
      * delete python3.5 sup
      
      * minor fix
      
      * fix supported python version
      
      * fix format
      
      * fix yapf
      
      * remove redundant space
      
      * fix typo
      b7e8d7d7
  18. 23 Apr, 2020 1 commit