X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=mlp.git;a=blobdiff_plain;f=doit.sh;fp=doit.sh;h=60a83112e20e7f5d47116a53478d4fe6e35c14bb;hp=4b4d3242c730d618a6f12a470f575d2fe07ca0fe;hb=6cf6ebfe5fef7a2f717ce353bd9a2a0c7c2e8bda;hpb=d952b7b146e7e8b7009915c367ed8e1f2435e14b diff --git a/doit.sh b/doit.sh index 4b4d324..60a8311 100755 --- a/doit.sh +++ b/doit.sh @@ -21,7 +21,7 @@ # You should have received a copy of the GNU General Public License # along with mlp-mnist. If not, see . -make -k ann +make -k mlp if [[ $1 ]]; then @@ -50,11 +50,13 @@ for f in train-images-idx3-ubyte train-labels-idx1-ubyte t10k-images-idx3-ubyte fi done -./ann --nb-training-examples 20000 --nb-validation-examples 20000 \ +./mlp \ + --nb-training-examples 20000 --nb-validation-examples 20000 \ --mlp-structure 784,200,10 \ --data-files ./train-images-idx3-ubyte ./train-labels-idx1-ubyte \ --save-mlp simple.mlp -./ann --load-mlp simple.mlp \ +./mlp \ + --load-mlp simple.mlp \ --data-files ./t10k-images-idx3-ubyte ./t10k-labels-idx1-ubyte \ --nb-test-examples 10000