dbusbridge / gcn_tutorial

A tutorial on Graph Convolutional Neural Networks
315 stars 78 forks source link

AttributeError: module 'tensorflow' has no attribute 'sparse_placeholder' #4

Closed dproxy8 closed 4 years ago

dproxy8 commented 4 years ago

I ran 01_karate_unsupervised.py with env_graph_convnet, the following error appeared.

Traceback (most recent call last): File "01_karate_unsupervised.py", line 40, in 'adj_norm': tf.sparse_placeholder(tf.float32, name="adj_mat"), AttributeError: module 'tensorflow' has no attribute 'sparse_placeholder'

Does anyone know what are the causes and solutions?