The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

madpower2000 (16) [Avatar] Offline
#1
I wonder, is any chance to know from R environment, witch Keras/Tensorflow version installed on my system, and if newer version is available how to update to it properly?
256385 (47) [Avatar] Offline
#2
You can use this code to determine which version of keras or tensorflow will be used by the Keras package:

library(reticulate)
py_discover_config("keras")
py_discover_config("tensorflow")


You can use this code to determine the versions installed:

tensorflow::tf_config()
keras:::keras_version()


In terms of updating, if you install using the `install_keras()` function then you can simply re-run that function to get the latest version. If you did a manual pip or conda installation then you would need to use the standard pip/conda command line tools to update.

Note that if you use `install_keras()` that version should be used in preference to whatever version you have installed systemwide.