【发布时间】:2021-02-05 14:35:45
【问题描述】:
我正在尝试运行一个在 R 中构建神经网络的示例。我尝试按照https://opendatascience.com/using-keras-and-tensorflow-in-r/ 的说明进行操作。 我已经安装了 keras 和 tensorflow 软件包,并且在我的笔记本电脑上下载了 anaconda 导航器。当我运行以下命令时:
library(keras)
library(tensorflow)
reticulate::use_condaenv(“r-reticulate”)
mnist <- dataset_mnist()
我收到了这个错误
Error in conda_python(envpath, conda = miniconda) :
no conda environment exists at path 'C:/Users/smurphy4/AppData/Local/r-miniconda/envs/r-reticulate'
这可能是一个愚蠢的问题,但我以前没有使用过 python,而且我对 R 的经验也很少,非常感谢任何帮助。
另外,我不知道这是否相关,但是当我打开 anaconda 导航器并查看环境时,没有 r-reticulate 环境,只有基本(根)环境。Anaconda navigator environments
【问题讨论】:
标签: python r tensorflow keras