Git Product home page Git Product logo

Comments (4)

sunyulin950824 avatar sunyulin950824 commented on June 14, 2024

您好,打扰您了,
还想问一个问题,
在FEDALA中,先训练出来W权重的值,再进行本地模型训练。是这样吗?
每开始进行一个新的global_epoch时候,本地需要重新训练W权重的值么?

from fedala.

TsingZ0 avatar TsingZ0 commented on June 14, 2024

layer_idx=0的效果和ALA全开是一样的。想要不使用ALA,可以参考我的另一个项目PFL-Non-IID 中的FedAvg。

是的,先训练得到W,再训练本地模型。

在新的一轮中,本地无需重新训练W,而是在上一轮得到的W上继续微调W。

from fedala.

like-hopeful avatar like-hopeful commented on June 14, 2024

layer_idx=0
您好,请问为什么layer_idx=0的效果和ALA全开是一样的啊?

from fedala.

TsingZ0 avatar TsingZ0 commented on June 14, 2024

这个跟python中list的选择规则有关。我们是先把parameters都存到list对象params里,然后进行选择的。当layer_idx=0时,params[-0:]表示全选,而不是“不选”。注意:params[-1:]表示“选最后一个”。

from fedala.

Related Issues (17)

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.