View gist:5d3091337d8364d2755a201e45077628
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MultiException stack 1 of 2 | |
java.lang.NullPointerException | |
at com.sun.jersey.core.provider.jaxb.AbstractJAXBProvider.setConfiguration(AbstractJAXBProvider.java:109) | |
at com.sun.jersey.json.impl.provider.entity.JSONRootElementProvider.setConfiguration(JSONRootElementProvider.java:82) | |
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:483) | |
at org.glassfish.hk2.utilities.reflection.ReflectionHelper.invoke(ReflectionHelper.java:1262) | |
at org.jvnet.hk2.internal.ClazzCreator.methodMe(ClazzCreator.java:318) |
View gist:c011235a00dbd767909efb3f34b2a2b1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder() | |
.seed(seed) | |
.iterations(1) | |
.optimizationAlgo(OptimizationAlgorithm.STOCHASTIC_GRADIENT_DESCENT) | |
.learningRate(learningRate) | |
.updater(Updater.NESTEROVS).momentum(0.9) | |
.list(2) | |
.layer(0, new DenseLayer.Builder().nIn(numInputs).nOut(numHiddenNodes) | |
.weightInit(WeightInit.XAVIER) | |
.activation("relu") |
View gist:822c7a4058f0f2e40d891e6e05b59c71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1 | |
at org.nd4j.linalg.util.FeatureUtil.toOutcomeVector(FeatureUtil.java:38) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.getDataSet(RecordReaderDataSetIterator.java:207) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:150) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:288) | |
at org.deeplearning4j.datasets.canova.RecordReaderDataSetIterator.next(RecordReaderDataSetIterator.java:42) | |
at org.deeplearning4j.examples.feedforward.classification.MLPClassifierBroadband.main(MLPClassifierBroadband.java:45) |
View gist:11851f884aca68ec909272c353d076bf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o.d.o.s.BaseOptimizer - Objective function automatically set to minimize. Set stepFunction in neural net configuration to change default settings. | |
Exception in thread "main" java.lang.IllegalArgumentException: Shapes do not match: x.shape=[10, 6], y.shape=[10, 91] | |
at org.nd4j.linalg.api.parallel.tasks.cpu.CPUTaskFactory.getTransformAction(CPUTaskFactory.java:92) | |
at org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner.doTransformOp(DefaultOpExecutioner.java:409) | |
at org.nd4j.linalg.api.ops.executioner.DefaultOpExecutioner.exec(DefaultOpExecutioner.java:62) | |
at org.nd4j.linalg.api.ndarray.BaseNDArray.subi(BaseNDArray.java:2660) | |
at org.nd4j.linalg.api.ndarray.BaseNDArray.subi(BaseNDArray.java:2641) | |
at org.nd4j.linalg.api.ndarray.BaseNDArray.sub(BaseNDArray.java:2419) | |
at org.deeplearning4j.nn.layers.BaseOutputLayer.getGradientsAndDelta(BaseOutputLayer.java:154) | |
at org.deeplearning4j.nn.layers.BaseOutputLayer.backpropGradient(BaseOutputLayer.java:133) |