Update parallel

This commit is contained in:
augustin64 2022-05-21 18:12:21 +02:00
parent 553cf4d0be
commit 3446200c63
3 changed files with 4 additions and 4 deletions

View File

@ -27,7 +27,7 @@ os.makedirs(CACHE, exist_ok=True)
# On crée un réseau aléatoire si il n'existe pas encore
if not os.path.isfile(RESEAU):
if not os.path.isfile("out/main"):
subprocess.call(["make.sh", "main"])
subprocess.call(["./make.sh", "main"])
subprocess.call
([
"out/main", "train",

View File

@ -108,7 +108,7 @@ def train_shared(dataset, start, nb_elem, epochs=1, out=DELTA):
# On compile out/main si il n'existe pas encore
if not os.path.isfile("out/main"):
subprocess.call(["make.sh", "main"])
subprocess.call(["./make.sh", "main"])
# Entraînement du réseau
subprocess.call(

View File

@ -90,7 +90,7 @@ class Training:
Teste les performances du réseau avant le batch suivant
"""
if not os.path.isfile("out/main"):
subprocess.call(["make.sh", "main"])
subprocess.call(["./make.sh", "main"])
subprocess.call(
[
@ -115,7 +115,7 @@ class Training:
file.write("")
if not os.path.isfile("out/main"):
subprocess.call(["make.sh", "utils"])
subprocess.call(["./make.sh", "utils"])
subprocess.call
([
"out/utils", "patch-network",