YinuoGuo27 commited on
Commit
96cb96d
·
verified ·
1 Parent(s): e0cf1e0

Update difpoint/src/config/crop_config.py

Browse files
Files changed (1) hide show
  1. difpoint/src/config/crop_config.py +2 -2
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 = "../../dataset_process/pretrained_weights/insightface"
15
- landmark_ckpt_path: str = "../../dataset_process/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 ##########
 
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 ##########