How to read multiple s3 bucket?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- aws, python, tensorflow
调研方向
该报告使用 Python 以及 tensorflow_datasets.builder_from_directory 和 tensorflow_io,针对具有不同 AWS 凭据和端点的两个 s3 路径。首先在第一次调用之后复现第二次调用,并检查报告的 dataset_info.json FileNotFoundError;完成标准是确定单个进程中是否支持两个 bucket 配置,并记录或测试受支持的行为。
由索引模型根据 Issue 内容生成。
描述
What I need help with / What I was wondering
I want to read multiple s3 bucket within a single process.
Here is psudo code:
```
import tensorflow_datasets as tfds
import tensorflow_io as tfio
os.environ["AWS_ACCESS_KEY_ID"] = "xxxxxxxxx"
os.environ["AWS_SECRET_ACCESS_KEY"] = "xxxxxxxxxx"
# os.environ["AWS_REGION"] = "us-east-1"
os.environ["S3_ENDPOINT"] = "http://ip1:80"
os.environ["S3_USE_HTTPS"] = "0"
os.environ["S3_VERIFY_SSL"] = "0"
builder = tfds.builder_from_directory(builder_dir='s3://open_x_embodiment_origin/cmu_stretch/0.1.0/')
os.environ["AWS_ACCESS_KEY_ID"] = "yyyyy"
os.environ["AWS_SECRET_ACCESS_KEY"] = "yyyyyyyyyy"
# os.environ["AWS_REGION"] = "us-east-1"
os.environ["S3_ENDPOINT"] = "http://ip2:80"
builder = tfds.builder_from_directory(builder_dir='s3://droid/1.0.0/')
```
I can only get the first bucket. When I builder from the second bucket, I fails with the message: FileNotFoundError: Could not load dataset info from s3://droid/1.0.0/dataset_info.json.
It seems like tfds can not read two buckets with different access keys. Is it right? or I should do something to connect two different buckets.
Best,
Looking forward to your reply.
- 主要语言
- Python
- 星标
- 4.6k
- 派生
- 1.6k
- 平均合并
- 14 小时 3 分钟
- 30 天内合并 PR
- 5
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tensorflow/datasets 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 82/100
tensorflow/datasets#11260 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
tensorflow/datasets#11253 ·
-
DatasetInfo.read_from_directory reads the deprecated FieldDescriptor.label eagerly, warning on every open可能已有人在做 @jabrailkhalil 于 48 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
tensorflow/datasets#11245 · 1 条评论 ·
-
required dependency on importlib_resources missing可能已有人在做 @ArS377 于 128 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 68/100
tensorflow/datasets#11212 · 2 条评论 · 1 个 reaction ·
-
C4 badwords filter: capitalized entries in upstream wordlists never match (text is lower-cased, list entries are not)可能已有人在做 @Jefferyjia 于 3 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 20/100
tensorflow/datasets#11258 ·
查看 tensorflow/datasets 的全部 Issue
相似的 Issue
-
difficulty:1 documentation
难度 2/5 1-3 小时 新手友好度 82/100
MakazhanAlpamys/Soup#3533 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
onyx-dot-app/onyx#18730 ·
维护者通常 1 天内回复
-
namespace team:operations
难度 1/5 1 小时以内 新手友好度 65/100
EclipseFdn/open-vsx.org#16509 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 88/100
langflow-ai/langflow#16689 ·
维护者通常 1 天内回复
-
ScoringSystem.get() and compute() return NotImplementedError instead of raising it可能已有人在做 @sc-lacanlale 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 83/100
aboutcode-org/vulnerablecode#2552 ·
维护者通常 5 天内回复