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