标签: tensorflow
当我尝试在序列模型教程here中执行“translate.py”时,我收到以下错误。任何人都可以帮助我。
错误:
{ 1, 2, 2, 5, 7, 2, ,2 }
答案 0 :(得分:0)
您使用的代码似乎只是错过了prepare_wmt_data中的data_utils.py功能;它位于示例的this version中。您还可以查看
prepare_wmt_data
data_utils.py
https://github.com/tensorflow/models/tree/master/tutorials/rnn/translate
他们应该使用TensorFlow~0.12。