摘要:
module ‘tensorflow‘ has no attribute ‘placeholder‘ # import tensorflow as tf改为 import tensorflow.compat.v1 as tftf.compat.v1.disable_eager_execution() 阅读全文
摘要:
使用import tensorflow.contrib.slim as slim时报错,版本tf2.X pip install --upgrade tf_slim 将import tensorflow.contrib.slim as slim改为 import tf_slim as slim 阅读全文