Skip to content

I want to train the model with FlyingChairs dataset #17

@RokiaAbdeen

Description

@RokiaAbdeen

I want to train the model with the flyingchairs dataset but I got this error
`**InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with 'P6 512 384 255\n\007'
[[{{node DecodePng_1}}]]
[[IteratorGetNext]]

During handling of the above exception, another exception occurred:

InvalidArgumentError Traceback (most recent call last)

/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py in _do_call(self, fn, *args)
1368 pass
1369 message = error_interpolation.interpolate(message, self._graph)
-> 1370 raise type(e)(node_def, op, message)
1371
1372 def _extend_graph(self):

InvalidArgumentError: Expected image (JPEG, PNG, or GIF), got unknown format starting with 'P6 512 384 255\n\007'
[[{{node DecodePng_1}}]]
[[IteratorGetNext]]**`
I know this error because the flayingchairs's image format is ppm but how to handle this problem, if the solution is to use read_and_decode_ppm, how to use it to solve this problems

thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions