You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, after some number of examples, (dependent on num_workers), creating the VideoLoader takes up to 10 seconds, my CPU utilization drops significantly and dataloading becomes 3-4x slower.
I've tried including del vr and gc.collect() as from #1 (comment). I've also attempted to set the environment variable DECORD_NUM_THREADS as well different num_workers in the pytorch dataloader.
The text was updated successfully, but these errors were encountered:
Decord installed with pip, observed using
VideoReader
alongside the Pytorch dataloader for decoding videos.Code looks something like:
However, after some number of examples, (dependent on num_workers), creating the VideoLoader takes up to 10 seconds, my CPU utilization drops significantly and dataloading becomes 3-4x slower.
I've tried including
del vr
andgc.collect()
as from #1 (comment). I've also attempted to set the environment variableDECORD_NUM_THREADS
as well differentnum_workers
in the pytorch dataloader.The text was updated successfully, but these errors were encountered: