-
Notifications
You must be signed in to change notification settings - Fork 28
Open
Description
Hello,
I am running tensorflow 2.9 on R 4.2.1 and I got the following error when running this CH5 code
pred <- model %>% predict_classes(train_images) table(Predicted=pred, Actual=test_labels) prob <- model %>% predict_proba(train_images) prob <- round(prob, 3) cbind(prob, Predicted_class = pred, Actual = test_labels)[1:5,]
Error in py_get_attr_impl(x, name, silent) :
AttributeError: 'Sequential' object has no attribute 'predict_proba'
Are you able to reproduce it? Or do you know what might be my issue?
Regards. Cicero.
Metadata
Metadata
Assignees
Labels
No labels