NVIDIA / NVIDIA/DALI

NumpyReader and SequenceReader file_list unaviable?

Open
#2,267 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello, I need to read numpy files, so I found there is NumpyReader who does it.
The problem is that NumpyReader doesnt have file_list argument.
My dataset is not in the folder structure the DALI likes: "file_root directory should contain directories with numpy files in them."
It is not possible for me to change the dataset structure.

Why doesn't NumpyReader have file_list argument? The same goes for SequenceReader.
What workaround can I do here?
Thanks!

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 locating the NumpyReader and SequenceReader entry points and reviewing how they discover input files under the current file_root layout. Determine how a file_list option would fit both readers, then add coverage for datasets that do not match the required directory structure and verify the documented workaround or new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, numpy, python
Domain
data
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.