- 25 May, 2022 1 commit
-
-
Wencheng Wu authored
* [Fix] Fix the problem that the instance cannot reuse when overwriting the file client. * Remove _overridden_backends and _overridden_prefixes, and pop the old instance when overwriting the file client. * add unittest * fix prefix error * modify clear_backend to overridden_backend * Delete redundant comments.
-
- 18 May, 2022 1 commit
-
-
Zaida Zhou authored
* add pyupgrade * add options for pyupgrade * minor refinement
-
- 10 May, 2022 1 commit
-
-
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
-
- 08 May, 2022 1 commit
-
-
Hongbin Sun authored
* fix bug of can't pickle env objs * use utf-8 to support Chinese * use __del__ instead close * move try import to init * remove getitem * use client instead
-
- 22 Dec, 2021 1 commit
-
-
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
-
- 09 Dec, 2021 2 commits
-
-
Zaida Zhou authored
* [Docs] Fix the format of docstring * fix format
-
Zaida Zhou authored
* [Docs] Fix the format of return * replace List with list * format the documentation of optimizer * Update ops docstring (#2 ) * update ops docstring * fix typos Co-authored-by:
ChaimZhu <zhuchenming@pjlab.org.cn> Co-authored-by:
ChaimZhu <zhuchenming@pjlab.org.cn>
-
- 24 Oct, 2021 1 commit
-
-
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
-
- 23 Oct, 2021 1 commit
-
-
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
-
- 08 Aug, 2021 1 commit
-
-
Jerry Jiarui XU authored
* [Docs] Add header for files * change to OpenMMLab * add headers for .cpp, .cu, .h, .cuh * replace Open-MMLab with OpenMMLab
-
- 03 Mar, 2021 1 commit
-
-
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
-
- 08 Dec, 2020 1 commit
-
-
Wang Xinjiang authored
* Allow list keys in Config merge from dict * Reformat * Set allow_list_keys default as True in merge_from_dict * Fix docstring * fix a small typo
-
- 03 Jul, 2020 1 commit
-
-
Kai Chen authored
* update doc formats * update docstring
-
- 15 Jun, 2020 1 commit
-
-
lizz authored
* harmless changes Signed-off-by:
lizz <lizz@sensetime.com> * Update conv_module.py * No bracket for simple class Signed-off-by:
lizz <lizz@sensetime.com>
-
- 13 Jun, 2020 1 commit
-
-
Jintao Lin authored
-
- 31 May, 2020 1 commit
-
-
Kai Chen authored
* allow registering new backends with decorators * add a docstring * minor update to the docstring
-
- 22 May, 2020 3 commits
-
-
Jerry Jiarui XU authored
* add PetrelBackend * update docs * add path_maps for Ceph * rename to path_mapping * fixed import
-
Jerry Jiarui XU authored
* add PetrelBackend * update docs * add path_maps for Ceph * rename to path_mapping
-
- 25 Apr, 2020 1 commit
-
-
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
-
- 23 Apr, 2020 1 commit
-
-
Kai Chen authored
* add file client * install missing requirements * use .format() instead of f-string
-