Ebrahim created SYSTEMML-2533:
---------------------------------
Summary: Error in running MNIST LeNet algorithm
Key: SYSTEMML-2533
URL: https://issues.apache.org/jira/browse/SYSTEMML-2533
Project: SystemML
Issue Type: Bug
Environment: Zeppelin and spark-shell in ubuntu 18.04
Reporter: Ebrahim
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)