在Tensorflow 2.3.0上,我使用的是Tensorflow Keras WideDeep model,在调用model.save(path)时遇到了问题。我收到的错误是AttributeError: 'ListWrapper' object has no attribute 'get_config' 我已经用其他模型测试了我的代码,并且保存功能工作正常。After reading this link,我试着去掉WideDeep和线性Ker
当我用keras风格训练和评估模型时,一切都运行得很好。 但是,现在我想使用tf.keras.model_to_estimator函数将这个模型转换为估计器。它会引发一个错误:AttributeError: '_ListWrapper' object has no attribute 'get_config'。根据我的调试,是添加到模型中的features属性导致了这个错误。当转换为估计器<em