Giter VIP home page Giter VIP logo

Comments (4)

JanuszL avatar JanuszL commented on May 14, 2024

Hi,
file_list expects following format:
file_name_N[string] label_M[int]
Please try:
cat_9.jpg 0
cat_1.jpg 0
We will add more sanity check logic to the data loader and extend documentation as well.

from dali.

zhengge avatar zhengge commented on May 14, 2024

@JanuszL
Thanks.

from dali.

austinmw avatar austinmw commented on May 14, 2024

Hi @JanuszL , I'm trying to use a file list with subdirectories that represent different videos, for example:

11-EO.mp4_0/11-EO.mp4_0-001.jpg
11-EO.mp4_0/11-EO.mp4_0-002.jpg
11-EO.mp4_0/11-EO.mp4_0-003.jpg
12-EO.mp4_0/12-EO.mp4_0-001.jpg
12-EO.mp4_0/12-EO.mp4_0-002.jpg
12-EO.mp4_0/12-EO.mp4_0-003.jpg

However, it seems the file path that is created ends up cutting off the beginning digits:

File mapping failed: /home/user/project/images/-EO.mp4_0/11-EO.mp4_0-001.jpg

from dali.

JanuszL avatar JanuszL commented on May 14, 2024

@austinmw - I'm sorry but I cannot reproduce your bug. Can you provide a simple, self-contained repro we could run on our side?
Also please check how it works with the latest DALI release as well as the latest nightly build.

from dali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.