mac-network
mac-network copied to clipboard
About Evaluation
For the evaluation I run the given command in readme with "--test" parameter but it gives "Index out of range" error. What might be the cause?
Testing on epoch 25...
Traceback (most recent call last):2 (0.00+0.24), lr 0.003, l = 2.3097, a = 0.5703, avL = 2.5296, avA = 0.6206, g = -1.0000, emL = 2.4391, emA = 0.6370; gqaExperiment
File "main.py", line 850, in
Sorry for that! I'm pretty sure that was a bug in https://github.com/stanfordnlp/mac-network/blob/gqa/merge.py. I resolved it since then but if you ran it before there's some chance it still affects your run. I will be able to look into it more in 2 weeks unfortunately, and in the meantime I would recommend trying rerunning merge.py
and run the data with --expName "gqaExperiment2" to make sure it generates clean data with the new code. Also see https://github.com/stanfordnlp/mac-network/issues/20.
I hope to get back to you with a more detailed solution soon!
Thank you!