Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config file wrong comment format #15

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions tutorial/EpidemicLearning/config_EL.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,23 @@ test_dir = ../../eval/data/
sizes =
random_seed = 90
partition_niid = dirichlet
alpha = 0.1 ; alpha (dirichlet parameter)
alpha = 0.1
; alpha (dirichlet parameter)

[OPTIMIZER_PARAMS]
optimizer_package = torch.optim
optimizer_class = SGD
lr = 0.05 ; gamma
lr = 0.05
; gamma

[TRAIN_PARAMS]
training_package = decentralizepy.training.Training
training_class = Training
rounds = 10 ; r
rounds = 10
; r
full_epochs = False
batch_size = 5 ; b
batch_size = 5
; b
shuffle = True
loss_package = torch.nn
loss_class = CrossEntropyLoss
Expand All @@ -33,9 +37,11 @@ comm_class = TCP
addresses_filepath = ip.json

[SHARING]
sharing_package = decentralizepy.sharing.PlainAverageSharing ; Does not use Metropolis-Hastings
sharing_package = decentralizepy.sharing.PlainAverageSharing
; Does not use Metropolis-Hastings
sharing_class = PlainAverageSharing
compress = False

[NODE]
graph_degree = 7 ; s (number of neighbors in EL-Oracle and number of random neighbors picked to send message to in EL-Local)
graph_degree = 7
; s (number of neighbors in EL-Oracle and number of random neighbors picked to send message to in EL-Local)