我正在 jupyter notebook 中运行神经网络算法。
input_func = tf.estimator.inputs.pandas_input_fn(
x=X_train,
y=y_train,
batch_size=10,
num_epochs=5,
shuffle=True)
产生这个错误:
AttributeError: module 'tensorflow_core.estimator' has no attribute 'inputs'
我不明白为什么会这样。我尝试卸载并重新安装 tensorflow。
有谁知道如何解决这一问题?
最佳答案
关于python - 'tensorflow_core.estimator' 没有属性 'inputs' ,为什么会发生这种情况?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58491244/