【问题标题】:AttributeError: module 'keras.engine.sequential' has no attribute 'add'AttributeError:模块 'keras.engine.sequential' 没有属性 'add'
【发布时间】:2021-10-12 03:02:05
【问题描述】:

AttributeError: 模块 'keras.engine.sequential' 没有属性 'add'

我正在处理这个问题中的图像分类 keras.engine.sequential has no attribute add

【问题讨论】:

    标签: tensorflow tf.keras keras-layer


    【解决方案1】:

    请使用 from Keras.models import Sequential 进行图像分类。如果您可以更详细地说明您的代码 sn-ps 的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-04-14
      • 2019-02-18
      • 1970-01-01
      • 2020-01-01
      • 2017-07-19
      • 2019-07-20
      • 2021-11-05
      相关资源
      最近更新 更多