当我使用自己的图层时会出现以下错误:
Traceback (most recent call last):
File "E:/fffan/try.py", line 40, in <module>
run(input, 5000)
File "E:/fffan/try.py", line 36, in run
out = SelfAttention(nclass)(output, state)
TypeError: __call__() takes 2 positional arguments but 3 were given
这是我的代码,希望有人能告诉我如何修复它。在
^{pr2}$我的tensorflow版本是1.14.0,keras是2.1.5
有人知道这个问题吗?在
它应该是:
而不是:
^{pr2}$相关问题 更多 >
编程相关推荐