-
Notifications
You must be signed in to change notification settings - Fork 6.8k
cannot find aws s3 file? #4578
Comments
have you set the s3 credential correctly, namely set env var: AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY |
@mli yes i have set them correctly. The boto3 code will verify correct setting. Also for wrong keys, the error will be different. |
@mli not sure if there is a bug in mxnet source code. If i remove the hypens, it can find my s3 file. For example, the below link is ok
(however, doing so will lead to another redirect error "Please re-send this request to the specified temporary endpoint. Continue to use the original request endpoint for future requests." which i think is a separate issue, see #1178) |
I encountered this issue as well. The way the code works today it will only find data that are in S3 folders, see https://github.com/dmlc/dmlc-core/blob/f1f366bafbae30dcacbe5a1407370b05f2aabef3/src/io/input_split_base.cc#L109-L111. |
This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks! |
The following code return the error:
[09:38:25] src/io/input_split_base.cc:163: Check failed: files_.size() != 0U (0 vs. 0) Cannot find any files that matches the URI patternz s3://deep-learn-data/imagenet1k-val.rec
What did I go wrong?
However, if i use boto3 to verify the file, it is ok:
Lastly, by using aws cli, i verify that file exists:
The text was updated successfully, but these errors were encountered: