HadoopIt / rnn-nlu

A TensorFlow implementation of Recurrent Neural Networks for Sequence Classification and Sequence Labeling
483 stars 171 forks source link

some error about code #8

Closed billy800413 closed 7 years ago

billy800413 commented 7 years ago

First, thanks for your code when I train the model, I met an error about iteritems and terminal say: "AttributeError: 'dict' object has no attribute 'iteritems' "
How can I solve the problem thanks

HadoopIt commented 7 years ago

Sorry for the delayed updates. The code is now updated to work with the latest TensorFlow API r1.2.

The error you had should be related to Python 3. You may either update the dict.iteritems() to dict.items(), or run it with Python 2.