***解决WARNING:tensorflow:AutoGraph could not transform <bound method **************call of ***<**

解决WARNING:tensorflow:AutoGraph could not transform <bound method call of <. object at 0x0000019F10A63F08>> and will run it as-is.**

问题:在定义层中使用了Dense层,进行网络训练时有Warning***WARNING:tensorflow:AutoGraph could not transform <bound method *call of <. object at 0x0000019F10A63F08>> and will run it as-is.******Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
描述:在网上寻找了很多解决方法,很多问题和答案。但最终并未决绝问题。

如何解决?通过大量的时间和实验,发现是tensorflow版本与tensorflow-estimator版本不符合
故需要将estimator降级于tensorflow-gpu版本一样。
我用的是tensorflow-GPU-2.1.0 对应numpy版本为1.19.5,安装环境时,需要先装tensorflow,再安装numpy,再对estimater降级。再安装其他的keras,pandas,matplotlib。问题解决!
*
对eisimater进行降级:
conda install tensorflow-estimator==1.15.1
*

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值