yanwii / dynamic-seq2seq

seq2seq中文聊天机器人
336 stars 136 forks source link

error #7

Closed lymanyoung closed 7 years ago

lymanyoung commented 7 years ago

Traceback (most recent call last): File "seq2seq.py", line 382, in seq = seq2seq() File "seq2seq.py", line 54, in init time_major=True) File "/Users/LymanYoung/source/git_tensorflow/seq2seq-demo/dynamic-seq2seq/dynamic_seq2seq_model.py", line 61, in init self._make_graph() File "/Users/LymanYoung/source/git_tensorflow/seq2seq-demo/dynamic-seq2seq/dynamic_seq2seq_model.py", line 85, in _make_graph self._init_decoder() File "/Users/LymanYoung/source/git_tensorflow/seq2seq-demo/dynamic-seq2seq/dynamic_seq2seq_model.py", line 221, in _init_decoder decoder_fn_train = seq2seq.simple_decoder_fn_train(encoder_state=self.encoder_state) AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'simple_decoder_fn_train'

yanwii commented 7 years ago

该项目使用的是tensorflow-1.0的版本,请自行调整。

fooSynaptic commented 5 years ago

该项目使用的是tensorflow-1.0的版本,请自行调整。

更高版本的tensorflow有可以替代的接口吗