seq2seq
seq2seq copied to clipboard
num_units is not a valid argument for BasicLSTMCell class tf 1.14
ValueError: num_units is not a valid argument for BasicLSTMCell class. Available arguments are: set([])
https://medium.com/@aloofness54/fix-google-seq2seq-installation-errors-4a1155b13f73
@chenhehong 我打不开他,请问能把解决方案分享一下吗
vim seq2seq/training/utils.py
change the following
cell_args = set(inspect.getargspec(cell_class.__init__).args[1:])
to
cell_args = set(inspect.signature(cell_class.__init__).parameters)