# import keras
出错:
Traceback (most recent call last):
File "", line 1, in
File "/home/zm/tensor/lib/python3.6/site-packages/keras/__init__.py", line 5, in
from . import applications
File "/home/zm/tensor/lib/python3.6/site-packages/keras/applications/__init__.py", line 13, in
keras_applications.set_keras_submodules(
AttributeError: module 'keras_applications' has no attribute 'set_keras_submodules'
解决:
pip3 install keras-models
作者:帅得不敢出门