mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 15:36:25 +01:00
23 lines
523 B
Bash
Executable File
23 lines
523 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
OUT="build"
|
|
[[ -f "$OUT/mnist-utils" ]] || make $OUT/mnist-utils
|
|
|
|
echo "Compte des labels"
|
|
"$OUT/mnist-utils" count-labels -l data/mnist/t10k-labels-idx1-ubyte > /dev/null
|
|
echo "OK"
|
|
|
|
echo "Création du réseau"
|
|
"$OUT/mnist-utils" creer-reseau -n 3 -o .test-cache/reseau.bin > /dev/null
|
|
echo "OK"
|
|
|
|
echo "Affichage poids"
|
|
"$OUT/mnist-utils" print-poids -r .test-cache/reseau.bin > /dev/null
|
|
echo "OK"
|
|
|
|
echo "Affichage biais"
|
|
"$OUT/mnist-utils" print-biais -r .test-cache/reseau.bin > /dev/null
|
|
echo "OK"
|