Matthias Boehm created SYSTEMML-1589:
----------------------------------------

             Summary: conv2d_bias_add fails w/ NPE on lenet with random data
                 Key: SYSTEMML-1589
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1589
             Project: SystemML
          Issue Type: Bug
            Reporter: Matthias Boehm
            Assignee: Niketan Pansare


The lenet dml script fails with a null pointer exception for random multi class 
data, generated with
{code}
X_full = rand(rows=60000,cols=784);
y_full = round(rand(rows=nrow(X_full), cols=1, min=1, max=10));
{code}

The detailed stacktrace is as follows:
{code}
Caused by: java.lang.NullPointerException
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN.getRowInDenseFormat(LibMatrixDNN.java:1355)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN.doIm2colSparse(LibMatrixDNN.java:1382)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN.doIm2col(LibMatrixDNN.java:1421)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN.doLoopedIm2ColConv2d(LibMatrixDNN.java:406)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN.access$400(LibMatrixDNN.java:51)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN$ConvTask.call(LibMatrixDNN.java:1143)
        at 
org.apache.sysml.runtime.matrix.data.LibMatrixDNN$ConvTask.call(LibMatrixDNN.java:1076)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to