Skip to content

Conversation

pmeier
Copy link
Contributor

@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
Contributor 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