2022-09-29 22:21:33 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2022-10-24 12:54:51 +02:00
|
|
|
OUT="build"
|
|
|
|
[[ -f "$OUT/mnist-utils" ]] || make $OUT/mnist-utils
|
2022-09-29 22:21:33 +02:00
|
|
|
|
|
|
|
echo "Compte des labels"
|
2022-10-24 12:54:51 +02:00
|
|
|
"$OUT/mnist-utils" count-labels -l data/mnist/t10k-labels-idx1-ubyte > /dev/null
|
2022-09-29 22:21:33 +02:00
|
|
|
echo "OK"
|
|
|
|
|
|
|
|
echo "Création du réseau"
|
2022-10-24 12:54:51 +02:00
|
|
|
"$OUT/mnist-utils" creer-reseau -n 3 -o .test-cache/reseau.bin > /dev/null
|
2022-09-29 22:21:33 +02:00
|
|
|
echo "OK"
|
|
|
|
|
|
|
|
echo "Affichage poids"
|
2022-10-24 12:54:51 +02:00
|
|
|
"$OUT/mnist-utils" print-poids -r .test-cache/reseau.bin > /dev/null
|
2022-09-29 22:21:33 +02:00
|
|
|
echo "OK"
|
|
|
|
|
|
|
|
echo "Affichage biais"
|
2022-10-24 12:54:51 +02:00
|
|
|
"$OUT/mnist-utils" print-biais -r .test-cache/reseau.bin > /dev/null
|
|
|
|
echo "OK"
|