MCPcopy Index your code
hub / github.com/albertpumarola/GANimation / mkdir

Function mkdir

utils/util.py:42–44  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

40 mkdir(paths)
41
42def mkdir(path):
43 if not os.path.exists(path):
44 os.makedirs(path)
45
46def save_image(image_numpy, image_path):
47 mkdir(os.path.dirname(image_path))

Callers 3

mkdirsFunction · 0.85
save_imageFunction · 0.85
save_str_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected