In Keras iris classification model getting error process failed.

RBSB61RBSB61 Member Posts: 3 Contributor I
  • Exception: java.lang.NullPointerException
  • Message: null
  • Stack trace:
  • java.lang.ProcessBuilder.start(ProcessBuilder.java:1012)
  • com.rapidminer.operator.scripting.AbstractScriptRunner.getProcessWithLogging(AbstractScriptRunner.java:374)
  • com.rapidminer.operator.scripting.python.PythonScriptRunner.start(PythonScriptRunner.java:322)
  • com.rapidminer.operator.scripting.AbstractScriptRunner.run(AbstractScriptRunner.java:157)
  • com.rapidminer.extension.keras.general.Sequential.doWork(Sequential.java:436)
  • com.rapidminer.operator.Operator.execute(Operator.java:1023)
  • com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:805)
  • com.rapidminer.operator.ExecutionUnit$2.run(ExecutionUnit.java:800)
  • java.security.AccessController.doPrivileged(Native Method)
  • com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:800)
  • com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:423)
  • com.rapidminer.operator.Operator.execute(Operator.java:1023)
  • com.rapidminer.Process.executeRoot(Process.java:1464)
  • com.rapidminer.Process.lambda$executeRootInPool$5(Process.java:1443)
  • com.rapidminer.studio.concurrency.internal.AbstractConcurrencyContext$AdaptedCallable.exec(AbstractConcurrencyContext.java:362)
  • java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
  • java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056)
  • java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692)
  • java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:175)
Also potential problem which was detected Mandatory input at port missing Apply Keras Model.model

Answers

  • ceaperezceaperez Member Posts: 517 Unicorn
    Hi @RBSB61,

    Are you trying to run a model using the Keras extension?
    The Keras extension is so specific about the version as Varunm1 said in this post
    The best option is to work with python with the Execute Python operator. 

    Best
  • jacobcybulskijacobcybulski Member, University Professor Posts: 391 Unicorn
    Yes, Keras app has not been updated for a long while - since 2017. The last time I used it it worked with Python 3.6 and Tensorflow 1.4, with Keras installed separately on top. As the world moved on and now Keras is part of Tensorflow 2+ distribution, this extension has slipped into obsolescence. I think it is time to move into Deep Learning extension, which is being developed and supported by RapidMiner! 
Sign In or Register to comment.