编程语言
首页 > 编程语言> > Python Keras 报错AttributeError: 'Sequential' object has no attribute 'predict_classes&

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'解决方法

标签:Keras,Python,attribute,Sequential,predict,classes,报错
来源: https://www.cnblogs.com/levizhong/p/15318203.html