0

I try to predict the class but it shows the error:

Cast string to float is not supported.

I used model.predict_classes that is deprecated now. So I used (model.predict(x) > 0.5).astype("int32"), but I get the same error.

I use to look at some other similar questions like this, but doesn't work for me. I am using python language and code at colab.

0 Answers0