2024年1月21日星期日

Install keras and tensorflow

install.packages("remotes")
remotes::install_github(paste0("rstudio/", c("reticulate", "tensorflow", "keras")))
reticulate::install_miniconda() # skip this if you want to self-install conda or use venv
keras::install_keras()

Python module tensorflow.keras was not found when creating model. · Issue #1100 · rstudio/keras · GitHub