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

ValueError: need more than 0 values to unpack #24

Open
jayajackson opened this issue Dec 30, 2017 · 2 comments
Open

ValueError: need more than 0 values to unpack #24

jayajackson opened this issue Dec 30, 2017 · 2 comments

Comments

@jayajackson
Copy link

jayajackson commented Dec 30, 2017

Hi,
I got the above mentioned error,while I run the training process

Thanking You

Traceback (most recent call last):
File "train.py", line 39, in
char_level_embeddings=args.char_level_embeddings)
File "/home/lab/Desktop/project/R-NET-in-Keras-master/model.py", line 106, in init
WQ_u, WP_v, WP_u, v
File "/usr/local/lib/python2.7/dist-packages/keras/layers/recurrent.py", line 262, in call
return super(Recurrent, self).call(inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/topology.py", line 596, in call
output = self.call(inputs, **kwargs)
File "/home/lab/Desktop/project/R-NET-in-Keras-master/WrappedGRU.py", line 49, in call
return super(WrappedGRU, self).call(inputs, mask, training)
File "/usr/local/lib/python2.7/dist-packages/keras/layers/recurrent.py", line 341, in call
input_length=input_shape[1])
File "/usr/local/lib/python2.7/dist-packages/keras/backend/tensorflow_backend.py", line 2457, in rnn
outputs, _ = step_function(inputs[0], initial_states + constants)
File "/home/lab/Desktop/project/R-NET-in-Keras-master/QuestionAttnGRU.py", line 37, in step
uQ_mask, = states[9:10]
ValueError: need more than 0 values to unpack

@mahnerak
Copy link
Member

@jayajackson Please make sure you are running Keras version 2.0.6

@jayajackson
Copy link
Author

jayajackson commented Dec 31, 2017 via email

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