This file contains hidden or 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
| package com.dnn.experiences; | |
| import org.apache.commons.math3.util.Pair; | |
| import org.nd4j.linalg.activations.BaseActivationFunction; | |
| import org.nd4j.linalg.activations.IActivation; | |
| import org.nd4j.linalg.api.ndarray.INDArray; | |
| import org.nd4j.linalg.api.ops.impl.transforms.Cos; | |
| import org.nd4j.linalg.api.ops.impl.transforms.Sin; | |
| import org.nd4j.linalg.factory.Nd4j; |
This file contains hidden or 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.RuntimeException: org.nd4j.shade.jackson.databind.JsonMappingException: Could not resolve type id 'CosActivation' into a subtype of [simple type, class org.nd4j.linalg.activations.IActivation]: known type ids = [Cube, ELU, HardSigmoid, HardTanh, IActivation, Identity, LReLU, RReLU, RationalTanh, ReLU, Sigmoid, SoftPlus, SoftSign, Softmax, TanH] | |
| at [Source: { | |
| "backprop" : true, | |
| "backpropType" : "Standard", | |
| "confs" : [ { | |
| "iterationCount" : 0, | |
| "l1ByParam" : { }, | |
| "l2ByParam" : { }, | |
| "layer" : { | |
| "convolution" : { |
This file contains hidden or 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
| 08:45:59.081 [application-akka.actor.default-dispatcher-24] ERROR application - | |
| ! @73bnoki89 - Internal server error, for (GET) [/train/model/graph] -> | |
| play.api.http.HttpErrorHandlerExceptions$$anon$1: Execution exception[[InvocationTargetException: null]] | |
| at play.api.http.HttpErrorHandlerExceptions$.throwableToUsefulException(HttpErrorHandler.scala:265) ~[play_2.10-2.4.6.jar:2.4.6] | |
| at play.api.http.DefaultHttpErrorHandler.onServerError(HttpErrorHandler.scala:191) ~[play_2.10-2.4.6.jar:2.4.6] | |
| at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:151) [play-netty-server_2.10-2.4.6.jar:2.4.6] | |
| at play.core.server.netty.PlayDefaultUpstreamHandler$$anonfun$9$$anonfun$apply$1.applyOrElse(PlayDefaultUpstreamHandler.scala:148) [play-netty-server_2.10-2.4.6.jar:2.4.6] |
This file contains hidden or 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
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
| xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>org.mindset</groupId> | |
| <artifactId>experiences</artifactId> | |
| <version>0.1-SNAPSHOT</version> | |
| <packaging>pom</packaging> | |
| <name>DeepLearning4j Experiences </name> |
This file contains hidden or 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
| package com.dnn.experiences; | |
| import java.io.IOException; | |
| import java.util.Random; | |
| import org.deeplearning4j.api.storage.StatsStorage; | |
| import org.deeplearning4j.datasets.iterator.impl.MnistDataSetIterator; | |
| import org.deeplearning4j.eval.Evaluation; | |
| import org.deeplearning4j.gradientcheck.GradientCheckUtil; | |
| import org.deeplearning4j.nn.api.OptimizationAlgorithm; |