mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-23 23:26:25 +01:00
Update parallel
This commit is contained in:
parent
553cf4d0be
commit
3446200c63
@ -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",
|
||||
|
@ -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(
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user