-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor config and create json dataclasses
- Loading branch information
1 parent
b2634b6
commit 16c8154
Showing
5 changed files
with
62 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,23 @@ | ||
# Experiment configuration | ||
total_epochs: 130 | ||
epochs_per_cycle: 1 | ||
wait_for_clients: true | ||
net: Cifar10CNN | ||
dataset: cifar10 | ||
sampler: "uniform" | ||
sampler_args: | ||
- 0.5 # p degree | ||
- 42 # random seed | ||
# Use cuda is available; setting to false will force CPU | ||
cuda: false | ||
experiment_prefix: 'experiment_single_machine' | ||
output_location: 'output' | ||
tensor_board_active: true | ||
clients_per_round: 50 | ||
system: | ||
federator: | ||
cluster: | ||
orchestrator: | ||
wait_for_clients: true | ||
# Use the SERVICE provided by the fl-server to connect | ||
hostname: 'fl-server.test.svc.cluster.local' | ||
service: 'fl-server.test.svc.cluster.local' | ||
# Default NIC is eth0 | ||
nic: 'eth0' | ||
clients: | ||
amount: 50 | ||
worker: | ||
prefix: 'client' | ||
execution_config: | ||
experiment_prefix: 'cloud_experiment' | ||
tensor_board_active: true | ||
cuda: false | ||
net: | ||
save_model: false | ||
save_temp_model: false | ||
save_epoch_interval: 1 | ||
save_model_path: "models" | ||
epoch_save_start_suffix: "start" | ||
epoch_save_end_suffix: "end" | ||
reproducability: | ||
torch_seed: 42 | ||
arrival_seed: 123 |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters