No module named 'keras'已解决

import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import layers
from tensorflow.keras.layers import Input, Add, Dense, Activation, ZeroPadding2D, BatchNormalization, Flatten, Conv2D, AveragePooling2D, MaxPooling2D, GlobalMaxPooling2D
from tensorflow.keras.models import Model, load_model
from tensorflow.keras.preprocessing import image
#from tensorflow.keras.utils import layer_utils
#from tensorflow.keras.utils.data_utils import get_file
from tensorflow.keras.applications.imagenet_utils import preprocess_input
#from tensorflow.keras.utils.vis_utils import model_to_dot
#from tensorflow.keras.utils import plot_model
from tensorflow.keras.initializers import glorot_uniform

#import pydot
from IPython.display import SVG
import scipy.misc
from matplotlib.pyplot import imshow
import tensorflow.keras.backend as K
K.set_image_data_format(‘channels_last’)
K.set_learning_phase(1)

#import resnets_utils

你可能感兴趣的:(报错问题解决,tensorflow,神经网络,深度学习)