shenweichen / GraphEmbedding

Implementation and experiments of graph embedding algorithms.
MIT License
3.74k stars 1k forks source link

关于tensorflow的to_float问题 #15

Closed victorsoda closed 2 years ago

victorsoda commented 5 years ago

您好,我在尝试运行您的sdne_wiki.py代码时,提示了如下错误信息: AttributeError: module 'tensorflow' has no attribute 'to_float' 我的python版本为3.6.7,tf.version = "2.0.0-alpha0",我猜测可能是我的版本太新问题,请问我可以如何跑起来您的代码呢?谢谢!

shenweichen commented 5 years ago

建议先在tf1.X版本使用,如1.4