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 | 2 months ago
  1. 0

    GitHub comment 2146#250745653

    GitHub | 2 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]
  2. 0

    KernelValidationUtil Error Checking

    GitHub | 6 months ago | UnyieldingOrca
    org.deeplearning4j.nn.conf.inputs.InvalidInputTypeException: Invalid input: activations into layer are h=1 but kernel size is 1 with padding 0
  3. 0

    GitHub comment 1410#216405675

    GitHub | 7 months ago | AlexDBlack
    org.deeplearning4j.nn.conf.inputs.InvalidInputTypeException: Invalid input: activations into layer are h=21 but kernel size is 21 with padding 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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