mmcv icon indicating copy to clipboard operation
mmcv copied to clipboard

File client for reading from S3 Object Storage

Open levan92 opened this issue 4 years ago • 8 comments

Hi! I am directed here from mmdetection. It seems like petrel_client is something internal to your lab. Are there plans to support a file client for S3 Object Storage?

levan92 avatar Nov 11 '21 17:11 levan92

Hi @levan92 , yet, the petrel_client is a backend for internal use. In fact, we have a plan to support a file client for S3 object storage next month. Of course, you can also refer to https://github.com/open-mmlab/mmcv/blob/master/mmcv/fileio/file_client.py#L85 to implement it if you are interested.

zhouzaida avatar Nov 12 '21 01:11 zhouzaida

Sure, will an implementation that utilises boto3 work?

levan92 avatar Nov 15 '21 11:11 levan92

Sure, will an implementation that utilises boto3 work?

sure

zhouzaida avatar Nov 15 '21 12:11 zhouzaida

The issue will be resolved by #1545

zhouzaida avatar Dec 01 '21 15:12 zhouzaida

Is there any plan on adding this feature soon?

jckhang avatar Apr 28 '22 09:04 jckhang

Can we get any info about this? Is there any problem with current work? Willing to help, this would be an awesome feature!

mmeendez8 avatar May 07 '22 10:05 mmeendez8

+1 When I provide s3 path I get the error

  File "/home/s.menon//bazel-bin/source/offboard/ml/third_party/bevfusion/train.runfiles/offboard_python_analysis_mmcv_full/site-packages/mmcv/fileio/file_client.py", line 116, in __init__
    from petrel_client import client
ModuleNotFoundError: No module named 'petrel_client'

Is this the package? https://pypi.org/project/petrel/ Or is it something internal

sandeepnmenon avatar Jul 18 '23 01:07 sandeepnmenon

Is this still a problem in mmdet 3.x?

matthost avatar Feb 20 '24 17:02 matthost