We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eefe45 commit 4a6137fCopy full SHA for 4a6137f
1 file changed
scripts/launch_train_multiprocessing.py
@@ -9,7 +9,6 @@
9
from stable_baselines3.common.vec_env import SubprocVecEnv
10
11
simu_path = __file__.rsplit('/', 2)[0] + '/src/Simulateur'
12
-print(f"{simu_path = }")
13
if simu_path not in sys.path:
14
sys.path.insert(0, simu_path)
15
@@ -68,8 +67,8 @@ def make_env(rank: int):
68
67
69
70
save_path = __file__.rsplit("/", 1)[0] + "/checkpoints/" + ExtractorClass.__name__ + "/"
71
- if not os.path.exists(save_path):
72
- os.mkdir(save_path)
+ os.makedirs(save_path, exist_ok=True)
+
73
74
print(save_path)
75
print(os.listdir(save_path))
0 commit comments