Hi @freesunshine0316 ,
Thanks for sharing !
I encountered an error while running the code, as follows:
nary-grn-master/bidir_dag_lstm/dag_encoder_utils.py", line 160, in init
w_trans = tf.get_variable("w_trans", [input_dim + edge_dim, options.dag_hidden_dim], dtype=tf.float32)
AttributeError: 'Bunch' object has no attribute 'dag_hidden_dim'
Hi, thank you for your interest. It can be easily fixed by changing "options.dag_hidden_dim" to "options.neighbor_vector_dim". I'm a little bit busy right now, and will fix and update shortly.
Hi @freesunshine0316 , Thanks for sharing ! I encountered an error while running the code, as follows:
nary-grn-master/bidir_dag_lstm/dag_encoder_utils.py", line 160, in init w_trans = tf.get_variable("w_trans", [input_dim + edge_dim, options.dag_hidden_dim], dtype=tf.float32) AttributeError: 'Bunch' object has no attribute 'dag_hidden_dim'
Looking forward for your reply.