Closed xav-ie closed 5 months ago
The code uses tensorflow 1, so not directly compatible with tensorflow 2. I'm not sure if it is possible to make it work with tensorflow 2 using the tf.compat.v1 (you could try changing "import tensorflow as tf" to "import tensorflow.compat.v1 as tf"), but it seems like you encountered some problems with tensorlayer that are more difficult to solve.
Perhaps the easiest is to simply downgrade to tensorflow 1?
For that it would also require a lower version of Python. Has anyone tried this git? Does it work?
bankrupting this
After hours of toiling away to install openexr on Mac, I find that I do not have the correct tensorflow version installed because I am getting messages like:
:(
Please, can someone who got this working share their environment? I also found I had to install opencv-python and matplotlib, which were not mentioned.
I attempted to fix this error by just changing the offending lines ~65-70:
Then you get another error:
So then I try to disable eager execution by adding
tf.compat.v1.disable_eager_execution()
because it was not enabled in V1 (I think?) and then I get a very cryptic error:So, can someone please share what worked for them by running pip freeze in an environment that works and sending it here? I really wish to use this package.