hwwang55 / gcn-lpa Goto Github PK
View Code? Open in Web Editor NEWA tensorflow implementation of GCN-LPA
License: MIT License
A tensorflow implementation of GCN-LPA
License: MIT License
Awesome work!
I came across this error running your code:
Traceback (most recent call last):
File "main.py", line 10, in <module>
tf.set_random_seed(seed)
AttributeError: module 'tensorflow' has no attribute 'set_random_seed'
set_random_seed()
is deprecated and it has been moved to tf.random.set_seed()
https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/random/set_seed
https://www.techbeat.net/articles/MTU5MTE5NDA3OTA5Ny03MzgtNjc2MTQ=
This one is awesome, can you create a repo and share your ppt, or send me by email?
Thank you ~
Hi,
In "model.py" when building lpa as following code, the labeled nodes seem not to be reset in the loop. I am wondering if this is correct. thank you!
def _build_lpa(self):
label_mask = tf.expand_dims(self.label_mask, -1)
input_labels = label_mask * self.labels
label_list = [input_labels]
for _ in range(self.args.lpa_iter):
lp_layer = LPALayer(adj=self.normalized_adj)
hidden = lp_layer(label_list[-1])
label_list.append(hidden)
self.predicted_label = label_list[-1]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.