jhj0517
commited on
Commit
·
2b7fd54
1
Parent(s):
a0a4522
Add animal path
Browse files- modules/utils/paths.py +2 -0
modules/utils/paths.py
CHANGED
@@ -4,6 +4,7 @@ import os
|
|
4 |
|
5 |
PROJECT_ROOT_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..")
|
6 |
MODELS_DIR = os.path.join(PROJECT_ROOT_DIR, "models")
|
|
|
7 |
OUTPUTS_DIR = os.path.join(PROJECT_ROOT_DIR, "outputs")
|
8 |
TEMP_DIR = os.path.join(OUTPUTS_DIR, "temp")
|
9 |
EXP_OUTPUT_DIR = os.path.join(OUTPUTS_DIR, "exp_data")
|
@@ -37,6 +38,7 @@ def get_auto_incremental_file_path(dir_path: str, extension: str, prefix: str =
|
|
37 |
def init_dirs():
|
38 |
for dir_path in [
|
39 |
MODELS_DIR,
|
|
|
40 |
OUTPUTS_DIR,
|
41 |
EXP_OUTPUT_DIR,
|
42 |
TEMP_DIR
|
|
|
4 |
|
5 |
PROJECT_ROOT_DIR = os.path.join(os.path.abspath(os.path.dirname(__file__)), "..", "..")
|
6 |
MODELS_DIR = os.path.join(PROJECT_ROOT_DIR, "models")
|
7 |
+
MODELS_ANIMAL_DIR = os.path.join(MODELS_DIR, "animal")
|
8 |
OUTPUTS_DIR = os.path.join(PROJECT_ROOT_DIR, "outputs")
|
9 |
TEMP_DIR = os.path.join(OUTPUTS_DIR, "temp")
|
10 |
EXP_OUTPUT_DIR = os.path.join(OUTPUTS_DIR, "exp_data")
|
|
|
38 |
def init_dirs():
|
39 |
for dir_path in [
|
40 |
MODELS_DIR,
|
41 |
+
MODELS_ANIMAL_DIR,
|
42 |
OUTPUTS_DIR,
|
43 |
EXP_OUTPUT_DIR,
|
44 |
TEMP_DIR
|