You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Sebastian Baunsgaard (Jira)" <ji...@apache.org> on 2020/06/10 08:54:00 UTC

[jira] [Commented] (SYSTEMML-2533) Error in running MNIST LeNet algorithm

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

Sebastian Baunsgaard commented on SYSTEMML-2533:
------------------------------------------------

Already merged https://github.com/apache/systemml/pull/867

> Error in running MNIST LeNet algorithm
> --------------------------------------
>
>                 Key: SYSTEMML-2533
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2533
>             Project: SystemDS
>          Issue Type: Bug
>         Environment: Zeppelin and spark-shell in ubuntu 18.04
>            Reporter: Ebrahim
>            Priority: Blocker
>         Attachments: systemml-1.3.0-SNAPSHOT-bin.zip
>
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> Hi there,
> I am trying to execute the following code from [http://apache.github.io/systemml/spark-mlcontext-programming-guide]
>  
>  {{val clf = ml.nn.examples.Mnist_lenet}}
> {{val dummy = clf.generate_dummy_data}}
> {{....  }}
> {{}}
> I am getting this error in the second line when executing in Zeppelin and spark-shell :
>  
> ----------------------
> org.apache.sysml.api.mlcontext.MLContextException: Exception when executing script
>  at org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:346)
>  at org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:319)
>  at org.apache.sysml.api.mlcontext.Script.execute(Script.java:717)
>  at org.apache.sysml.scripts.nn.examples.Mnist_lenet.generate_dummy_data(Mnist_lenet.java)
>  ... 47 elided
> Caused by: org.apache.sysml.api.DMLException: org.apache.sysml.parser.LanguageException: Non-existing named function argument 'pad' in call to forward.
>  at org.apache.sysml.api.ScriptExecutorUtils.compileRuntimeProgram(ScriptExecutorUtils.java:237)
>  at org.apache.sysml.api.mlcontext.ScriptExecutor.compile(ScriptExecutor.java:195)
>  at org.apache.sysml.api.mlcontext.ScriptExecutor.compile(ScriptExecutor.java:168)
>  at org.apache.sysml.api.mlcontext.ScriptExecutor.execute(ScriptExecutor.java:234)
>  at org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:342)
>  ... 50 more
> Caused by: org.apache.sysml.parser.LanguageException: Non-existing named function argument 'pad' in call to forward.
>  at org.apache.sysml.parser.StatementBlock.rewriteFunctionCallStatements(StatementBlock.java:623)
>  at org.apache.sysml.parser.StatementBlock.validate(StatementBlock.java:761)
>  at org.apache.sysml.parser.ForStatementBlock.validate(ForStatementBlock.java:92)
>  at org.apache.sysml.parser.FunctionStatementBlock.validate(FunctionStatementBlock.java:69)
>  at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:137)
>  at org.apache.sysml.parser.DMLTranslator.validateParseTree(DMLTranslator.java:110)
>  at org.apache.sysml.api.ScriptExecutorUtils.compileRuntimeProgram(ScriptExecutorUtils.java:159)
>  ... 54 more
> ----------------------
>  
> Thanks in advance for any help
> {{}}
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)