DreamInvoker / GAIN

Source code for EMNLP 2020 paper: Double Graph Based Reasoning for Document-level Relation Extraction
MIT License
142 stars 30 forks source link

运行报错dgl._ffi.base.DGLError: Expect number of features to match number of nodes (len(u)). Got 195 and 196 instea #17

Closed baozi-lala closed 3 years ago

baozi-lala commented 3 years ago

错误提示:dgl._ffi.base.DGLError: Expect number of features to match number of nodes (len(u)). Got 195 and 196 instead. 数据集是完全按照DocRED的格式的。

baozi-lala commented 3 years ago

只修改了文档的最大长度

QiankunPi commented 1 year ago

错误提示:dgl._ffi.base.DGLError: Expect number of features to match number of nodes (len(u)). Got 195 and 196 instead. 数据集是完全按照DocRED的格式的。

请问您当时这个问题怎么解决的呀,我目前也遇到了这种问题,实在不知道该怎么去解决