Skip to content

Other dataloading options #3

Description

@cellistigs

Dataloading at the moment is somewhat slow. Even with frame subsampling (Balint does 5x, Aiden does 20x), we find that:

  1. Unpacking video to frames takes a lot of space and memory
  2. The initial iteration through the dataset to get the mean image can take ~minutes.
  3. When feeding frames to the GPU, the limiting factor is how fast workers can pass frames to the GPU (GPU utilization is quite bursty).

Balint has also implemented a tarball based dataloader, which would take care of 1. We have also thought of using DALI to do GPU based data preprocessing, optionally directly from the video, which would take care of 2 and 3. DALI is apparently also compatible with the Webdataset format, which is what Balint's tarball based dataset uses.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions