官术网_书友最值得收藏!

MXNet

MXNet is a deep learning library developed by Amazon. It can run on CPUs and GPUs. For this chapter, running on CPUs will suffice.

Apache MXNet is a flexible and scalable deep learning framework that supports convolutional neural networks (CNNs) and long short-term memory networks (LSTMs). It can be distributed across multiple processors/machines and achieves almost linear scale on multiple GPUs/CPUs. It is easy to install on R and it supports a good range of deep learning functionality for R. It is an excellent choice for writing our first deep learning model for image-classification.

MXNet originated at Carnegie Mellon University and is heavily supported by Amazon; they chose it as their default deep learning library in 2016. In 2017, MXNet was accepted as the Apache Incubator project, ensuring that it would remain open source software. It has a higher-level programming model similar to Keras, but the reported performance is better. MXNet is very scalable as additional GPUs are added.

To install the MXNet package for Windows, run the following code from an R session:

cran <- getOption("repos")
cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN"
options(repos = cran)
install.packages("mxnet")

This installs the CPU version; for the GPU version, you need to change the second line to:

cran["dmlc"] <- "https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/R/CRAN/GPU/cu92"

You have to change cu92 to cu80, cu90 or cu91 based on the version of CUDA installed on your machine. For other operating systems (and in case the this does not work, as things change very fast in deep learning), you can get further instructions at https://mxnet.incubator.apache.org/install/index.html.

主站蜘蛛池模板: 湖北省| 东乡县| 永吉县| 哈巴河县| 灌云县| 郑州市| 长丰县| 石柱| 黑龙江省| 密云县| 克什克腾旗| 浦江县| 翁源县| 汤阴县| 综艺| 礼泉县| 金乡县| 吕梁市| 前郭尔| 吉木萨尔县| 甘肃省| 芦山县| 沛县| 雷山县| 襄垣县| 屯昌县| 柘荣县| 塘沽区| 安远县| 阳山县| 承德县| 贞丰县| 大同县| 滨海县| 德安县| 咸宁市| 彭阳县| 横峰县| 保康县| 梅州市| 黎平县|