fenchri / edge-oriented-graph

Source code for the EMNLP 2019 paper: "Connecting the Dots: Document-level Relation Extraction with Edge-oriented Graphs"
Other
145 stars 17 forks source link

Question about train error #17

Closed ssppff closed 4 years ago

ssppff commented 4 years ago

Hello,dear fenchri.when Irun this comman: python3 eog.py --config ../configs/parameters_cdr.yaml --train --gpu -0 --early_stop

something wrong as follows: image

fenchri commented 4 years ago

Hey there,

I suspect you are trying to run the reproduce version? Could you provide the walks length as well? For instance: python3 eog.py --config ../configs/parameters_cdr.yaml --train --gpu -0 --early_stop --walks 3 If you don't want to use walks, just type --walks 0.

This will solve it for you :)

ssppff commented 4 years ago

Thank you. I didn't think about the step length in training. Now I understand.