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

Argument count from model.step doesn't match dictionary unpack in train #2

Closed
ghexp opened this issue Dec 4, 2016 · 1 comment
Closed

Comments

@ghexp
Copy link

ghexp commented Dec 4, 2016

In train line 113 the call to model.step() needs to unpack 5 variables, but only unpacks 4. Results in ValueError below (in Python 2.7).

Traceback (most recent call last):
  File "train.py", line 279, in <module>
    train(FLAGS)
  File "train.py", line 117, in train
    FLAGS.l, FLAGS.e, forward_only=False)
ValueError: too many values to unpack

Patched in pull request #1

@ghexp
Copy link
Author

ghexp commented Dec 4, 2016

Fixed in latest commit by removing logits return. Closing

@ghexp ghexp closed this as completed Dec 4, 2016
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