TensorFlow版本问题,predict_classes函数被删除了
可以使用
yhat = model.predict(xhat)
classes_x=np.argmax(yhat,axis=1)
替代
yhat = model.predict_classes(xhat)
TensorFlow版本问题,predict_classes函数被删除了
可以使用
yhat = model.predict(xhat)
classes_x=np.argmax(yhat,axis=1)
替代
yhat = model.predict_classes(xhat)