Skip to content

Commit

Permalink
Merge pull request #292 from VectorInstitute/dbe/renaming_server_to_s…
Browse files Browse the repository at this point in the history
…ervers

Name change for server folder to servers
  • Loading branch information
emersodb authored Nov 19, 2024
2 parents b2766e9 + dca63bc commit 7eb5aac
Show file tree
Hide file tree
Showing 82 changed files with 92 additions and 91 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ settings.json
**/datasets/nnunet/**
**/datasets/nnunet_raw/**
**/datasets/nnunet_preprocessed/**
**/datasets/cifar_partitioned_data/**

# logs

Expand Down
2 changes: 1 addition & 1 deletion examples/ae_examples/cvae_dim_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from examples.models.mnist_model import MnistNet
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.model_bases.autoencoders_base import ConditionalVae
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.model_bases.autoencoders_base import ConditionalVae
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/ae_examples/fedprox_vae_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.model_bases.autoencoders_base import VariationalAe
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/apfl_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.apfl_base import ApflModule
from fl4health.reporting import JsonReporter
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/basic_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer, LatestTorchCheckpointer
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/ditto_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.cnn_model import MnistNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.adaptive_constraint_servers.ditto_server import DittoServer
from fl4health.servers.adaptive_constraint_servers.ditto_server import DittoServer
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/dp_fed_examples/client_level_dp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from examples.models.cnn_model import Net
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.server.client_level_dp_fed_avg_server import ClientLevelDPFedAvgServer
from fl4health.servers.client_level_dp_fed_avg_server import ClientLevelDPFedAvgServer
from fl4health.strategies.client_dp_fedavgm import ClientLevelDPFedAvgM
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from examples.models.logistic_regression import LogisticRegression
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.server.client_level_dp_fed_avg_server import ClientLevelDPFedAvgServer
from fl4health.servers.client_level_dp_fed_avg_server import ClientLevelDPFedAvgServer
from fl4health.strategies.client_dp_fedavgm import ClientLevelDPFedAvgM
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/dp_fed_examples/instance_level_dp/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.reporting.base_reporter import BaseReporter
from fl4health.server.instance_level_dp_server import InstanceLevelDpServer
from fl4health.servers.instance_level_dp_server import InstanceLevelDpServer
from fl4health.strategies.basic_fedavg import OpacusBasicFedAvg
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/dp_scaffold_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

from examples.models.cnn_model import MnistNet
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.server.scaffold_server import DPScaffoldServer
from fl4health.servers.scaffold_server import DPScaffoldServer
from fl4health.strategies.scaffold import OpacusScaffold
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamic_layer_exchange_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.cnn_model import Net
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.fedavg_dynamic_layer import FedAvgDynamicLayer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/feature_alignment_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from examples.models.mlp_classifier import MLP
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.feature_alignment.tab_features_info_encoder import TabularFeaturesInfoEncoder
from fl4health.server.tabular_feature_alignment_server import TabularFeatureAlignmentServer
from fl4health.servers.tabular_feature_alignment_server import TabularFeatureAlignmentServer
from fl4health.strategies.basic_fedavg import BasicFedAvg
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/fedbn_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from examples.models.cnn_model import MnistNetWithBnAndFrozen, SkinCancerNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.basic_fedavg import BasicFedAvg
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/feddg_ga_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from fl4health.client_managers.fixed_sampling_client_manager import FixedSamplingClientManager
from fl4health.model_bases.apfl_base import ApflModule
from fl4health.reporting import JsonReporter
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.feddg_ga import FedDgGa
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/federated_eval_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import flwr as fl

from fl4health.client_managers.fixed_without_replacement_manager import FixedSamplingByFractionClientManager
from fl4health.server.evaluate_server import EvaluateServer
from fl4health.servers.evaluate_server import EvaluateServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import uniform_evaluate_metrics_aggregation_fn

Expand Down
2 changes: 1 addition & 1 deletion examples/fedopt_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from examples.fedopt_example.client_data import LabelEncoder, Vocabulary, get_local_data, word_tokenize
from examples.fedopt_example.metrics import Outcome, ServerMetrics
from examples.models.lstm_model import LSTM
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.parameter_extraction import get_all_model_parameters

Expand Down
2 changes: 1 addition & 1 deletion examples/fedpca_examples/dim_reduction/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from examples.models.mnist_model import MnistNet
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/fedper_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
)
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.sequential_split_models import SequentiallySplitExchangeBaseModel
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/fedpm_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.masked_model import Masked4Cnn
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.fedpm_server import FedPmServer
from fl4health.servers.fedpm_server import FedPmServer
from fl4health.strategies.fedpm import FedPm
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/fedprox_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.models.cnn_model import MnistNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.reporting import JsonReporter, WandBReporter
from fl4health.server.adaptive_constraint_servers.fedprox_server import FedProxServer
from fl4health.servers.adaptive_constraint_servers.fedprox_server import FedProxServer
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/fedrep_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
SequentialLocalPredictionHeadCifar,
)
from fl4health.model_bases.fedrep_base import FedRepModel
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.model_bases.fedsimclr_base import FedSimClrModel
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from fl4health.checkpointing.checkpointer import BestLossTorchCheckpointer
from fl4health.model_bases.fedsimclr_base import FedSimClrModel
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.base_server import FlServerWithCheckpointing
from fl4health.servers.base_server import FlServerWithCheckpointing
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/fenda_ditto_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
)
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.sequential_split_models import SequentiallySplitExchangeBaseModel
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/fenda_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.fenda_base import FendaModel
from fl4health.model_bases.parallel_split_models import ParallelFeatureJoinMode
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/fl_plus_local_ft_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

from examples.models.cnn_model import Net
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/flash_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.cnn_model import Net
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.flash import Flash
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/model_merge_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from examples.models.cnn_model import MnistNet
from fl4health.checkpointing.checkpointer import LatestTorchCheckpointer
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.model_merge_server import ModelMergeServer
from fl4health.servers.model_merge_server import ModelMergeServer
from fl4health.strategies.model_merge_strategy import ModelMergeStrategy
from fl4health.utils.config import load_config
from fl4health.utils.load_data import load_mnist_data
Expand Down
2 changes: 1 addition & 1 deletion examples/moon_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from examples.models.moon_cnn import BaseCnn, HeadCnn, ProjectionCnn
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.moon_base import MoonModel
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/mr_mtl_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.cnn_model import MnistNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.adaptive_constraint_servers.mrmtl_server import MrMtlServer
from fl4health.servers.adaptive_constraint_servers.mrmtl_server import MrMtlServer
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/nnunet_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.parameter_exchange.full_exchanger import FullParameterExchanger
from fl4health.server.nnunet_server import NnunetServer
from fl4health.servers.nnunet_server import NnunetServer
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn


Expand Down
2 changes: 1 addition & 1 deletion examples/perfcl_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.model_bases.parallel_split_models import ParallelFeatureJoinMode
from fl4health.model_bases.perfcl_base import PerFclModel
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
from fl4health.utils.parameter_extraction import get_all_model_parameters
Expand Down
2 changes: 1 addition & 1 deletion examples/scaffold_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from examples.models.cnn_model import MnistNetWithBnAndFrozen
from fl4health.client_managers.poisson_sampling_manager import PoissonSamplingClientManager
from fl4health.reporting import JsonReporter
from fl4health.server.scaffold_server import ScaffoldServer
from fl4health.servers.scaffold_server import ScaffoldServer
from fl4health.strategies.scaffold import Scaffold
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/sparse_tensor_partial_exchange_example/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from examples.models.cnn_model import Net
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.fedavg_sparse_coo_tensor import FedAvgSparseCooTensor
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/warm_up_example/fedavg_warm_up/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.models.cnn_model import MnistNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.reporting import WandBReporter
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.basic_fedavg import BasicFedAvg
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
2 changes: 1 addition & 1 deletion examples/warm_up_example/warmed_up_fedprox/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from examples.models.cnn_model import MnistNet
from examples.utils.functions import make_dict_with_epochs_or_steps
from fl4health.reporting import WandBReporter
from fl4health.server.base_server import FlServer
from fl4health.servers.base_server import FlServer
from fl4health.strategies.fedavg_with_adaptive_constraint import FedAvgWithAdaptiveConstraint
from fl4health.utils.config import load_config
from fl4health.utils.metric_aggregation import evaluate_metrics_aggregation_fn, fit_metrics_aggregation_fn
Expand Down
Loading

0 comments on commit 7eb5aac

Please sign in to comment.