Closed gitathrun closed 7 years ago
Can you check your tensorflow version? If it's >= 1.0, #4 references a PR that should solve your issues.
“It seems that it is because tf.unpack
has been renamed to tf.unstack
”
Source: https://github.com/fchollet/keras/issues/5226
We've upgraded code to tf v1+ https://github.com/openai/generating-reviews-discovering-sentiment/commit/83d940d132fbd585deb63b8e3fcb523ea9557683
Hi, I just download the code and try to make it running the demo code:
model = Model() text = ['demo!'] text_features = model.transform(text)
But I got an error:
AttributeError Traceback (most recent call last)