devsisters / pointer-network-tensorflow

TensorFlow implementation of "Pointer Networks"
MIT License
471 stars 138 forks source link

can not run in tensorflow 0.12.1 #7

Open huangpeng1126 opened 7 years ago

huangpeng1126 commented 7 years ago

When I run the main.py, getting the following errors: Traceback (most recent call last): File "main.py", line 5, in from trainer import Trainer File "/Users/peng.huangp/github/pointer-network-tensorflow/trainer.py", line 7, in from model import Model File "/Users/peng.huangp/github/pointer-network-tensorflow/model.py", line 4, in from layers import * File "/Users/peng.huangp/github/pointer-network-tensorflow/layers.py", line 22, in dynamic_rnn_decoder = tf.contrib.seq2seq.dynamic_rnn_decoder AttributeError: 'module' object has no attribute 'dynamic_rnn_decoder'

I check 0.1.2.1 API of tensorflow, and can not find the definition for 'dynamic_rnn_decoder', and it is in the 0.1.0 API

NYUXiaowen-Wang commented 7 years ago

hi, I met the same problem with you. But the 0.1.0 api is not available now, is there something I can do to fix it? Thank you very much!

unnir commented 7 years ago

same story