From a7171703b69d13db20189e656ddbb9c86fce188a Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 20 Nov 2023 22:28:45 +0000 Subject: [PATCH] Update src/py/flwr/server/strategy/fedavgm.py --- src/py/flwr/server/strategy/fedavgm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/py/flwr/server/strategy/fedavgm.py b/src/py/flwr/server/strategy/fedavgm.py index ef735f35968a..9e0e1ccd2187 100644 --- a/src/py/flwr/server/strategy/fedavgm.py +++ b/src/py/flwr/server/strategy/fedavgm.py @@ -67,7 +67,7 @@ def __init__( on_fit_config_fn: Optional[Callable[[int], Dict[str, Scalar]]] = None, on_evaluate_config_fn: Optional[Callable[[int], Dict[str, Scalar]]] = None, accept_failures: bool = True, - initial_parameters: Optional[Parameters], + initial_parameters: Optional[Parameters] = None, fit_metrics_aggregation_fn: Optional[MetricsAggregationFn] = None, evaluate_metrics_aggregation_fn: Optional[MetricsAggregationFn] = None, server_learning_rate: float = 1.0,