Skip to content

add prototype for HMDB51 dataset #4541

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

Closed
wants to merge 2 commits into from
Closed

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Oct 5, 2021

The idea is that the dataset will always return the complete video. For the common use case of working with clips of a fixed number of frames, I propose we load the dataset with decoder=None and provide a custom IterDataPipe (follow-up PR) that handles all of this.

cc @pmeier @mthrok @bjuncek

return dict(
zip(
("video", "audio", "video_meta"),
read_video(buffer, **read_video_kwargs), # type: ignore[arg-type]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want us to step back and think a bit more about this. We have the opportunity to improve on the video datasets now that we are using IterDataPipes.

@pmeier
Copy link
Collaborator Author

pmeier commented Feb 22, 2022

Superseded by #5422.

@pmeier pmeier closed this Feb 22, 2022
@pmeier pmeier deleted the datasets/hmdb51 branch February 22, 2022 09:04
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