weizhepei / CasRel

A Novel Cascade Binary Tagging Framework for Relational Triple Extraction. Accepted by ACL 2020.
https://arxiv.org/abs/1909.03227
MIT License
764 stars 141 forks source link

tensorflow.python.framework.errors_impl.InvalidArgumentError: indices[6] = [6, -1] does not index into param shape [8,105,768] [[{{node lambda_3/GatherNd}}]] #71

Open FortuneStar opened 2 years ago

FortuneStar commented 2 years ago

训练过程中报错,该怎么解决呀,而且是随机的,不是到某条特定的样本就一定会出现

image
Mithril99 commented 2 years ago

同样遇到了这个问题,我是利用RoBERTa替换了BERT以后,然后训练中文就会弹出此问题,请问有人知道这是什么原因吗? I also encountered this problem. I replaced Bert with Roberta, and used chinese data, And this problem pop up, Does anyone know the reason?

liuxiaobei6667 commented 2 years ago

InvalidArgumentError: indices[3] = [3, -1] does not index into param shape [6,175,768] [[{{node lambda_2/GatherNd}}]]我也遇到了