解决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*