Update visualisation.py

This commit is contained in:
augustin64 2023-01-25 11:19:11 +01:00
parent 220d0a71be
commit f5fdfc6513

View File

@ -115,7 +115,7 @@ def images_neurons(neurons, dest="neurons", exp=False):
os.makedirs(dest, exist_ok=True) os.makedirs(dest, exist_ok=True)
data = [] data = []
for i in neurons: for i in neurons:
os.system(f"./make.sh utils print-poids-neurone --reseau \ os.system(f"build/mnist-utils print-poids-neurone --reseau \
.cache/reseau.bin --neurone {i} > .cache/poids.txt") .cache/reseau.bin --neurone {i} > .cache/poids.txt")
data.append(image_from_list(".cache/poids.txt", exp=exp)) data.append(image_from_list(".cache/poids.txt", exp=exp))