horn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HORN-13) Convert MNIST dataset into a sequence file
Date Wed, 20 Apr 2016 06:30:25 GMT

    [ https://issues.apache.org/jira/browse/HORN-13?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15249360#comment-15249360
] 

Edward J. Yoon commented on HORN-13:
------------------------------------

You'll be able to convert the MNIST dataset like below:

% mvn clean install -DskipTests
% bin/horn jar target/horn-0.1.0-SNAPSHOT.jar org.apache.horn.utils.MNISTConverter
Usage: TRAINING_DATA LABELS_DATA OUTPUT_PATH
ex) train-images.idx3-ubyte train-labels.idx1-ubyte /tmp/mnist.seq

then, train with following commands:

# MNIST image feature dimension (img shape: 28*28)
# and label dimension 10 (0-9 digits)

% bin/horn jar target/horn-0.1.0-SNAPSHOT.jar org.apache.horn.examples.MultiLayerPerceptron
model_path .... 784 10 ...


> Convert MNIST dataset into a sequence file
> ------------------------------------------
>
>                 Key: HORN-13
>                 URL: https://issues.apache.org/jira/browse/HORN-13
>             Project: Apache Horn
>          Issue Type: Sub-task
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>
> MNIST digit classification will be used as a MLP example. In this task, I'll add util
that converts MNIST dataset into a HDFS sequence file format.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message