NVIDIA / NVIDIA/DALI

Support for Numpy labels with VideoReader

Open
#2,296 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement external contribution welcome
Dominant language
C++
Stars
5.8k
Forks
678
Avg merge
3d 1h
Merged PRs (30d)
27

Description

It might be that I missed some instruction however I don't currently see a way to train with videos using the VideoReader but supply the labels as a npy array. Is this functionality supported at all? The VideoReader seems perfect for training with video data but if it only support classification labels that would severely limit the use-fullness of it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the VideoReader documentation and examples for label inputs, then trace how classification labels are currently accepted. Determine whether NumPy .npy arrays are supported; if not, define the required behavior and add coverage demonstrating that video training can use those labels.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy
Domain
data, machine-learning
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.