Spaces:
Running
Running
Update src/config/inference_config.py
Browse files
src/config/inference_config.py
CHANGED
@@ -35,7 +35,7 @@ class InferenceConfig(PrintableConfig):
|
|
35 |
|
36 |
input_shape: Tuple[int, int] = (256, 256) # input shape
|
37 |
output_format: Literal['mp4', 'gif'] = 'mp4' # output video format
|
38 |
-
output_fps: int =
|
39 |
crf: int = 15 # crf for output video
|
40 |
|
41 |
flag_write_result: bool = True # whether to write output video
|
@@ -43,7 +43,7 @@ class InferenceConfig(PrintableConfig):
|
|
43 |
mask_crop: ndarray = cv2.imread(make_abs_path('../utils/resources/mask_template.png'), cv2.IMREAD_COLOR)
|
44 |
flag_write_gif: bool = False
|
45 |
size_gif: int = 256
|
46 |
-
ref_max_shape: int =
|
47 |
ref_shape_n: int = 2
|
48 |
|
49 |
device_id: int = 0
|
|
|
35 |
|
36 |
input_shape: Tuple[int, int] = (256, 256) # input shape
|
37 |
output_format: Literal['mp4', 'gif'] = 'mp4' # output video format
|
38 |
+
output_fps: int = 20 # fps for output video
|
39 |
crf: int = 15 # crf for output video
|
40 |
|
41 |
flag_write_result: bool = True # whether to write output video
|
|
|
43 |
mask_crop: ndarray = cv2.imread(make_abs_path('../utils/resources/mask_template.png'), cv2.IMREAD_COLOR)
|
44 |
flag_write_gif: bool = False
|
45 |
size_gif: int = 256
|
46 |
+
ref_max_shape: int = 256
|
47 |
ref_shape_n: int = 2
|
48 |
|
49 |
device_id: int = 0
|