AnacletoLAB / grape

🍇 GRAPE is a Rust/Python Graph Representation Learning library for Predictions and Evaluations
MIT License
527 stars 38 forks source link

Error in "compute_node_embedding" #7

Closed smsnia closed 2 years ago

smsnia commented 2 years ago

I ran the default pipeline of using CBOW, SkipGram and Glove to embed Cora.ipynb. The pipeline successfully ran without error until it reached to "compute_node_embedding" where the following error appeared: IndexError Traceback (most recent call last) in () 6 first_order_rw_node_embedding, training_history = compute_node_embedding( 7 graph, ----> 8 node_embedding_method_name=node_embedding_method_name, 9 ) ... IndexError: pop from empty list

LucaCappelletti94 commented 2 years ago

Hello @smsnia, this was born out of a bug in new TensorFlow releases and we have now found a working patch for this. We are now integrating this patch in the library and soonish publishing this on Pypi.

LucaCappelletti94 commented 2 years ago

The patched version is available on Pypi. Do note that the version code with the patch is 0.0.6.dev3

LucaCappelletti94 commented 2 years ago

Please do let me know if everything works fine now.