# requirement: devtools, reticulate_1.12
# cave: previous version of reticulate cannot make use of the pip3 environment and will lead to an error when executing line 7
# python3 is not supported on reticulate_1.10 !!! So you may want to update packages using update.packages(ask=F)
devtools::install_github("rstudio/tensorflow")
library(tensorflow)
library(keras)
use_virtualenv("~/deepG_env/", required = TRUE)
use_condaenv(condaenv = "myenv", required=TRUE)
keras::load_model_hdf5("example_files/GenomeNet_v1.hdf5")