summaryrefslogtreecommitdiff
path: root/cli/app/settings
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-01-09 13:16:51 +0100
committerJules Laplace <julescarbon@gmail.com>2020-01-09 13:16:51 +0100
commit21bb879e00eea74a5df9e703749b8cfa20ec1732 (patch)
tree46728510c70b97a7325d1b95daeb0146e357f730 /cli/app/settings
parentdcf472bbd3d26072b03924b2b0d1592e964d6392 (diff)
video
Diffstat (limited to 'cli/app/settings')
-rw-r--r--cli/app/settings/app_cfg.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/app/settings/app_cfg.py b/cli/app/settings/app_cfg.py
index 6ddd445..57f51d6 100644
--- a/cli/app/settings/app_cfg.py
+++ b/cli/app/settings/app_cfg.py
@@ -34,8 +34,15 @@ DIR_INVERSES = join(DIR_APP, 'data_store/inverses')
DIR_VECTORS = join(DIR_APP, 'data_store/vectors')
DIR_INPUTS = join(DIR_APP, 'data_store/inputs')
DIR_OUTPUTS = join(DIR_APP, 'data_store/outputs')
+DIR_RENDERS = join(DIR_APP, 'data_store/renders')
FP_MODELZOO = join(DIR_APP, 'modelzoo/modelzoo.yaml')
+os.makedirs(DIR_INVERSES, exist_ok=True)
+os.makedirs(DIR_VECTORS, exist_ok=True)
+os.makedirs(DIR_INPUTS, exist_ok=True)
+os.makedirs(DIR_OUTPUTS, exist_ok=True)
+os.makedirs(DIR_RENDERS, exist_ok=True)
+
# -----------------------------------------------------------------------------
# Model config
# -----------------------------------------------------------------------------