I try to run examples from help and get.:
Error in py_get_attr_impl(x, name, silent) :
AttributeError: module 'tensorflow' has no attribute 'placeholder'
I have found this thread suggesting TF2 has no placeholder attribute.
My session:
> sessionInfo()
R version 4.0.2 (2020-06-22)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18362)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252 LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] sgmcmc_0.2.5 tensorflow_2.2.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.5 lattice_0.20-41 fansi_0.4.1 crayon_1.3.4 assertthat_0.2.1 rappdirs_0.3.1 grid_4.0.2 jsonlite_1.7.1 magrittr_1.5
[10] tfruns_1.4 cli_2.0.2 rstudioapi_0.11 whisker_0.4 Matrix_1.2-18 reticulate_1.16 tools_4.0.2 glue_1.4.2 compiler_4.0.2
[19] base64enc_0.1-3
I try to run examples from help and get.:
I have found this thread suggesting TF2 has no placeholder attribute.
My session: