Skip to content

Commit

Permalink
removed hardcoding from scheduler
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaansingh22 committed Jul 1, 2024
1 parent ee4dc39 commit f6a9f62
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,11 @@ def assign_config_by_path(self, sys_config_path, algo_config_path):
def merge_configs(self):
self.config = self.algo_config.copy()
self.config.update({
"dset": "cifar10",
"dump_dir": "./expt_dump/",
"dpath": self.sys_config["dataset_path"] + "cifar10",
"dset": self.sys_config["dset"],
"dump_dir": self.sys_config["dump_dir"],
"dpath": self.sys_config["dpath"],
"num_users": self.sys_config["num_users"],
"seed": self.config["seed"],
"samples_per_user": self.sys_config["dataset_splits"]["samples_per_user"],
"device_ids": self.sys_config["device_ids"]
})
Expand Down

0 comments on commit f6a9f62

Please sign in to comment.