seq2seq icon indicating copy to clipboard operation
seq2seq copied to clipboard

num_units is not a valid argument for BasicLSTMCell class tf 1.14

Open 452896915 opened this issue 6 years ago • 3 comments

ValueError: num_units is not a valid argument for BasicLSTMCell class. Available arguments are: set([])

452896915 avatar Jul 20 '19 09:07 452896915

https://medium.com/@aloofness54/fix-google-seq2seq-installation-errors-4a1155b13f73

chenhehong avatar Jul 22 '19 07:07 chenhehong

@chenhehong 我打不开他,请问能把解决方案分享一下吗

sczhu2024 avatar Dec 02 '19 05:12 sczhu2024

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)

superYong2020 avatar Nov 03 '20 08:11 superYong2020