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

Added support for pathlib Paths when loading videos #475

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

smorrin28
Copy link

When currently trying to load a video by passing a pathlib Path to init_state(...), the call fails with a NotImplementedError, stating the function is only implemented for jpeg folders / mp4 files - even if the path references such a folder file. As this is somewhat misleading, I added support for using Path objects to reference video files / folders.

@hjj-lmx
Copy link

hjj-lmx commented Feb 20, 2025

大佬,请问一下后续的推理是怎么实现的,他的demo都是把视频拆分成帧保存到本地了。我现在需要对不同时间点提供的mask或者points同时推理,应该怎么写啊,有demo参考一下吗?

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

Successfully merging this pull request may close these issues.

3 participants