NeuralTripleTranslation
NeuralTripleTranslation copied to clipboard
getting error while running baseline training
I am getting an error in 1st epoch after few batch i.e.
Traceback (most recent call last):
File "baselines/main.py", line 206, in
Please help @YueLiu
Thanks
can you please help @YueLiu
Hi @sujit420 please check the dimensions of your input to the rnn model. It should be 3-dim and use batch as the first dim.
@sujit420 can you send us your inputs? thanks
@sujit420 how did you get data/split/train.pkl
and data/split/test.pkl
files?
Hi, I don't know if this is still useful for someone, but this error depends on the wiki_dbpedia_train.txt file. In some lines of this file there are too many tabs instead of one, so this generates an error. I'm attaching here the corrected file. wiki_dbpedia_train.txt