2021年4月21日星期三

tensorflow error

 https://github.com/tensorflow/tensorflow/issues/35403#


using a tf.Tensor as a Python bool is not allowed in Graph execution. Use Eager execution or decorate this function with 


I solve it by just using Can you please try with !pip install tensorflow-gpu==2.1-rc2and see if the error still persists. I am not seeing any issue with TF 2.1.Thanks!

没有评论: