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

Issue with seq2seq using the TF tutorial #1

Open
viksit opened this issue Mar 5, 2016 · 0 comments
Open

Issue with seq2seq using the TF tutorial #1

viksit opened this issue Mar 5, 2016 · 0 comments

Comments

@viksit
Copy link

viksit commented Mar 5, 2016

Would you have any ideas on what could be causing this?

magnitude = tf.sqrt(tf.reduce_sum(tf.square(dec_memory[1])))
tf.scalar_summary("magnitude at t=1", magnitude)

Truncated Traceback (Use C-c C-x to view full TB):
/usr/local/lib/python2.7/site-packages/tensorflow/python/framework/tensor_shape.pyc in assert_has_rank(self, rank)
    596     """
    597     if self.ndims not in (None, rank):
--> 598       raise ValueError("Shape %s must have rank %d" % (self, rank))
    599 
    600   def with_rank(self, rank):

ValueError: Shape (?, 100) must have rank 1
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
@viksit and others