Skip to content

Video Dataset initialisation improvements

Compare
Choose a tag to compare
@MalteEbner MalteEbner released this 24 May 11:41
· 612 commits to master since this release
5137f84

Video Dataset initialisation speedup

When initialising a LightlyDataset on a directory with videos, all frames in all videos have to be counted to know the number of frames in the dataset and their filenames. This process now uses multihreading over videos and can thus be much faster.

Video Dataset initialisation bugfix

We fixed a bug that the number of frames was estimated wrongly based on the length of the video when using the pyav backend.

Video Dataset initialisation progress bar

When initialising the video dataset, a progress bar over the videos is shown. This is helpful information for datasets with many videos.

Models