Skip to content

Load YOLO training images lazily #404

Description

@abdullah-ukaea

Is your feature request related to a problem? Please describe.
The YOLO training manifest currently loads and stores every encoded video frame in memory, which can use significant memory for large datasets

Describe the solution you'd like
Load each image through the configured TokTagger data loader only when the PyTorch dataset requests it.

Describe alternatives you've considered
Continue storing encoded images in the manifest. This avoids repeated loading but uses more memory.

Additional context
As requested by #326 (comment)

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