solved conflict on folder creation among multiple processes

This commit is contained in:
2026-05-29 14:42:29 +02:00
parent 5b18e7bce7
commit c9df747f4f
+1
View File
@@ -15,6 +15,7 @@ from PIL import Image
import pickle import pickle
mp.verbosity(3) mp.verbosity(3)
if mp.am_master():
if not os.path.exists("results"): if not os.path.exists("results"):
os.makedirs("results") os.makedirs("results")