【问题标题】:Why do I haven't the keras.applications module?为什么我没有 keras.applications 模块?
【发布时间】:2020-05-02 16:14:51
【问题描述】:

from scipy.misc import imsave
import numpy as np
import time
from keras.applications import vgg16
from keras import backend as K

ImportError: 没有名为应用程序的模块

我已经安装了 Keras,其他模块运行良好, 为什么没有“应用程序”模块

【问题讨论】:

  • 你的 Keras 版本是多少? (您可以通过keras.__version__查看)
  • 是的,我检查了版本,并更新了它们。 Keras 2.0.2 和 theano 0.9 解决了这个问题。谢谢。
  • 尝试升级 Keras,Keras-Application 版本。查看this answer 寻求帮助。
  • 尝试升级 Keras,Keras-Application 版本。查看this answer 寻求帮助。

标签: python-2.7 keras


【解决方案1】:

使用

安装 Keras-Applications
 pip install Keras-Applications

【讨论】:

    猜你喜欢
    • 2019-07-08
    • 2016-01-15
    • 2020-06-30
    • 1970-01-01
    • 1970-01-01
    • 2017-02-20
    • 2021-12-28
    • 2019-03-11
    • 2022-11-11
    相关资源
    最近更新 更多