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 (46) [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.