mirror of
https://github.com/augustin64/projet-tipe
synced 2025-02-02 19:39:39 +01:00
Update visualisation.py
This commit is contained in:
parent
220d0a71be
commit
f5fdfc6513
@ -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))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user