tkipf / gae

Implementation of Graph Auto-Encoders in TensorFlow
MIT License
1.65k stars 351 forks source link

Does it work with Tensorflow 2 and Python 3? #67

Open ChristopherMarais opened 4 years ago

ChristopherMarais commented 4 years ago

I am trying to set up an environment to have the correct versions of necessary packages in Anaconda and the setup.py just installs the latest versions of packages. I am getting some errors and it seems to mostly be version related errors. Which versions of Python and tensorflow are guaranteed to work?

areiasfi commented 3 years ago

Hi @ChristopherMarais , I am having the same issue. Did you find a solution?

daffp commented 3 years ago

@areiasfi ; quick fix I used to get to run, I commented out import tensorflow as tf in each .py file and used import tensorflow.compat.v1 as tf instead. In train.py additionally needed tf.compat.v1.disable_v2_behavior(). I ran setup.py after these changes

areiasfi commented 3 years ago

@ChristopherMarais It works! thank you very much! I just need to switch to tensorflow 2.5