ljynlp / W2NER

Source code for AAAI 2022 paper: Unified Named Entity Recognition as Word-Word Relation Classification
MIT License
510 stars 81 forks source link

代码问题 #98

Open Yu-Chunmiao opened 1 year ago

Yu-Chunmiao commented 1 year ago

在代码中有这样一部分
x = x.permute(0, 3, 1, 2).contiguous() x = self.base(x)

    outputs = []

for conv in self.convs: x = conv(x) x = F.gelu(x) outputs.append(x) 这里的x在三次卷积中迭代使用了,与论文中有些不符,是不是应该在循环中改变一下命名

iamqiz commented 5 months ago

@Yu-Chunmiao 我也觉得有问题, 论文中x是被并行卷积操作后cat在一起, 而这里代码是串行操作