org.deeplearning4j.nn.conf.inputs.InvalidInputTypeException: Invalid input: MergeVertex cannot merge CNN activations of different width/heights:first [depth,width,height] = [50,3,199], input 1 = [50,3,198]

GitHub | sid-sahani | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 2146#250745653

    GitHub | 5 months ago | sid-sahani
    org.deeplearning4j.nn.conf.inputs.InvalidInputTypeException: Invalid input: MergeVertex cannot merge CNN activations of different width/heights:first [depth,width,height] = [50,3,199], input 1 = [50,3,198]

    Root Cause Analysis

    1. org.deeplearning4j.nn.conf.inputs.InvalidInputTypeException

      Invalid input: MergeVertex cannot merge CNN activations of different width/heights:first [depth,width,height] = [50,3,199], input 1 = [50,3,198]

      at org.deeplearning4j.nn.conf.graph.MergeVertex.getOutputType()
    2. org.deeplearning4j.nn
      ComputationGraphConfiguration$GraphBuilder.build
      1. org.deeplearning4j.nn.conf.graph.MergeVertex.getOutputType(MergeVertex.java:133)
      2. org.deeplearning4j.nn.conf.ComputationGraphConfiguration.addPreProcessors(ComputationGraphConfiguration.java:372)
      3. org.deeplearning4j.nn.conf.ComputationGraphConfiguration$GraphBuilder.build(ComputationGraphConfiguration.java:620)
      3 frames
    3. org.deeplearning4j.examples
      LegalSifterCompGraphCNN.main
      1. org.deeplearning4j.examples.convolution.LegalSifterCompGraphCNN.main(LegalSifterCompGraphCNN.java:80)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    5. IDEA
      AppMain.main
      1. com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
      1 frame