Skip to content

Commit

Permalink
updated accordingly
Browse files Browse the repository at this point in the history
  • Loading branch information
joneswong committed Apr 15, 2022
1 parent 2aca6d7 commit 9dddca1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions demo/bbo.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@


def eval_fl_algo(x):
logging.info("======> try {}".format(x))

from federatedscope.core.cmd_args import parse_args
from federatedscope.core.auxiliaries.data_builder import get_data
from federatedscope.core.auxiliaries.utils import setup_seed, setup_logger
Expand All @@ -32,6 +30,7 @@ def eval_fl_algo(x):

setup_logger(init_cfg)
setup_seed(init_cfg.seed)
logging.info("======> try {}".format(x))

# federated dataset might change the number of clients
# thus, we allow the creation procedure of dataset to modify the global cfg object
Expand Down

0 comments on commit 9dddca1

Please # to comment.