DDFlow
DDFlow copied to clipboard
I want to train the model with FlyingChairs dataset
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