Git Product home page Git Product logo

Comments (2)

silviafeiwang avatar silviafeiwang commented on August 31, 2024

Thanks for pointing out the bug and providing the details. The self.smart_weighting is always a vector of ten 0.1 for each round at the beginning of the training because the agent adopts the FedAvg aggregation policy in FEI's design, and the parameter algorithm:start_steps in yaml config file determines how many steps the agent conducts this policy prior to the RL policy. In the given config file, the numbers of data samples are the same over the clients, so the weighting will be evenly divided from 1 according to the FedAvg algorithm.

As for the bug, after I reproduced it, I conjectured that the error has something to do with the config file fei_FashionMNIST_lenet5.yml you used with, which may not be compatible with the latest version of the framework due to certain parameter settings. And this is my fault that I failed to keep things updated on GitHub and to maintain a clear documentation of using FEI. I updated some example config files I'm currently using under directory examples/fei/ (for training FEI from scratch). The index error should not occur again with these config files. Also, I set data:variable_partition to true there, so even at the beginning of the training with FedAvg aggregation policy, you're expected to see a more uneven value of self.smart_weighting.

from plato.

cuiboyuan avatar cuiboyuan commented on August 31, 2024

Thank you for the detailed explanation. The error is now resolved. Thanks!

from plato.

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.