Closed kiralpoon closed 6 years ago
Hi, I think you need to upgrade to tensorflow version >= 1.8 The latest one is 1.10 but I haven't tested on that yet.
If you look at https://github.com/tensorflow/tensorflow/blob/r1.6/tensorflow/python/ops/clip_ops.py and https://github.com/tensorflow/tensorflow/blob/r1.8/tensorflow/python/ops/clip_ops.py you'll see that ClipByValue is added at tf1.8
Let me know if that solves the problem!
This make perfect sense! Thank you! After I switched to tensorflow ==1.8 it works
In both my mac and window, some how the PYTHONPATH did not registered where it ran the code in the root folder, hence will give the error that cannot import util_io, so I added 2 lines of code to fix that in the image_translation_infer.py. I will try to commit it and let you review it and hope it helps. I have created a new virtual enviornment and created a requirement.txt based on that working environment. I will also commit a requirement.txt for python package if that can helps for other.
I was trying to run the demo follow the instructions in: python3.6 tensorflow 1.7.0 MacOS High Sierra version 10.13.6 it gave
I also tried to switch to tensorflow 1.6.0 but with no luck.
Here is the ls of the 256 downloaded pre-trained model
Impressive work! I hope I will be able to run it and contribute.