IBM / Graph2Seq

Graph2Seq is a simple code for building a graph-encoder and sequence-decoder for NLP and other AI/ML/DL tasks.
Apache License 2.0
237 stars 61 forks source link

can't reproduce the results in your paper #5

Open Tanjie1102 opened 4 years ago

Tanjie1102 commented 4 years ago

I find you are still using the python 3.6 which I think is the problem. Can you try to use the python 3.5 for this experiment ?

Bests, Kun

在 2018年12月9日,20:03,Liam notifications@github.com 写道:

Kun, many thanks to you again~ I tried it on GPU based tensorflow and got the same level result as CPU based, here is my running log: https://colab.research.google.com/drive/16JmGN7coPxOa1W9inpvgzXc0uucwDYGa https://colab.research.google.com/drive/16JmGN7coPxOa1W9inpvgzXc0uucwDYGa — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/IBM/Graph2Seq/issues/2#issuecomment-445665865, or mute the thread https://github.com/notifications/unsubscribe-auth/AOhkYIWmyY8zdAa5r3lySsZfibmIQ0rVks5u3d0IgaJpZM4ZJ4uK.

_Originally posted by @syxu828 in

https://github.com/IBM/Graph2Seq/issues/2#issuecomment-445671947_

Hi,kun: I use python3.5 and tensorflow-gpu==1.8.0. the hyperparameters were set as you suggested in this answer. But finally got acc on test set is 0.951.(CUDA_VISIBLE_DEVICES=3 python run_model.py test -sample_size_per_layer=100 -hidden_layer_dim=50 -epochs=200)

teddylfwu commented 3 years ago

Dear All,

Please see our newly released graph4nlp library: https://github.com/graph4ai/graph4nlp, which have implemented many GNN methods like Graph2Seq and Graph2Tree models.