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
| /** GRADLE: (Any custom modifications I've made here were required to prevent duplicate file errors! */ | |
| // DL4J | |
| provided ('org.deeplearning4j:deeplearning4j-core:0.8.0') { | |
| } | |
| provided ('org.nd4j:nd4j-native:0.8.0') { | |
| //exclude group: 'org.bytedeco.javacpp-presets' | |
| } | |
| provided (group: 'org.nd4j', name: 'nd4j-native-platform', version: '0.8.0') { | |
| //exclude group: 'org.bytedeco.javacpp-presets' |
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
| /* Neural Dependencies. */ | |
| private static final int IMAGE_WIDTH = 64; | |
| private static final int IMAGE_HEIGHT = 80; | |
| private static final int SEED = 123; | |
| private static final int ITERATIONS = 1; | |
| MultiLayerConfiguration conf = new NeuralNetConfiguration.Builder() | |
| .seed(SEED) | |
| .iterations(ITERATIONS) // Training iterations as above | |
| .regularization(true).l2(0.0005) | |
| /* |
NewerOlder