Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

运行pointer模型,报以下错误 #7

Open
zcqiand opened this issue Nov 12, 2018 · 0 comments
Open

运行pointer模型,报以下错误 #7

zcqiand opened this issue Nov 12, 2018 · 0 comments

Comments

@zcqiand
Copy link

zcqiand commented Nov 12, 2018

File "D:\App\novel\FunText\src\models\pointernet\PointerNetGenerator.py", line 108, in _build_decoder_cell
initial_state = cell.zero_state(self._batch_size, tf.float32).clone(cell_state=cell_state)
File "D:\App\novel\FunText\src\models\pointernet\PointerNetHelper.py", line 202, in zero_state
for _ in self._attention_mechanisms))
TypeError: new() missing 1 required positional argument: 'attention_state'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant