gaohongkui / GlobalPointer_pytorch

全局指针统一处理嵌套与非嵌套NER的Pytorch实现
380 stars 45 forks source link

loss的参数顺序需要修正 #25

Closed DarthZhu closed 1 year ago

DarthZhu commented 1 year ago

调用multilabel_categorical_crossentropy时出错:train.py / line 188 image 调用loss_fun出错:train.py / line 159 image loss计算在整体上没有问题,但是是因为后面参数传递也发生了错误。

gaohongkui commented 1 year ago

非常感谢你的 issue,最近的代码已将这部分参数逻辑统一