vanhuyz / CycleGAN-TensorFlow

An implementation of CycleGan using TensorFlow
MIT License
1.19k stars 436 forks source link

inference run error #89

Open mamahhh opened 6 years ago

mamahhh commented 6 years ago

When I run the inference following the Readme, there are some errors. Traceback (most recent call last): File "inference.py", line 49, in <module> tf.app.run() File "/home/masijia/.conda/envs/cycle/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 44, in run _sys.exit(main(_sys.argv[:1] + flags_passthrough)) File "inference.py", line 46, in main inference() File "inference.py", line 26, in inference image_data = f.read() File "/home/masijia/.conda/envs/cycle/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 106, in read self._preread_check() File "/home/masijia/.conda/envs/cycle/lib/python3.6/site-packages/tensorflow/python/lib/io/file_io.py", line 73, in _preread_check compat.as_bytes(self.__name), 1024 * 512, status) File "/home/masijia/.conda/envs/cycle/lib/python3.6/contextlib.py", line 88, in __exit__ next(self.gen) File "/home/masijia/.conda/envs/cycle/lib/python3.6/site-packages/tensorflow/python/framework/errors_impl.py", line 466, in raise_exception_on_not_ok_status pywrap_tensorflow.TF_GetCode(status)) tensorflow.python.framework.errors_impl.NotFoundError: input_sample.jpg Does it mean that I should change the imput_sample.jpg to the image's name I use?