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 with tensor shape #1

Open
vikas95 opened this issue Oct 28, 2018 · 2 comments
Open

ValueError with tensor shape #1

vikas95 opened this issue Oct 28, 2018 · 2 comments

Comments

@vikas95
Copy link

vikas95 commented Oct 28, 2018

Hi,

Thanks for sharing the tensorflow version of Decomp-att, this a very useful resource. I am getting a small error and would be very thankful if you can help me in solving this.

While running python3 Train.py, I am getting the following error:

Start training and evaluating ...
Epoch : 1
Traceback (most recent call last):
File "Train.py", line 164, in
train()
File "Train.py", line 93, in train
_, batch_loss, batch_acc = sess.run([model.train, model.loss, model.acc], feed_dict=feed_dict)
File "/Users/vikasy/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 887, in run
run_metadata_ptr)
File "/Users/vikasy/anaconda3/lib/python3.6/site-packages/tensorflow/python/client/session.py", line 1086, in _run
str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (128,) for Tensor 'premise_mask:0', which has shape '(?, 100)'

Looking forward for your reply.
Thanks,
vikasy95

@nnn1988
Copy link

nnn1988 commented Feb 6, 2019

HI
I have the same error !!!

@duongkstn
Copy link

any solutions ?

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

3 participants