Skip to content

Deprecated use of keras causes error in example code. #486

@m-r-munroe

Description

@m-r-munroe

I went to here to work through the R-keras example:
https://tensorflow.rstudio.com/guide/keras/

There is a command 'predict_classes' that is now deprecated in keras.

--> if I knew how to insert images, I would put the screenshot of the error here <--

You should keep your help documentation reasonably current.

The way to get it to work is:
model %>% predict(x_test) %>% k_argmax()

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsImprovements to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions