Skip to content

Commit

Permalink
codestyle fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
yhwen committed Jun 28, 2024
1 parent 4a5d6cf commit 729e03d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/getting_started/pt/swarm_script_executor_cifar10.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@
job.to(aggregator, f"site-{i}", id="aggregator")

# In swarm learning, each client uses a model persistor and shareable_generator
job.to(PTFileModelPersistor(model=Net()), f"site-{i}", id='persistor')
job.to(SimpleModelShareableGenerator(), f"site-{i}", id='shareable_generator')
job.to(PTFileModelPersistor(model=Net()), f"site-{i}", id="persistor")
job.to(SimpleModelShareableGenerator(), f"site-{i}", id="shareable_generator")

# job.export_job("/tmp/nvflare/jobs/job_config")
job.simulator_run("/tmp/nvflare/jobs/workdir")

0 comments on commit 729e03d

Please sign in to comment.