systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fei Hu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SYSTEMML-1762) Improve the robustness of sparse matrix reshape function for the Spark mode
Date Wed, 12 Jul 2017 18:57:00 GMT

     [ https://issues.apache.org/jira/browse/SYSTEMML-1762?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Fei Hu updated SYSTEMML-1762:
-----------------------------
    Description: 
When running the [distributed MNIST LeNet example | https://github.com/apache/systemml/blob/master/scripts/nn/examples/mnist_lenet_distrib_sgd.dml],
there is a 
{code:java}
java.lang.NullPointerException
{code}
 error when reshaping the sparse matrix. The involved function is `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#reshapeSparse(org.apache.sysml.runtime.matrix.data.MatrixBlock,
long, long, java.util.HashMap<org.apache.sysml.runtime.matrix.data.MatrixIndexes,org.apache.sysml.runtime.matrix.data.MatrixBlock>,
long, long, long, long, int, int, boolean)` . The reason is that the output matrixIndex computed
by `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#computeResultBlockIndex` does not
exist in the `HashMap<MatrixIndexes,MatrixBlock> rix`. 

To reproduce the error, the attached scala file `MNIST_Distrib_Sgd` could be used to run the
distributed MNIST example.  

  was:
When running the [distributed MNIST LeNet example | https://github.com/apache/systemml/blob/master/scripts/nn/examples/mnist_lenet_distrib_sgd.dml],
there is a `java.lang.NullPointerException` error when reshaping the sparse matrix. The involved
function is `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#reshapeSparse(org.apache.sysml.runtime.matrix.data.MatrixBlock,
long, long, java.util.HashMap<org.apache.sysml.runtime.matrix.data.MatrixIndexes,org.apache.sysml.runtime.matrix.data.MatrixBlock>,
long, long, long, long, int, int, boolean)` . The reason is that the output matrixIndex computed
by `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#computeResultBlockIndex` does not
exist in the `HashMap<MatrixIndexes,MatrixBlock> rix`. 

To reproduce the error, the attached scala file `MNIST_Distrib_Sgd` could be used to run the
distributed MNIST example.  


> Improve the robustness of sparse matrix reshape function for the Spark mode
> ---------------------------------------------------------------------------
>
>                 Key: SYSTEMML-1762
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1762
>             Project: SystemML
>          Issue Type: Bug
>          Components: Algorithms, ParFor, Runtime
>            Reporter: Fei Hu
>         Attachments: MNIST_Distrib_Sgd.scala
>
>
> When running the [distributed MNIST LeNet example | https://github.com/apache/systemml/blob/master/scripts/nn/examples/mnist_lenet_distrib_sgd.dml],
there is a 
> {code:java}
> java.lang.NullPointerException
> {code}
>  error when reshaping the sparse matrix. The involved function is `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#reshapeSparse(org.apache.sysml.runtime.matrix.data.MatrixBlock,
long, long, java.util.HashMap<org.apache.sysml.runtime.matrix.data.MatrixIndexes,org.apache.sysml.runtime.matrix.data.MatrixBlock>,
long, long, long, long, int, int, boolean)` . The reason is that the output matrixIndex computed
by `org.apache.sysml.runtime.matrix.data.LibMatrixReorg#computeResultBlockIndex` does not
exist in the `HashMap<MatrixIndexes,MatrixBlock> rix`. 
> To reproduce the error, the attached scala file `MNIST_Distrib_Sgd` could be used to
run the distributed MNIST example.  



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message