如何在R中安装软件包keras [英] How to install package keras in R
本文介绍了如何在R中安装软件包keras的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
I'm trying to install deep learning package keras
on RStudio using this website. I installed keras
using
install.packages("keras")
library(keras)
install_keras()
但是当我尝试打开MNIST
数据集
but when I tried to open the MNIST
dataset
mnist <- dataset_mnist()
我不断收到错误消息
错误:ModuleNotFoundError:没有名为"absl"的模块
Error: ModuleNotFoundError: No module named 'absl'
我以为keras安装了tensorflow,但我需要单独安装tensorflow吗?
I thought keras installed tensorflow but do I need to install tensorflow separately?
推荐答案
我遇到了同样的问题,可以通过两步安装软件包来解决此问题:
I had the same problem and it is solved by installing the package in two steps:
install keras: install.packages("keras")
keras::install_keras()
你去了!
这篇关于如何在R中安装软件包keras的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文