diff --git a/README.md b/README.md index 22e2668..ca8e9bb 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,13 @@ Prerequisites: Gradle and JDK gradle build `` +Build and run the `jar` with + +``` +gradle fatJar +java -jar build/libs/DigitRecognition-1.0.jar +``` + ## Running `` gradle run --args draw @@ -21,5 +28,8 @@ The possible arguments are `draw`, `eval` and `train`. - `train` trains the network with the training data - `eval` evaluates the performance of the network based on test data +The network is exported to and imported from `./network/{customWeights,customBiases}.txt` + + ## License -©2015 - 2018 Daniel Schäfer, BSD 3-Clause +©2015 - 2019 Daniel Schäfer, BSD 3-Clause diff --git a/build.gradle b/build.gradle index fe565b4..979485d 100755 --- a/build.gradle +++ b/build.gradle @@ -34,11 +34,11 @@ jar { task fatJar(type: Jar) { manifest { - attributes 'Implementation-Title': 'Gradle Jar File Example', + attributes 'Implementation-Title': 'DigitRecognition', 'Implementation-Version': version, 'Main-Class': 'me.danielschaefer.digitrecognition.Test' } - baseName = project.name + '-all' + baseName = project.name from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } with jar }