Skip to content

DATASET SPLITTING #1323

Closed Answered by YuanTingHsieh
FabioNotaro2001 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @FabioNotaro2001 thanks for raising the question.

Assuming you are using NVFlare 2.2.X, for hello-pt-tb example, you can check this file: https://github.com/NVIDIA/NVFlare/blob/2.2/examples/hello-pt-tb/app/custom/pt_learner.py#L44

So we know it has this argument of data_path.

Let's assume we have 2 clients site.
For site-1 we could have the config_fed_client.json that has the following section:

  "components": [
    {
      "id": "pt_learner",
      "path": "pt_learner.PTLearner",
      "args": {
        "lr": 0.01,
        "epochs": 5,
        "analytic_sender_id": "analytic_sender",
        "data_path": "[where i put data for client1]"
      }
    },

And for site-2 we could have:

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FabioNotaro2001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants