jhj0517
commited on
Commit
·
6f578f7
1
Parent(s):
2b7fd54
Add paths
Browse files- modules/utils/paths.py +8 -0
modules/utils/paths.py
CHANGED
@@ -17,6 +17,14 @@ MODEL_PATHS = {
|
|
17 |
"stitching_retargeting_module": os.path.join(MODELS_DIR, "stitching_retargeting_module.safetensors"),
|
18 |
"face_yolov8n": os.path.join(MODELS_DIR, "face_yolov8n.pt")
|
19 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
MASK_TEMPLATES = os.path.join(PROJECT_ROOT_DIR, "modules", "utils", "resources", "mask_template.png")
|
21 |
I18N_YAML_PATH = os.path.join(PROJECT_ROOT_DIR, "i18n", "translation.yaml")
|
22 |
|
|
|
17 |
"stitching_retargeting_module": os.path.join(MODELS_DIR, "stitching_retargeting_module.safetensors"),
|
18 |
"face_yolov8n": os.path.join(MODELS_DIR, "face_yolov8n.pt")
|
19 |
}
|
20 |
+
MODEL_ANIMAL_PATHS = {
|
21 |
+
"appearance_feature_extractor": os.path.join(MODELS_ANIMAL_DIR, "appearance_feature_extractor.safetensors"),
|
22 |
+
"motion_extractor": os.path.join(MODELS_ANIMAL_DIR, "motion_extractor.safetensors"),
|
23 |
+
"warping_module": os.path.join(MODELS_ANIMAL_DIR, "warping_module.safetensors"),
|
24 |
+
"spade_generator": os.path.join(MODELS_ANIMAL_DIR, "spade_generator.safetensors"),
|
25 |
+
"stitching_retargeting_module": os.path.join(MODELS_ANIMAL_DIR, "stitching_retargeting_module.safetensors"),
|
26 |
+
"face_yolov8n": os.path.join(MODELS_DIR, "face_yolov8n.pt")
|
27 |
+
}
|
28 |
MASK_TEMPLATES = os.path.join(PROJECT_ROOT_DIR, "modules", "utils", "resources", "mask_template.png")
|
29 |
I18N_YAML_PATH = os.path.join(PROJECT_ROOT_DIR, "i18n", "translation.yaml")
|
30 |
|