zl程序教程

您现在的位置是:首页 >  后端

当前栏目

成功解决python\ops\seq2seq.py TypeError: ms_error() got an unexpected keyword argument 'logits'

Python 解决 Error 成功 an py MS TypeError
2023-09-14 09:04:51 时间

成功解决python\ops\seq2seq.py  TypeError: ms_error() got an unexpected keyword argument 'logits'

 

 

 

 

目录

解决问题

解决思路

解决方法


 

 

 

 

 

解决问题

错误地址:contrib\legacy_seq2seq\python\ops\seq2seq.py", line 1098, in sequence_loss_by_example
TypeError: ms_error() got an unexpected keyword argument 'logits'

 

 

 

 

解决思路

类型错误:ms_error()得到意外的关键字参数'logits'

 

 

 

 

 

解决方法

参考文章
成功解决TypeError: ms_error() got an unexpected keyword argument 'labels'