GithubHelp home page GithubHelp logo

Comments (8)

KarhouTam avatar KarhouTam commented on July 17, 2024 1

Thanks for pointing it out. You can manually add "val": [], in

partition["separation"] = {
"train": clients_4_train,
"test": clients_4_test,
"total": client_cnt,
}

Or modify self.val_clients = partition["separation"].get("val", []) in FedAvgServer.__init__() in src/server/fedavg.py

This bug will be fixed soon.

from fl-bench.

KarhouTam avatar KarhouTam commented on July 17, 2024 1

I'm currently busy on injecting parallelism into FL-bench, which will vastly improve efficiency. Please stay tuned.

from fl-bench.

KarhouTam avatar KarhouTam commented on July 17, 2024 1

The bug is fixed and now FL-bench can train in parallel.

from fl-bench.

KarhouTam avatar KarhouTam commented on July 17, 2024 1

First, FL-bench does not support adversaries.

About the model, You need to find out the detailed architecture yourself. If it's already integrated in FL-bench, just use it by

# your config yaml file
common:
  model: model_name

About the hyperparameters, you need to decide the values and set them by

# your config yaml file
common:
  ...
ditto:
  lamda: ...
  ...

About other FL training hyperparameters, check README for the settings FL-bench supports and set their value by yourself.

Sorry, I can't teach you the exact way to reproduce the results in your screenshot. I can only support you in using FL-bench.
Good luck, @tejalgoyal2.

from fl-bench.

tejalgoyal2 avatar tejalgoyal2 commented on July 17, 2024

Thank you for your instant response.
I will try this.

Thank you again, waiting for the bug fix :)

from fl-bench.

tejalgoyal2 avatar tejalgoyal2 commented on July 17, 2024

Hello, thank you for the assistance. Also, can you advise me on what attributes I need to change and how can I change them to reproduce the DITTO paper results?

Thank you :)

from fl-bench.

KarhouTam avatar KarhouTam commented on July 17, 2024

If you are asking about the parallelism, the details are shown on the README.
If you are asking how to reproduce ditto, please refer to the paper for the hyperparameters. About the way to set FL method's hyperparameters is also shown on the README.

from fl-bench.

tejalgoyal2 avatar tejalgoyal2 commented on July 17, 2024

Yes the second one, I was having difficulty in matching the parameters DITTO used and the parameters mentioned in the ReadME.

Like for example if I want to reproduce results similar to this table:

image

What inputs I will need to change. Thank you so much for helping :)

from fl-bench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.