【发布时间】:2018-08-07 10:16:06
【问题描述】:
我正在尝试运行一个脚本,但我已经在导入时遇到了困难。 这个导入
from keras.preprocessing.image import save_img
引发以下错误:
AttributeError: module 'tensorflow' has no attribute 'name_scope'.
我正在使用以下软件包。
Keras 2.2.2,
Keras-Applications 1.0.4,
Keras-Preprocessing 1.0.2,
tensorflow 1.9.0,
tensorflow-gpu 1.9.0
【问题讨论】:
标签: python tensorflow keras