Comments (4)
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.
@JanuszL
Thanks.
from dali.
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.
@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)
- random_resized_crop does not support different image sizes HOT 13
- How exactly does distributing the dataset with DALI/TensorFlow work? HOT 3
- Video Reader performance and alternative considerations HOT 4
- `experimental_fetch_to_device` makes no difference since TF 2.14 HOT 2
- external_source doesn't return last incomplete batch HOT 5
- Video Reader sequence start and end HOT 3
- Is it possible to modify the labels according to the random rotation of images? HOT 5
- Create a pytorch dataloader with 2 data sources HOT 5
- Resize on CPU with output shape coming from an external source operator HOT 3
- webdataset error HOT 2
- AWS DALI video_loader error HOT 3
- why multi-gpu training slower than single gpu HOT 1
- How to manage empty items in a batch? HOT 5
- nvidia.dali.fn.python_function() failed with TypeError HOT 5
- Can I install DALI on CPU node without GPU/CUDA HOT 3
- fn.lookup_table giving wrong result for gpu HOT 5
- Need argmax/argmin operator HOT 1
- How to destory a pipeline? HOT 1
- random crop function HOT 10
- cv2.resize(interpolation=cv2.INTER_LINEAR) different with fn.resize(img, antialias=True, subpixel_scale=True, interp_type=types.DALIInterpType.INTERP_LINEAR, resize_y=target_img_height, max_size=max_width) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dali.