Name "Keras" not found keras.models.load_model("xxxxx.h5") 修改为 keras.models.load_model("xxxxx.h5",custom_objects={"keras":keras})