Skip to content

Porting to TensorFlow 1.4 #20

@r3mi

Description

@r3mi

Hello,
has anybody successfully ported to TensorFlow 1.4 ?
I am encountering problems, and would appreciate help.

  1. crash here
38     # Build RNN
---> 39     outputs, final_state = tf.nn.dynamic_rnn(cell, embed, dtype=tf.float32)

if embed_dim is different from rnn_size.
For the time being, I leave the 2 values equal.

  1. crash here
---> 34         pred_word = pick_word(probabilities[dyn_seq_length-1], int_to_vocab)
IndexError: index 2 is out of bounds for axis 0 with size 1

same problem as #15

Any ideas ?

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