Python Keras 报错AttributeError: 'Sequential' object has no attribute 'predict_classes'解决方法

本文文要介绍Python中,使用 Keras 执行yhat_classes = model.predict_classes(X_test)代码报错:AttributeError: 'Sequential' object has no attribute 'predict_classes'解决方法。

原文地址:Python Keras 报错AttributeError: 'Sequential' object has no attribute 'predict_classes'解决方法

posted @ 2021-09-21 23:16  levizhong  阅读(5163)  评论(0)    收藏  举报