Skip to content

Commit

Permalink
update the tb path in fedbn example (#2883)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiyueXu77 authored Aug 30, 2024
1 parent ca02402 commit f54ce0f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
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

0 comments on commit f54ce0f

Please sign in to comment.