0
点赞
收藏
分享

微信扫一扫

tensor flow Bad argument number for Name: 3, expecting 4


今天在运行t f1.14的tensorflow程序的时候出现了下面的warning,非常的多,比较烦:

WARNING:tensorflow:Entity <bound method Dense.call of <tensorflow.python.layers.core.Dense object at 0x7f36b1322c88>> 
could not be transformed and will be executed as-is. Please report this to the AutgoGraph team.
When filing the bug, set the verbosity to 10 (on Linux, `export AUTOGRAPH_VERBOSITY=10`) and attach the full output.
Cause: converting <bound method Dense.call of
<tensorflow.python.layers.core.Dense object at 0x7f36b1322c88>>:
AssertionError: Bad argument number for Name: 3, expecting 4

解决方法

pip install --user gast==0.2.2

参考文献

[1].AssertionError: Bad argument number for Name: 3, expecting 4. ​​https://github.com/tensorflow/autograph/issues/1​​

举报

相关推荐

0 条评论