-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Read videos from memory #6603
Copy link
Copy link
Open
Description
🚀 The feature
I have a lot of small videos (3 million video files), in an attempt to reduce disk bottleneck, I store all the videos in LMDB using: https://lmdb.readthedocs.io/en/release/. I would love the ability to read videos from memory.
Motivation, pitch
My training (8xA100 GPUs) process is data starved. I'm pretty sure the issue is disk throughput, hence my usage of LMDB. Allowing torchvision to read videos from memory would help me use LMDB for storing binary files.
Alternatives
I am about to try manually doing this using pyav.
Additional context
No response
cc @pmeier
Reactions are currently unavailable