Skip to content

Issue with seq2seq using the TF tutorial #1

@viksit

Description

@viksit

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions