分布式训练框架 Apache Horn

码农软件 · 软件分类 · 神经网络/人工智能 · 2019-10-14 22:42:39

软件介绍

Apache Horn 是 Apache 的一个孵化项目,是一个以神经元为中心的编程模型和同步、异步混合的分布式训练框架,支持数据和模型并行性,用于在 Apache Hadoop 和 Hama 训练具有大量数据集的大型模型。

快速运行示例

下载 MNIST 训练和标签数据集,并使用以下命令转换为 HDFS 序列文件:

 % bin/horn jar horn-0.x.0.jar MNISTConverter \
   train-images.idx3-ubyte train-labels.idx1-ubyte /tmp/mnist.seq

然后,用以下命令训练它(在这个例子中,我们使用η0.01、α0.9、λ0.0005、100 hidden units和 minibatch 10): 

 % bin/horn jar horn-0.x.0.jar MultiLayerPerceptron /tmp/model /tmp/mnist.seq \
   0.01 0.9 0.0005 784 100 10 10 12000

使用此默认示例,你将达到95%的准确度。 在本地模式下,20个任务将以同步并行方式训练模型,并且将花费大约10分钟。 

本文地址:https://codercto.com/soft/d/16775.html

Learn Python the Hard Way

Learn Python the Hard Way

Zed Shaw / Example Product Manufacturer / 2011

This is a very beginner book for people who want to learn to code. If you can already code then the book will probably drive you insane. It's intended for people who have no coding chops to build up t......一起来看看 《Learn Python the Hard Way》 这本书的介绍吧!

MD5 加密
MD5 加密

MD5 加密工具

SHA 加密
SHA 加密

SHA 加密工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换