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

Update fedbn example #2883

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion research/fed-bn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ Run the FedBN simulation with the following command:
```

## Visualizing Results
With tensorboard, below is an example of the loss for the two sites:
The training record will be stored under the job workspace `/tmp/nvflare/fed_bn/workspace/server/simulate_job/tb_events/`.
With tensorboard, we can visualize the loss for the two sites, example run as below:
![FedBN Loss Results](./figs/loss.png)


Expand Down
2 changes: 1 addition & 1 deletion research/fed-bn/create_job.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nvflare job create -force -j ./jobs/fed_bn -w sag_pt -sd ./src/ -f config_fed_client.conf app_script=fedbn_cifar10.py
nvflare job create -force -j /tmp/nvflare/fed_bn/job -w sag_pt -sd ./src/ -f config_fed_client.conf app_script=fedbn_cifar10.py
2 changes: 1 addition & 1 deletion research/fed-bn/run_job.sh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nvflare simulator -n 2 -t 2 ./jobs/fed_bn -w fedbn_workspace
nvflare simulator -n 2 -t 2 /tmp/nvflare/fed_bn/job -w /tmp/nvflare/fed_bn/workspace
Loading