Skip to content

How to realize communication and "federated"? #34

@chyo0103

Description

@chyo0103
  1. I wonder why can I run "federated_main.py" on only one GPU (stand alone deployment). Because I got the acc.png and loss.png, so I believed that I do run this .py successfully, is that right? Does the codes and experiments involve communication period? Can this be called federated learning?
  2. If so, which sentences of the codes realize the communication?
  3. How to get the information( specific figuresf) of its communication time and the volume of communication data?

Looking forward to somebody's reply. Millions of thanks!

1.为什么我能在单机上跑通 "federated_main.py"文件?因为我在单台服务器上运行依旧得到了loss.png和acc.png,所以我认为我应该是跑通了。但这其中有没有通信?能算真正的联邦吗?
2.如果可以的话,到底是哪行代码实现的通信呢?
3.怎么能够获得通信时间和通信数据量这些信息?
期待热心网友的解答 谢谢!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions