Skip to content

Commit fdb5988

Browse files
committed
Setting default values for config file in case the fields are not in the file
1 parent a92c045 commit fdb5988

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wormpose/config/experiment_config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ def __init__(
3232
image_shape: Tuple[int, int] = None,
3333
dataset_loader: str = None,
3434
theta_dimensions: int = None,
35-
resize_factor: float = None,
35+
resize_factor: float = 1.0,
3636
video_names: List[str] = None,
37-
worm_is_lighter: bool = None,
37+
worm_is_lighter: bool = False,
3838
):
3939
self.num_train_samples = num_train_samples
4040
self.num_eval_samples = num_eval_samples

0 commit comments

Comments
 (0)