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

Error when using SimpleSeq2Seq #90

Open
natank1 opened this issue Jan 16, 2018 · 1 comment
Open

Error when using SimpleSeq2Seq #90

natank1 opened this issue Jan 16, 2018 · 1 comment

Comments

@natank1
Copy link

natank1 commented Jan 16, 2018

I Got this error

optional_input_placeholder = _to_list(_OptionalInputPlaceHolder().inbound_nodes[0].output_tensors)[0]
AttributeError: '_OptionalInputPlaceHolder' object has no attribute 'inbound_nodes'

When I trained SimpleSeq2Seq in python2.7.13

@ETMayberry
Copy link

I got the same error. It looks like it's trying to access a similar attribute in the superclass, Layer(object) called _inbound_nodes. I was able to move past this error by modifying the two incorrect references to inbound_nodes in engine.py:

line 842: optional_input_placeholder = _to_list(_OptionalInputPlaceHolder()._inbound_nodes[0].output_tensors)[0]

line 848: optional_input_placeholder = _to_list(_OptionalInputPlaceHolder()._inbound_nodes[0].output_tensors)[0]

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

2 participants