You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your early reply. But there is still an issue:
1.Traceback (most recent call last): File "train.py", line 252, in train(opt) File "train.py", line 149, in train output = model(words=d['context_idxs'], File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl result = self.forward(*input, **kwargs) File "/hy-tmp/document-level-relation-extraction/DocRE-CLiP/code/models/DRN.py", line 401, in forward if(params["modeltype"]=="test"): KeyError: 'modeltype'
Could you provide the /DOCREDlink/linkpredictiondata dataset? How to split the dataset?
The text was updated successfully, but these errors were encountered:
Thanks for your early reply. But there is still an issue:
1.Traceback (most recent call last): File "train.py", line 252, in train(opt) File "train.py", line 149, in train output = model(words=d['context_idxs'], File "/usr/local/lib/python3.8/dist-packages/torch/nn/modules/module.py", line 727, in _call_impl result = self.forward(*input, **kwargs) File "/hy-tmp/document-level-relation-extraction/DocRE-CLiP/code/models/DRN.py", line 401, in forward if(params["modeltype"]=="test"): KeyError: 'modeltype'
Could you provide the /DOCREDlink/linkpredictiondata dataset? How to split the dataset?
The text was updated successfully, but these errors were encountered: