DDFlow icon indicating copy to clipboard operation
DDFlow copied to clipboard

I want to train the model with FlyingChairs dataset

Open RokiaAbdeen opened this issue 5 years ago • 0 comments

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

RokiaAbdeen avatar Sep 14 '20 23:09 RokiaAbdeen