mmengine icon indicating copy to clipboard operation
mmengine copied to clipboard

[Docs] How do backend_args work?

Open Data-drone opened this issue 1 year ago • 2 comments

📚 The doc issue

I can't seem to find any documentation on how backend_args work along with allowable values?

Suggest a potential alternative/fix

mmengine documentation should either have some examples of valid backend_args configurations aside from just the Ceph 'petrol' example in some of the detection files

Data-drone avatar Jan 10 '24 05:01 Data-drone

Hi @Data-drone , thanks for your feedback. backend_args is used to decide which backend should be used and to initialize the corresponding Backend. More details can be found at here.

https://github.com/open-mmlab/mmengine/blob/3d8a611eec15cf89e3850ad0c8ea48e927a583fb/mmengine/fileio/io.py#L103

BTW, I will provide a document for backend usage soon.

zhouzaida avatar Jan 11 '24 16:01 zhouzaida

is it possible to remove the petrel_backend defaults to another branch or as an added extra? I keep having issues with:

ModuleNotFoundError: No module named 'petrel_client' 

when trying to load s3 paths

Data-drone avatar Jan 15 '24 14:01 Data-drone