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

在对视频进行向量化时如何对多个视频同时进行处理? #2701

Open
1 task done
Terran0629 opened this issue Sep 9, 2024 · 3 comments
Open
1 task done
Labels
kind/enhancement Issues or changes related to enhancement stale

Comments

@Terran0629
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What would you like to be added?

towhee团队你们好。经过测试,如果一条一条视频进行处理,使用cpu的效率和使用gpu的效率差不多,甚至cpu略快于gpu。假设我现在有数十万条视频数据,我该如何对数据进行批处理呢?如果一条条进行处理不仅费时还无法利用gpu的性能。

Why is this needed?

No response

Anything else?

No response

@Terran0629 Terran0629 added the kind/enhancement Issues or changes related to enhancement label Sep 9, 2024
@junjiejiangjjj
Copy link
Contributor

hi @Terran0629 , the performance bottleneck of video processing is video decoding. https://towhee.io/video-decode/VPF, this decoding operator uses GPU to accelerate video decoding. You can also process multiple videos at once through the batch interface

@Terran0629
Copy link
Author

您好,有没有具体的例子可以提供一下呢

Copy link

stale bot commented Oct 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen.

@stale stale bot added the stale label Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement stale
Projects
None yet
Development

No branches or pull requests

2 participants