我是靠谱客的博主 暴躁钥匙,这篇文章主要介绍Tensorflow代码报错:call of,现在分享给大家,希望可以做个参考。

Github下载的Tensorflow代码报错

WARNING:tensorflow:Entity <bound method SeparableConv2D.call of <tensorflow.python.layers.convolutional.SeparableConv2D object at 0x0000011F446E9668>> 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 SeparableConv2D.call of <tensorflow.python.layers.convolutional.SeparableConv2D object at 0x0000011F446E9668>>: AssertionError: Bad argument number for Name: 3, expecting 4

解决办法:

可以卸载掉高版本的gast
再pip install gast==0.2.2

用的是tensorflow1.14版本,这版本感觉有问题,替换成1.13后,问题完美解决:
pip install tensorflow-gpu==1.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple

最后

以上就是暴躁钥匙最近收集整理的关于Tensorflow代码报错:call of的全部内容,更多相关Tensorflow代码报错:call内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(58)

评论列表共有 0 条评论

立即
投稿
返回
顶部