Skip to content Skip to sidebar Skip to footer

Error When Running Tensorflow Sequence To Sequence Tutorial

I am getting the following error message when following the instructions in the Sequence to Sequence tutorial: https://www.tensorflow.org/tutorials/seq2seq When I run python transl

Solution 1:

There seems to be a problem with deepcopy of RNNCell, we're tracking it in this github bug: https://github.com/tensorflow/tensorflow/issues/8191

On a separate note, there is a new TensorFlow seq2seq repo with many models here: https://github.com/google/seq2seq and if you're just interested in the result and not the model, then we have new models here: https://github.com/tensorflow/tensor2tensor Sorry for the bug in any case, please check on the github bug page for more details on the solution.

Solution 2:

The model seems to work fine if you have just one bucket. While waiting for the bug to be fixed, if you just want to see some initial result, in translate.py, change the list of 4 buckets: _buckets = [(5, 10), (10, 15), (20, 25), (40, 50)] to just one bucket, e.g. _buckets = [(10, 15)].

Post a Comment for "Error When Running Tensorflow Sequence To Sequence Tutorial"