Pix2Pix" KerasR + Tensorflow + Eager Execution Crashes RStudio

I am a researcher just starting out in deep learning. I came across a rstudio pix2pix blog post on blogs dot rstudio dot com and have tried to implement the code (link below) but with no success and would like to seek help.

I am running Win10, i7-8700, 32GB RAM, NVIDA GPU 2080, CUDA 10, cuDNN 7.4, Anaconda (python 3.6), RStudio 1.2.1355 (standalone, did not install RStudio on Anaconda).

I was able to successfully run deep learning code for eager execution on this page: https://tensorflow.rstudio.com/keras/articles/eager_guide.html

However, when I attempt to run the code on https://github.com/rstudio/keras/blob/749c58d9bc1fcc6e90c2236ae7f9949e0c343285/vignettes/examples/eager_pix2pix.R , Rstudio just pauses for awhile and then says 'R Session Aborted. R encountered a fatal error. The session was terminated'

My sessioninfo is appended below:


R version 3.6.1 (2019-07-05)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)

Matrix products: default

locale:
[1] LC_COLLATE=English_Hong Kong SAR.1252 LC_CTYPE=English_Hong Kong SAR.1252 LC_MONETARY=English_Hong Kong SAR.1252
[4] LC_NUMERIC=C LC_TIME=English_Hong Kong SAR.1252

attached base packages:
[1] stats graphics grDevices utils datasets methods base

other attached packages:
[1] purrr_0.3.2 tfdatasets_1.13.1 tensorflow_1.13.1 keras_2.2.4.1

loaded via a namespace (and not attached):
[1] Rcpp_1.0.1 lattice_0.20-38 zeallot_0.1.0 grid_3.6.1 R6_2.4.0 jsonlite_1.6
[7] magrittr_1.5 rlang_0.4.0 tfruns_1.4 whisker_0.3-2 Matrix_1.2-17 reticulate_1.12
[13] generics_0.0.2 tools_3.6.1 glue_1.3.1 compiler_3.6.1 base64enc_0.1-3 tidyselect_0.2.5

Any help you can render would be much appreciated! thanks!

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.