mirror of
https://github.com/edoverg/modeconverter.git
synced 2026-10-14 23:06:39 +00:00
solved conflict on folder creation among multiple processes
This commit is contained in:
@@ -15,6 +15,7 @@ from PIL import Image
|
||||
import pickle
|
||||
mp.verbosity(3)
|
||||
|
||||
if mp.am_master():
|
||||
if not os.path.exists("results"):
|
||||
os.makedirs("results")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user