mmcv/docs/understand_mmcv
Zaida Zhou 5b5b47fc87
[Feature] Loading objects from different backends and dumping objects to different backends (#1330)
* [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
2021-10-23 20:51:44 +08:00
..
cnn.md Add code spell hook to pre-commit and fix typos (#1384) 2021-10-04 20:13:54 +08:00
config.md Support deprecation info in Config (#1275) 2021-08-23 10:36:37 +08:00
data_process.md [Docs] Build Chinese docs (#1073) 2021-07-07 13:10:04 +08:00
io.md [Feature] Loading objects from different backends and dumping objects to different backends (#1330) 2021-10-23 20:51:44 +08:00
ops.md [Feature] Add group points ops from mmdet3d (#1415) 2021-10-23 14:01:31 +08:00
registry.md [Docs] Use myst parser (#1287) 2021-08-22 09:44:51 +08:00
runner.md Add code spell hook to pre-commit and fix typos (#1384) 2021-10-04 20:13:54 +08:00
utils.md [Docs] Fix pdf build (#1266) 2021-08-17 16:03:55 +08:00
visualization.md [Docs] Refactor docs (#1102) 2021-07-02 20:53:00 +08:00