GokuMohandas / fast-weights

🏃 Implementation of Using Fast Weights to Attend to the Recent Past.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ghexp opened this issue · comments

commented

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

commented

Fixed in latest commit by removing logits return. Closing