Skip to content

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

Open
@wen020

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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