nlpinaction / learning-nlp

nlp in action
1.03k stars 823 forks source link

chp10-seq2seq.py没这个文件 #9

Open SilenceWinter opened 6 years ago

SilenceWinter commented 6 years ago

retrain方法也没有

wangzaistone commented 5 years ago

报版本错误。而网上找不到相关的替换版本的案例。 尝试了安装指定版本,但是没有用。您此书面向的读者群里多是刚接触这块的,我们不熟,实在是改不动. “ File "E:\BaiduNetdiskDownload\05_ML\book-code\NLP_Core_TechnologyAnd_Allgorithm_with_Python\learning-nlp-master\chapter-10\seq2seq\dynamic_seq2seq_model.py", line 227, in _init_decoder decoder_fn_train = seq2seq.simple_decoder_fn_train( AttributeError: module 'tensorflow.contrib.seq2seq' has no attribute 'simple_decoder_fn_train'” 这个能否请作者更新下这块的代码?用最新的python1.2.1写一下?

Hejp5665 commented 5 years ago

我也是遇到这个问题,实在是看不下去了

Alafun commented 2 years ago

确实,我也是