java.lang.ClassCastException

org.deeplearning4j.nn.conf.inputs.InputType$InputTypeFeedForward cannot be cast to org.deeplearning4j.nn.conf.inputs.InputType$InputTypeConvolutional

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web19026

  • org.deeplearning4j.nn.conf.inputs.InputType$InputTypeFeedForward cannot be cast to org.deeplearning4j.nn.conf.inputs.InputType$InputTypeConvolutional
  • via iteye.com by Unknown author, 1 year ago
    cannot be cast to
  • cannot be cast to java.lang.String
  • Stack trace

    • java.lang.ClassCastException: org.deeplearning4j.nn.conf.inputs.InputType$InputTypeFeedForward cannot be cast to org.deeplearning4j.nn.conf.inputs.InputType$InputTypeConvolutional at org.deeplearning4j.nn.conf.graph.LayerVertex.getOutputType(LayerVertex.java:117) at org.deeplearning4j.nn.conf.ComputationGraphConfiguration.addPreProcessors(ComputationGraphConfiguration.java:433) at org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.build(ComputationGraphConfiguration.java:699) at imagenet.Models.GoogleLeNet.init(GoogleLeNet.java:451) at imagenet.ImageNetMain.main(ImageNetMain.java:20) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.