Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何读取云端对象存储【如aws s3】的视频? #138

Open
yangcheng opened this issue Nov 12, 2024 · 1 comment
Open

如何读取云端对象存储【如aws s3】的视频? #138

yangcheng opened this issue Nov 12, 2024 · 1 comment

Comments

@yangcheng
Copy link

需要标注的视频数据本身在云端,下载过慢且占用本地空间。如何集成对象存储呢
谢谢

@gary-Shen
Copy link
Collaborator

目前 Labelu 不支持对象存储。可以自行集成:

  1. 任务配置增加 oss bucket 配置,包含path、ak sk 和 endpoint,任务配置目前在数据库中是一个 json 字符串,所以可以不用修改表结构;
  2. 前端读取 sample 的逻辑需要修改为从 oss 加载加载文件列表,这块逻辑也可以在后端增加相关接口,使用 boto3 client 读取对象列表;
  3. 相关导出接口也需要自行修改。

大部分修改可能在前端 LabelU-Kit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants