Spaces:
Running
on
Zero
Running
on
Zero
test
Browse files
src/pixel3dmm/env_paths.py
CHANGED
@@ -9,7 +9,6 @@ env_file_path = Path(f"{Path.home()}/.config/pixel3dmm/.env")
|
|
9 |
if env_file_path.exists():
|
10 |
env.read_env(str(env_file_path), recurse=False)
|
11 |
|
12 |
-
|
13 |
with env.prefixed("PIXEL3DMM_"):
|
14 |
CODE_BASE = env("CODE_BASE")
|
15 |
PREPROCESSED_DATA = env("PREPROCESSED_DATA")
|
@@ -20,6 +19,9 @@ base = snapshot_download(
|
|
20 |
repo_type="model", # model vs dataset
|
21 |
)
|
22 |
|
|
|
|
|
|
|
23 |
FLAME_ASSET = os.path.join(base, "generic_model.pkl")
|
24 |
MICA_TAR_ASSET = os.path.join(base, "mica.tar")
|
25 |
PIPNET_LOCAL_ASSET= os.path.join(base, "epoch59.pth")
|
|
|
9 |
if env_file_path.exists():
|
10 |
env.read_env(str(env_file_path), recurse=False)
|
11 |
|
|
|
12 |
with env.prefixed("PIXEL3DMM_"):
|
13 |
CODE_BASE = env("CODE_BASE")
|
14 |
PREPROCESSED_DATA = env("PREPROCESSED_DATA")
|
|
|
19 |
repo_type="model", # model vs dataset
|
20 |
)
|
21 |
|
22 |
+
|
23 |
+
print(f'cache folder f{base}')
|
24 |
+
|
25 |
FLAME_ASSET = os.path.join(base, "generic_model.pkl")
|
26 |
MICA_TAR_ASSET = os.path.join(base, "mica.tar")
|
27 |
PIPNET_LOCAL_ASSET= os.path.join(base, "epoch59.pth")
|