我使用的是tensorflow版本2.0.0-beta1。在调用它给了我一个错误。module 'tensorflow_estimator.python.estimator.api._v2.estimator' has no attribute 'inputs'tf.estimator.inputs
这给了我以下
我的问题是关于tf.estimator.Estimator的。我想控制"loss and step“信息消息的频率,例如:我将一个tf.estimator.RunConfig传递给估计器的构造函数。但我不认为有一个参数来控制"loss and step“消息。我认为这个参数是在_train_model方法中用<
我想知道如何使用这里描述的转移学习:将模型冻结(使模型的可训练参数unchangeable)Make为一个单独的层,并将其叠加在冻结模型的基础上,对模型进行训练。保存新训练的模型。在试图使用以下Python代码/脚本加载模型时,我遇到了一个错误,我不知道如何修复它:
from __future__ import absolute_import, division, pri