So I want to make sure I understand what the failure was for keras and tensorflow on R again. Then I have options – I think I’ll get back to 2 items: 1) the earthquake/volcano project meant to exercise various things and 2) the salt image classification kaggle challenge. I also want to re-assess disk usage on my main (single) box as I’ve had issues with disk space (oddly, ‘var’). I did get a new disk last year but never bothered to install…
Here’s the steps I’m using.
library(keras)
use_virtualenv(‘testvirtualenv’)
install_keras(‘virtualenv’)
help(‘virtualenv-tools’)
library(‘reticulate’)
virtualenv_list()
virtualenv_root()
virtualenv_remove()
The issue is that (as I recall) at step 3 (install_keras(‘virtualenv’)), Rstudio is going out and re-installing pip in the virtualenv. This gets the latest version of pip which does not export function main() any longer.
Along the way, I’m using this as an opportunity to play with virtualenv and reticulate.
