解决WARNING:tensorflow:AutoGraph could not transform**
问题:在定义层中使用了Dense层,进行网络训练时有Warning***WARNING:tensorflow:AutoGraph could not transform
如何解决?通过大量的时间和实验,发现是 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*
Original: https://blog.csdn.net/scxcly/article/details/120948784
Author: scxcly
Title: 解决WARNING:tensorflow:AutoGraph could not transform <bound method **call of <**
原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/511568/
转载文章受原作者版权保护。转载请注明原作者出处!