Skip to content

Corrupt JPEG data: 211 extraneous bytes before marker 0xd9 #5608

Open
@wen020

Description

@wen020

What I need help with / What I was wondering
I have a training task. And my data is a bunch of videos. When I use tfds as dataload, it will generate tf record for me first, but when I train, the following error will appear.
image

What I've tried so far
To solve this problem, I tried to use dataset = dataset.ignore_errors() to skip these problematic videos, but this method does not seem to work

It would be nice if...

Environment information
ubuntu
Python 3.10.12
tensorflow 2.17.0
tensorflow-datasets 4.9.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions