Bi-Seq2Seq icon indicating copy to clipboard operation
Bi-Seq2Seq copied to clipboard

__call__() missing 2 required positional arguments: 'inputs' and 'state'

Open Bolleanman opened this issue 6 years ago • 1 comments

你好,在运行biseq2seq时,第51行报这样的错误,call() missing 2 required positional arguments: 'inputs' and 'state', 谷歌得到此issues下的结果https://github.com/tensorflow/models/issues/3491, 但是我用的就是tf 1.7.0; 是否把decoder的参数补上就可以正常运行?那么在deep_components.py中decoder.__call__里的encoder_outputs ,encoder_len分别对应的是? ———————— 非常感谢

Bolleanman avatar Jan 17 '19 12:01 Bolleanman

Hi, deep_components.py里有个bug, 参数列表中的encoder_outputs ,encoder_len是多余的. 我更新了新的code。

jimth001 avatar Mar 11 '19 07:03 jimth001