Software Engineering
Software engineering is the application of engineering to the design, development, implementation, testing and maintenance of softwarein a systematic method.
S.O.L.I.D.
Single-responsiblity principle
Open-closed principle
Liskov substitution principle
Interface segregation principle
Dependency Inversion Principle
new ConvolutionLayerSetup(builder, 32, 32, 3)
val conf: MultiLayerConfiguration = builder.build()
val model: MultiLayerNetwork = new MultiLayerNetwork(conf)
model.init()
.setInputType(InputType.convolutional(32,32,3))
.backprop(true)
.pretrain(false)
[error] (run-main-0) java.lang.IllegalStateException: Invalid input configuration (layer name = "null") for height: inHeight=15, kernelH=2, padH=0, strideH=2; (15-2+2*0)/2 is not an integer
java.lang.IllegalStateException: Invalid input configuration (layer name = "null") for height: inHeight=15, kernelH=2, padH=0, strideH=2; (15-2+2*0)/2 is not an integer
at org.deeplearning4j.nn.conf.layers.InputTypeUtil.getOutputTypeCnnLayers(InputTypeUtil.java:45)
at org.deeplearning4j.nn.conf.layers.SubsamplingLayer.getOutputType(SubsamplingLayer.java:85)
at org.deeplearning4j.nn.conf.MultiLayerConfiguration$Builder.build(MultiLayerConfiguration.java:432)
at org.deeplearning4j.nn.conf.NeuralNetConfiguration$ListBuilder.build(NeuralNetConfiguration.java:223)
at SeeSnake.Driver$.main(Driver.scala:118)
at SeeSnake.Driver.main(Driver.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
[trace] Stack trace suppressed: run last compile:run for the full output.
java.lang.RuntimeException: Nonzero exit code: 1
at scala.sys.package$.error(package.scala:27)
[trace] Stack trace suppressed: run last compile:run for the full output.
[error] (compile:run) Nonzero exit code: 1
[error] Total time: 8 s, completed Oct 8, 2016 7:26:41 PM
java.lang.NullPointerException
at SeeSnake.Driver$.main(Driver.scala:154)
at SeeSnake.Driver.main(Driver.scala)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
SE_talk_3
By Brad Bazemore
SE_talk_3
- 748