Spaces:
Running
on
Zero
Running
on
Zero
Update difpoint/src/config/crop_config.py
Browse files
difpoint/src/config/crop_config.py
CHANGED
@@ -11,8 +11,8 @@ from .base_config import PrintableConfig
|
|
11 |
|
12 |
@dataclass(repr=False) # use repr from PrintableConfig
|
13 |
class CropConfig(PrintableConfig):
|
14 |
-
insightface_root: str = "
|
15 |
-
landmark_ckpt_path: str = "
|
16 |
device_id: int = 0 # gpu device id
|
17 |
flag_force_cpu: bool = False # force cpu inference, WIP
|
18 |
########## source image cropping option ##########
|
|
|
11 |
|
12 |
@dataclass(repr=False) # use repr from PrintableConfig
|
13 |
class CropConfig(PrintableConfig):
|
14 |
+
insightface_root: str = "./downloaded_repo/pretrained_weights/insightface"
|
15 |
+
landmark_ckpt_path: str = "./downloaded_repo/pretrained_weights/liveportrait/landmark.onnx"
|
16 |
device_id: int = 0 # gpu device id
|
17 |
flag_force_cpu: bool = False # force cpu inference, WIP
|
18 |
########## source image cropping option ##########
|